mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 13:46:56 +08:00
nd6: use default_router_list internally only
This patch rearranges the code division between nd6.c and ip6.c such that the latter does not need to access ND6-internal data structures (specifically, "default_router_list") directly anymore.
This commit is contained in:
committed by
sg
parent
cee59ba8cd
commit
06ff89cbe4
@@ -143,7 +143,7 @@ void nd6_tmr(void);
|
||||
void nd6_input(struct pbuf *p, struct netif *inp);
|
||||
void nd6_clear_destination_cache(void);
|
||||
s8_t nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif);
|
||||
s8_t nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif);
|
||||
struct netif *nd6_find_route(const ip6_addr_t *ip6addr);
|
||||
u16_t nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif);
|
||||
err_t nd6_queue_packet(s8_t neighbor_index, struct pbuf *p);
|
||||
#if LWIP_ND6_TCP_REACHABILITY_HINTS
|
||||
|
||||
Reference in New Issue
Block a user