FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
l2_rw.h File Reference
+ Include dependency graph for l2_rw.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  l2_rw_main_t
 

Functions

typedef CLIB_PACKED (struct _l2_rw_entry { u16 skip_n_vectors;u16 rewrite_n_vectors;u64 hit_count;u32x4 *mask;u32x4 *value;}) l2_rw_entry_t
 
typedef CLIB_PACKED (struct _l2_rw_config { u32 table_index;u32 miss_index;}) l2_rw_config_t
 
int l2_rw_interface_set_table (u32 sw_if_index, u32 table_index, u32 miss_index)
 
int l2_rw_mod_entry (u32 *index, u8 *mask, u8 *value, u32 len, u32 skip, u8 is_del)
 

Variables

l2_rw_main_t l2_rw_main
 
vlib_node_registration_t l2_rw_node
 (constructor) VLIB_REGISTER_NODE (l2_rw_node) More...
 

Function Documentation

◆ CLIB_PACKED() [1/2]

typedef CLIB_PACKED ( struct _l2_rw_config { u32 table_index;u32 miss_index;}  )

◆ CLIB_PACKED() [2/2]

typedef CLIB_PACKED ( struct _l2_rw_entry { u16 skip_n_vectors;u16 rewrite_n_vectors;u64 hit_count;u32x4 *mask;u32x4 *value;}  )

◆ l2_rw_interface_set_table()

int l2_rw_interface_set_table ( u32  sw_if_index,
u32  table_index,
u32  miss_index 
)

Definition at line 415 of file l2_rw.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ l2_rw_mod_entry()

int l2_rw_mod_entry ( u32 index,
u8 mask,
u8 value,
u32  len,
u32  skip,
u8  is_del 
)

Definition at line 310 of file l2_rw.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ l2_rw_main

l2_rw_main_t l2_rw_main

Definition at line 31 of file l2_rw.c.

◆ l2_rw_node

(constructor) VLIB_REGISTER_NODE (l2_rw_node)

Definition at line 647 of file l2_rw.c.