00001 #include <stdint.h> 00002 #include <byteswap.h> 00003 #include <string.h> 00004 #include <gpxe/icmp6.h> 00005 #include <gpxe/ip6.h> 00006 #include <gpxe/in.h> 00007 #include <gpxe/netdevice.h> 00008 #include <gpxe/iobuf.h> 00009 #include <gpxe/tcpip.h> 00010 00011 #define NDP_STATE_INVALID 0 00012 #define NDP_STATE_INCOMPLETE 1 00013 #define NDP_STATE_REACHABLE 2 00014 #define NDP_STATE_DELAY 3 00015 #define NDP_STATE_PROBE 4 00016 #define NDP_STATE_STALE 5 00017 00018 int ndp_resolve ( struct net_device *netdev, struct in6_addr *src, 00019 struct in6_addr *dest, void *dest_ll_addr ); 00020 int ndp_process_advert ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src, 00021 struct sockaddr_tcpip *st_dest );
1.5.7.1