FD.io VPP  v16.12-rc0-217-g241e522
Vector Packet Processing
ip_feature_registration.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ip_config_main_t_
 

Macros

#define ORDER_CONSTRAINTS   (char*[])
 Syntactic sugar, the c-compiler won't initialize registrations without it. More...
 

Typedefs

typedef struct _vnet_ip_feature_registration vnet_ip_feature_registration_t
 feature registration object More...
 
typedef struct ip_config_main_t_ ip_config_main_t
 

Functions

clib_error_tvnet_feature_arc_init (vlib_main_t *vm, vnet_config_main_t *vcm, char **feature_start_nodes, int num_feature_start_nodes, vnet_ip_feature_registration_t *first_reg, char ***feature_nodes)
 Initialize a feature graph arc. More...
 
void ip_interface_features_show (vlib_main_t *vm, const char *pname, ip_config_main_t *cm, u32 sw_if_index)
 Display the set of IP features configured on a specific interface. More...
 

Macro Definition Documentation

#define ORDER_CONSTRAINTS   (char*[])

Syntactic sugar, the c-compiler won't initialize registrations without it.

Definition at line 41 of file ip_feature_registration.h.

Typedef Documentation

typedef struct _vnet_ip_feature_registration vnet_ip_feature_registration_t

feature registration object

Function Documentation

void ip_interface_features_show ( vlib_main_t vm,
const char *  pname,
ip_config_main_t cm,
u32  sw_if_index 
)

Display the set of IP features configured on a specific interface.

Definition at line 415 of file ip_feature_registration.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vnet_feature_arc_init ( vlib_main_t vm,
vnet_config_main_t vcm,
char **  feature_start_nodes,
int  num_feature_start_nodes,
vnet_ip_feature_registration_t first_reg,
char ***  in_feature_nodes 
)

Initialize a feature graph arc.

Parameters
vmvlib main structure pointer
vcmvnet config main structure pointer
feature_start_nodesnames of start-nodes which use this feature graph arc
num_feature_start_nodesnumber of start-nodes
first_regfirst element in [an attribute((constructor)) function built, or otherwise created] singly-linked list of feature registrations
[out]in_feature_nodesreturned vector of topologically-sorted feature node names, for use in show commands
Returns
0 on success, otherwise an error message. Errors are fatal since they invariably involve mistyped node-names, or genuinely missing node-names

Definition at line 151 of file ip_feature_registration.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: