|
iPXE
|
Neighbour discovery protocol. More...
#include <stdint.h>#include <ipxe/in.h>#include <ipxe/ipv6.h>#include <ipxe/icmpv6.h>#include <ipxe/neighbour.h>Go to the source code of this file.
Data Structures | |
| struct | ndp_option_header |
| An NDP option header. More... | |
| struct | ndp_ll_addr_option |
| NDP source or target link-layer address option. More... | |
| struct | ndp_prefix_information_option |
| NDP prefix information. More... | |
| struct | ndp_rdnss_option |
| NDP recursive DNS server. More... | |
| struct | ndp_dnssl_option |
| NDP DNS search list. More... | |
| union | ndp_option |
| An NDP option. More... | |
| struct | ndp_neighbour_header |
| An NDP neighbour solicitation or advertisement header. More... | |
| struct | ndp_router_advertisement_header |
| An NDP router advertisement header. More... | |
| struct | ndp_router_solicitation_header |
| An NDP router solicitation header. More... | |
| union | ndp_header |
| An NDP header. More... | |
Macros | |
| #define | NDP_OPTION_BLKSZ 8U |
| NDP option block size. More... | |
| #define | NDP_OPT_LL_SOURCE 1 |
| NDP source link-layer address option. More... | |
| #define | NDP_OPT_LL_TARGET 2 |
| NDP target link-layer address option. More... | |
| #define | NDP_OPT_PREFIX 3 |
| NDP prefix information option. More... | |
| #define | NDP_PREFIX_ON_LINK 0x80 |
| NDP on-link flag. More... | |
| #define | NDP_PREFIX_AUTONOMOUS 0x40 |
| NDP autonomous address configuration flag. More... | |
| #define | NDP_OPT_RDNSS 25 |
| NDP recursive DNS server option. More... | |
| #define | NDP_OPT_DNSSL 31 |
| NDP DNS search list option. More... | |
| #define | NDP_NEIGHBOUR_ROUTER 0x80 |
| NDP router flag. More... | |
| #define | NDP_NEIGHBOUR_SOLICITED 0x40 |
| NDP solicited flag. More... | |
| #define | NDP_NEIGHBOUR_OVERRIDE 0x20 |
| NDP override flag. More... | |
| #define | NDP_ROUTER_MANAGED 0x80 |
| NDP managed address configuration. More... | |
| #define | NDP_ROUTER_OTHER 0x40 |
| NDP other configuration. More... | |
| #define | NDP_SETTINGS_NAME "ndp" |
| NDP settings block name. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| 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. More... | |
Variables | |
| struct ndp_option_header | __attribute__ |
| struct neighbour_discovery | ndp_discovery |
| NDP neighbour discovery protocol. More... | |
Neighbour discovery protocol.
Definition in file ndp.h.
| #define NDP_OPT_LL_SOURCE 1 |
| #define NDP_OPT_LL_TARGET 2 |
| #define NDP_PREFIX_AUTONOMOUS 0x40 |
| #define NDP_ROUTER_MANAGED 0x80 |
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Transmit packet, determining link-layer address via NDP.
| iobuf | I/O buffer |
| netdev | Network device |
| net_dest | Destination network-layer address |
| net_source | Source network-layer address |
| ll_source | Source link-layer address |
| rc | Return status code |
Definition at line 195 of file ndp.h.
References ndp_discovery, neighbour_tx(), and netdev.
Referenced by ipv6_tx().
| struct ndp_option_header __attribute__ |
| struct neighbour_discovery ndp_discovery |
1.8.15