diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-03-26 16:25:35 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-03-26 16:25:35 -0700 |
commit | 9eddd22a7b53b1d02fbae0d987df8af122924248 (patch) | |
tree | 882f5152880b0b1aa2d7a0619d30065acc69fb16 /gpxe/src/include/gpxe/ndp.h | |
parent | bbb8f15936b851e6a0ef6f7bb2c95197bff35994 (diff) | |
download | syslinux-9eddd22a7b53b1d02fbae0d987df8af122924248.tar.gz |
Add gPXE into the source tree; build unified imagesyslinux-3.70-pre7
Diffstat (limited to 'gpxe/src/include/gpxe/ndp.h')
-rw-r--r-- | gpxe/src/include/gpxe/ndp.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gpxe/src/include/gpxe/ndp.h b/gpxe/src/include/gpxe/ndp.h new file mode 100644 index 00000000..db32b0c8 --- /dev/null +++ b/gpxe/src/include/gpxe/ndp.h @@ -0,0 +1,21 @@ +#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> +#include <gpxe/iobuf.h> +#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 ); +int ndp_process_advert ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src, + struct sockaddr_tcpip *st_dest ); |