72 .node_name =
"error-drop",
111 #define ethernet_type(n,s) add_type (em, ETHERNET_TYPE_##s, #s); vnet_config_main_t config_main
vnet_feature_config_main_t feature_config_mains[VNET_N_IP_FEAT]
per-interface features
static clib_error_t * ethernet_input_init(vlib_main_t *vm)
#define hash_set(h, key, value)
sll srl srl sll sra u16x4 i
static char * feature_start_nodes[]
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
#define vec_add2(V, P, N)
Add N elements to end of vector V, return pointer to new elements in P.
#define hash_set_mem(h, key, value)
uword * type_info_by_name
#define VLIB_INIT_FUNCTION(x)
#define vlib_call_init_function(vm, x)
vnet_feature_registration_t * next_feature[VNET_N_IP_FEAT]
Feature path configuration lists.
#define hash_create_string(elts, value_bytes)
ethernet_main_t ethernet_main
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_feature_registration_t *first_reg, char ***feature_nodes)
Initialize a feature graph arc.
static clib_error_t * ethernet_init(vlib_main_t *vm)
#define hash_create(elts, value_bytes)
VNET_ETHERNET_TX_FEATURE_INIT(ethernet_tx_drop, static)
char ** feature_nodes[VNET_N_IP_FEAT]
Save results for show command.
static clib_error_t * llc_init(vlib_main_t *vm)
u32 ethernet_tx_feature_drop
feature node indicies
uword * type_info_by_type
ethernet_main_t * ethernet_get_main(vlib_main_t *vm)
static void add_type(ethernet_main_t *em, ethernet_type_t type, char *type_name)
static clib_error_t * ethernet_feature_init(vlib_main_t *vm)
ethernet_type_info_t * type_infos