FD.io VPP  v16.09
Vector Packet Processing
ip_adj_register_struct Struct Reference

This structure is used to dynamically register a custom adjacency for ip lookup. More...

+ Collaboration diagram for ip_adj_register_struct:

Data Fields

char * node_name
 Name of the node for this registered adjacency. More...
 
format_function_tfn
 Formatting function for the adjacency. More...
 
u32next_index
 When the adjacency is registered, the ip-lookup next index will be written where this pointer points. More...
 
struct ip_adj_register_structnext
 

Detailed Description

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.

Definition at line 379 of file lookup.h.

Field Documentation

format_function_t* ip_adj_register_struct::fn

Formatting function for the adjacency.

Variadic arguments given to the function are:

Definition at line 388 of file lookup.h.

struct ip_adj_register_struct* ip_adj_register_struct::next

Definition at line 396 of file lookup.h.

u32* ip_adj_register_struct::next_index

When the adjacency is registered, the ip-lookup next index will be written where this pointer points.

Definition at line 394 of file lookup.h.

char* ip_adj_register_struct::node_name

Name of the node for this registered adjacency.

Definition at line 381 of file lookup.h.


The documentation for this struct was generated from the following file: