2006-08-19 15:58:22 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
#include <byteswap.h>
|
|
|
|
|
#include <string.h>
|
|
|
|
|
#include <gpxe/icmp6.h>
|
|
|
|
|
#include <gpxe/ip6.h>
|
|
|
|
|
#include <gpxe/in.h>
|
|
|
|
|
#include <gpxe/netdevice.h>
|
2007-05-19 18:39:40 +00:00
|
|
|
#include <gpxe/iobuf.h>
|
2006-08-19 15:58:22 +00:00
|
|
|
#include <gpxe/tcpip.h>
|
|
|
|
|
|
|
|
|
|
#define NDP_STATE_INVALID 0
|
|
|
|
|
#define NDP_STATE_INCOMPLETE 1
|
|
|
|
|
#define NDP_STATE_REACHABLE 2
|
|
|
|
|
#define NDP_STATE_DELAY 3
|
|
|
|
|
#define NDP_STATE_PROBE 4
|
|
|
|
|
#define NDP_STATE_STALE 5
|
|
|
|
|
|
|
|
|
|
int ndp_resolve ( struct net_device *netdev, struct in6_addr *src,
|
|
|
|
|
struct in6_addr *dest, void *dest_ll_addr );
|
2007-05-19 18:39:40 +00:00
|
|
|
int ndp_process_advert ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src,
|
2006-08-19 15:58:22 +00:00
|
|
|
struct sockaddr_tcpip *st_dest );
|