44void ndpParsePrefixInfoOption(NetInterface *interface, NdpPrefixInfoOption *option);
46void ndpUpdateAddrList(NetInterface *interface);
47void ndpUpdatePrefixList(NetInterface *interface);
48void ndpUpdateDefaultRouterList(NetInterface *interface);
50error_t ndpSelectDefaultRouter(NetInterface *interface,
51 const Ipv6Addr *unreachableAddr, Ipv6Addr *addr);
53bool_t ndpIsFirstHopRouter(NetInterface *interface,
54 const Ipv6Addr *destAddr,
const Ipv6Addr *nextHop);
56error_t ndpSelectNextHop(NetInterface *interface,
const Ipv6Addr *destAddr,
57 const Ipv6Addr *unreachableNextHop, Ipv6Addr *nextHop, bool_t dontRoute);
59void ndpUpdateNextHop(NetInterface *interface,
const Ipv6Addr *nextHop);
61void ndpAddOption(
void *message,
size_t *messageLen, uint8_t type,
62 const void *value,
size_t length);
64void *ndpGetOption(uint8_t *options,
size_t length, uint8_t type);
66error_t ndpCheckOptions(
const uint8_t *options,
size_t length);
error_t
Error codes.
Definition error.h:43
NDP (Neighbor Discovery Protocol)