FD.io VPP  v16.09
Vector Packet Processing
ip_feature_registration.c File Reference
+ Include dependency graph for ip_feature_registration.c:

Go to the source code of this file.

Macros

#define foreach_af_cast
 

Functions

static int comma_split (u8 *s, u8 **a, u8 **b)
 
clib_error_tip_feature_init_cast (vlib_main_t *vm, ip_config_main_t *cm, vnet_config_main_t *vcm, char **feature_start_nodes, int num_feature_start_nodes, vnet_cast_t cast, int is_ip4)
 
static clib_error_tshow_ip_features_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_ip_interface_features_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t show_ip_features_command
 (constructor) VLIB_CLI_COMMAND (show_ip_features_command) More...
 
static vlib_cli_command_t show_ip_interface_features_command
 (constructor) VLIB_CLI_COMMAND (show_ip_interface_features_command) More...
 

Macro Definition Documentation

#define foreach_af_cast
Value:
_(4, VNET_UNICAST, "ip4 unicast") \
_(4, VNET_MULTICAST, "ip4 multicast") \
_(6, VNET_UNICAST, "ip6 unicast") \
_(6, VNET_MULTICAST, "ip6 multicast")

Definition at line 222 of file ip_feature_registration.c.

Function Documentation

static int comma_split ( u8 s,
u8 **  a,
u8 **  b 
)
static

Definition at line 19 of file ip_feature_registration.c.

+ Here is the caller graph for this function:

clib_error_t* ip_feature_init_cast ( vlib_main_t vm,
ip_config_main_t cm,
vnet_config_main_t vcm,
char **  feature_start_nodes,
int  num_feature_start_nodes,
vnet_cast_t  cast,
int  is_ip4 
)

Definition at line 36 of file ip_feature_registration.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* show_ip_features_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 229 of file ip_feature_registration.c.

+ Here is the call graph for this function:

static clib_error_t* show_ip_interface_features_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 260 of file ip_feature_registration.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t show_ip_features_command
static
Initial value:
= {
.path = "show ip features",
.short_help = "show ip features",
}
static clib_error_t * show_ip_features_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (show_ip_features_command)

Definition at line 253 of file ip_feature_registration.c.

vlib_cli_command_t show_ip_interface_features_command
static
Initial value:
= {
.path = "show ip interface features",
.short_help = "show ip interface features <intfc>",
}
static clib_error_t * show_ip_interface_features_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (show_ip_interface_features_command)

Definition at line 331 of file ip_feature_registration.c.