LwIP

Started by tha, August 29, 2021, 09:15:30 AM

Previous topic - Next topic

tha



จัดการทุก incoming ARP Packet, ที่เรียกโดย etharp_input().

Parameters

     netif         network interface ที่ใช้สำหรับ autoip processing
     hdr           Incoming ARP packet

tha



จัดการกับการเปลี่ยนแปลงที่เป็นไปได้ใน the network configuration.

ถ้ามี an AutoIP address ถูกกำหนด, ให้เอา the interface ออกและเริ่มการตรวจสอบด้วย the same address.

tha



ตรวจสอบว่า AutoIP จัดให้ netif->ip_addr . หรือไม่

Parameters

     netif     the netif ที่ตรวจสอบ

Returns

     1 ถ้า AutoIP จัดให้ netif->ip_addr (สถานะ BOUND หรือ ANNOUNCING), 0 ถ้าเป็นอย่างอื่น


tha



ต้องถูกเรียกใน loop ทุกๆ AUTOIP_TMR_INTERVAL milliseconds

tha


tha



เปิดการใช้งาน debug message printing, แต่เฉพาะถ้า debug message type ถูกเปิดการใช้งาน AND(และ) เป็นชนิดที่ถูกต้อง AND(และ) อย่างน้อย LWIP_DBG_LEVEL.

tha