FD.io VPP
v20.05.1-5-g09f167997
Vector Packet Processing
|
IP prefix management on interfaces. More...
Go to the source code of this file.
Macros | |
#define | foreach_ip_interface_address(lm, a, sw_if_index, loop, body) |
Functions | |
clib_error_t * | ip_interface_address_add (ip_lookup_main_t *lm, u32 sw_if_index, void *address, u32 address_length, u32 *result_index) |
clib_error_t * | ip_interface_address_del (ip_lookup_main_t *lm, vnet_main_t *vnm, u32 addr_index, void *address, u32 address_length, u32 sw_if_index) |
void * | ip_interface_get_first_ip (u32 sw_if_index, u8 is_ip4) |
void | ip_interface_address_mark (void) |
void | ip_interface_address_sweep (void) |
u32 | ip_interface_address_find (ip_lookup_main_t *lm, void *addr_fib, u32 address_length) |
u8 | ip_interface_has_address (u32 sw_if_index, ip46_address_t *ip, u8 is_ip4) |
static void * | ip_interface_address_get_address (ip_lookup_main_t *lm, ip_interface_address_t *a) |
static ip_interface_prefix_t * | ip_get_interface_prefix (ip_lookup_main_t *lm, ip_interface_prefix_key_t *k) |
IP prefix management on interfaces.
Definition in file ip_interface.h.
#define foreach_ip_interface_address | ( | lm, | |
a, | |||
sw_if_index, | |||
loop, | |||
body | |||
) |
Definition at line 57 of file ip_interface.h.
|
inlinestatic |
Definition at line 50 of file ip_interface.h.
clib_error_t* ip_interface_address_add | ( | ip_lookup_main_t * | lm, |
u32 | sw_if_index, | ||
void * | address, | ||
u32 | address_length, | ||
u32 * | result_index | ||
) |
Definition at line 36 of file ip_interface.c.
clib_error_t* ip_interface_address_del | ( | ip_lookup_main_t * | lm, |
vnet_main_t * | vnm, | ||
u32 | addr_index, | ||
void * | address, | ||
u32 | address_length, | ||
u32 | sw_if_index | ||
) |
Definition at line 94 of file ip_interface.c.
u32 ip_interface_address_find | ( | ip_lookup_main_t * | lm, |
void * | addr_fib, | ||
u32 | address_length | ||
) |
Definition at line 24 of file ip_interface.c.
|
inlinestatic |
Definition at line 43 of file ip_interface.h.
void ip_interface_address_mark | ( | void | ) |
Definition at line 229 of file ip_interface.c.
void ip_interface_address_sweep | ( | void | ) |
Definition at line 289 of file ip_interface.c.
Definition at line 174 of file ip_interface.c.
Definition at line 140 of file ip_interface.c.