FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
l2_bridge_dpo.h File Reference
+ Include dependency graph for l2_bridge_dpo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  l2_bridge_dpo_t_
 The data-path object representing an L2 bridge. More...
 

Typedefs

typedef struct l2_bridge_dpo_t_ l2_bridge_dpo_t
 The data-path object representing an L2 bridge. More...
 

Functions

void l2_bridge_dpo_add_or_lock (u32 sw_if_index, dpo_id_t *dpo)
 
void l2_bridge_dpo_module_init (void)
 
static l2_bridge_dpo_tl2_bridge_dpo_get (index_t index)
 

Variables

l2_bridge_dpo_tl2_bridge_dpo_pool
 pool of all interface DPOs More...
 

Typedef Documentation

The data-path object representing an L2 bridge.

If a packet encounters an object of this type in the L3 data-path, it is injected back into the L2 bridge.

Function Documentation

void l2_bridge_dpo_add_or_lock ( u32  sw_if_index,
dpo_id_t dpo 
)

Definition at line 81 of file l2_bridge_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static l2_bridge_dpo_t* l2_bridge_dpo_get ( index_t  index)
inlinestatic

Definition at line 51 of file l2_bridge_dpo.h.

+ Here is the caller graph for this function:

void l2_bridge_dpo_module_init ( void  )

Definition at line 196 of file l2_bridge_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

l2_bridge_dpo_t* l2_bridge_dpo_pool

pool of all interface DPOs

Definition at line 48 of file l2_bridge_dpo.h.