FD.io VPP
v16.09
Vector Packet Processing
|
This structure is used to dynamically register a custom adjacency for ip lookup. More...
Data Fields | |
char * | node_name |
Name of the node for this registered adjacency. More... | |
format_function_t * | fn |
Formatting function for the adjacency. More... | |
u32 * | next_index |
When the adjacency is registered, the ip-lookup next index will be written where this pointer points. More... | |
struct ip_adj_register_struct * | next |
This structure is used to dynamically register a custom adjacency for ip lookup.
Typically used with VNET_IP4_REGISTER_ADJACENCY or VNET_IP6_REGISTER_ADJACENCY macros.
format_function_t* ip_adj_register_struct::fn |
Formatting function for the adjacency.
Variadic arguments given to the function are:
struct ip_adj_register_struct* ip_adj_register_struct::next |
u32* ip_adj_register_struct::next_index |
char* ip_adj_register_struct::node_name |