27 #define NDP_OPTION_BLKSZ 8U 30 #define NDP_OPT_LL_SOURCE 1 33 #define NDP_OPT_LL_TARGET 2 44 #define NDP_OPT_PREFIX 3 65 #define NDP_PREFIX_ON_LINK 0x80 68 #define NDP_PREFIX_AUTONOMOUS 0x40 71 #define NDP_OPT_RDNSS 25 86 #define NDP_OPT_DNSSL 31 129 #define NDP_NEIGHBOUR_ROUTER 0x80 132 #define NDP_NEIGHBOUR_SOLICITED 0x40 135 #define NDP_NEIGHBOUR_OVERRIDE 0x20 156 #define NDP_ROUTER_MANAGED 0x80 159 #define NDP_ROUTER_OTHER 0x40 196 const void *net_dest,
const void *net_source,
197 const void *ll_source ) {
204 #define NDP_SETTINGS_NAME "ndp"
struct ndp_prefix_information_option prefix
Prefix information option.
struct in6_addr addresses[0]
Addresses.
struct neighbour_discovery ndp_discovery
NDP neighbour discovery protocol.
struct ndp_option_header header
NDP option header.
uint8_t ll_addr[0]
Link-layer address.
NDP recursive DNS server.
uint16_t reserved
Reserved.
A neighbour discovery protocol.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct ndp_option_header header
NDP option header.
NDP source or target link-layer address option.
struct ndp_option_header header
NDP option header.
A long option, as used for getopt_long()
uint16_t reserved
Reserved.
static struct net_device * netdev
struct ndp_rdnss_option rdnss
Recursive DNS server option.
uint32_t lifetime
Lifetime.
uint32_t lifetime
Lifetime.
struct ndp_ll_addr_option ll_addr
Source or target link-layer address option.
struct ndp_dnssl_option dnssl
DNS search list option.
struct ndp_option_header header
Option header.
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, const void *ll_source)
Transmit packet, determining link-layer address via neighbour discovery.
static int ndp_tx(struct io_buffer *iobuf, struct net_device *netdev, const void *net_dest, const void *net_source, const void *ll_source)
Transmit packet, determining link-layer address via NDP.
uint8_t names[0]
Domain names.