![]() |
FD.io VPP
v16.12-rc0-217-g241e522
Vector Packet Processing
|
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_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 ***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... | |
#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 struct ip_config_main_t_ ip_config_main_t |
typedef struct _vnet_ip_feature_registration vnet_ip_feature_registration_t |
feature registration object
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.
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.
vm | vlib main structure pointer | |
vcm | vnet config main structure pointer | |
feature_start_nodes | names of start-nodes which use this feature graph arc | |
num_feature_start_nodes | number of start-nodes | |
first_reg | first element in [an attribute((constructor)) function built, or otherwise created] singly-linked list of feature registrations | |
[out] | in_feature_nodes | returned vector of topologically-sorted feature node names, for use in show commands |
Definition at line 151 of file ip_feature_registration.c.