28#define NDP_OPTION_BLKSZ 8U
31#define NDP_OPT_LL_SOURCE 1
34#define NDP_OPT_LL_TARGET 2
45#define NDP_OPT_PREFIX 3
66#define NDP_PREFIX_ON_LINK 0x80
69#define NDP_PREFIX_AUTONOMOUS 0x40
72#define NDP_OPT_RDNSS 25
87#define NDP_OPT_DNSSL 31
130#define NDP_NEIGHBOUR_ROUTER 0x80
133#define NDP_NEIGHBOUR_SOLICITED 0x40
136#define NDP_NEIGHBOUR_OVERRIDE 0x20
157#define NDP_ROUTER_MANAGED 0x80
160#define NDP_ROUTER_OTHER 0x40
196 const void *net_dest,
const void *net_source ) {
203#define NDP_SETTINGS_NAME "ndp"
static struct net_device * netdev
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
struct neighbour_discovery ndp_discovery
NDP neighbour discovery protocol.
static int ndp_tx(struct io_buffer *iobuf, struct net_device *netdev, const void *net_dest, const void *net_source)
Transmit packet, determining link-layer address via NDP.
int neighbour_tx(struct io_buffer *iobuf, struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, struct neighbour_discovery *discovery, const void *net_source)
Transmit packet, determining link-layer address via neighbour discovery.
uint16_t reserved
Reserved.
uint32_t lifetime
Lifetime.
struct ndp_option_header header
NDP option header.
uint8_t names[0]
Domain names.
NDP source or target link-layer address option.
struct ndp_option_header header
NDP option header.
uint8_t ll_addr[0]
Link-layer address.
NDP recursive DNS server.
uint32_t lifetime
Lifetime.
struct in6_addr addresses[0]
Addresses.
struct ndp_option_header header
NDP option header.
uint16_t reserved
Reserved.
A neighbour discovery protocol.
struct ndp_dnssl_option dnssl
DNS search list option.
struct ndp_prefix_information_option prefix
Prefix information option.
struct ndp_rdnss_option rdnss
Recursive DNS server option.
struct ndp_option_header header
Option header.
struct ndp_ll_addr_option ll_addr
Source or target link-layer address option.