Go to the documentation of this file.
44 #ifndef __LWIP_AUTOIP_H__
45 #define __LWIP_AUTOIP_H__
60 #define AUTOIP_TMR_INTERVAL 100
61 #define AUTOIP_TICKS_PER_SECOND (1000 / AUTOIP_TMR_INTERVAL)
68 #define ANNOUNCE_NUM 2
69 #define ANNOUNCE_INTERVAL 2
70 #define ANNOUNCE_WAIT 2
71 #define MAX_CONFLICTS 10
72 #define RATE_LIMIT_INTERVAL 60
73 #define DEFEND_INTERVAL 10
76 #define AUTOIP_STATE_OFF 0
77 #define AUTOIP_STATE_PROBING 1
78 #define AUTOIP_STATE_ANNOUNCING 2
79 #define AUTOIP_STATE_BOUND 3
93 void autoip_init(
void);
96 void autoip_set_struct(
struct netif *
netif,
struct autoip *autoip);
105 void autoip_arp_reply(
struct netif *
netif,
struct etharp_hdr *hdr);
108 void autoip_tmr(
void);
111 void autoip_network_changed(
struct netif *
netif);