44 #ifndef LWIP_HDR_ND6_PRIV_H
45 #define LWIP_HDR_ND6_PRIV_H
65 struct nd6_q_entry *next;
71 struct nd6_neighbor_cache_entry {
72 ip6_addr_t next_hop_address;
78 struct nd6_q_entry *q;
93 struct nd6_destination_cache_entry {
94 ip6_addr_t destination_addr;
95 ip6_addr_t next_hop_addr;
100 struct nd6_prefix_list_entry {
103 u32_t invalidation_timer;
104 #if LWIP_IPV6_AUTOCONFIG
106 #define ND6_PREFIX_AUTOCONFIG_AUTONOMOUS 0x01
107 #define ND6_PREFIX_AUTOCONFIG_ADDRESS_GENERATED 0x02
108 #define ND6_PREFIX_AUTOCONFIG_ADDRESS_DUPLICATE 0x04
112 struct nd6_router_list_entry {
113 struct nd6_neighbor_cache_entry *neighbor_entry;
114 u32_t invalidation_timer;
118 enum nd6_neighbor_cache_entry_state {
129 extern struct nd6_neighbor_cache_entry neighbor_cache[];
130 extern struct nd6_destination_cache_entry destination_cache[];
131 extern struct nd6_prefix_list_entry prefix_list[];
132 extern struct nd6_router_list_entry default_router_list[];
135 extern u32_t reachable_time;
136 extern u32_t retrans_timer;