81 #define ethernet_type(n,s) add_type (em, ETHERNET_TYPE_##s, #s); static clib_error_t * ethernet_input_init(vlib_main_t *vm)
#define hash_set(h, key, value)
sll srl srl sll sra u16x4 i
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)
#define hash_create_string(elts, value_bytes)
ethernet_main_t ethernet_main
static clib_error_t * ethernet_init(vlib_main_t *vm)
#define hash_create(elts, value_bytes)
static clib_error_t * llc_init(vlib_main_t *vm)
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)
ethernet_type_info_t * type_infos