FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
gbp_recirc.h File Reference
+ Include dependency graph for gbp_recirc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gpb_recirc_t_
 A GBP recirculation interface representation Thes interfaces join Bridge domains that are internal to those that are NAT external, so the packets can be NAT translated and then undergo the whole policy process again. More...
 

Typedefs

typedef struct gpb_recirc_t_ gbp_recirc_t
 A GBP recirculation interface representation Thes interfaces join Bridge domains that are internal to those that are NAT external, so the packets can be NAT translated and then undergo the whole policy process again. More...
 
typedef walk_rc_t(* gbp_recirc_cb_t) (gbp_recirc_t *gbpe, void *ctx)
 

Functions

int gbp_recirc_add (u32 sw_if_index, sclass_t sclass, u8 is_ext)
 
int gbp_recirc_delete (u32 sw_if_index)
 
void gbp_recirc_walk (gbp_recirc_cb_t bgpe, void *ctx)
 
static gbp_recirc_tgbp_recirc_get (u32 sw_if_index)
 

Variables

gbp_recirc_tgbp_recirc_pool
 Data plane functions. More...
 
index_tgbp_recirc_db
 Recirc configs keyed by sw_if_index. More...
 

Typedef Documentation

◆ gbp_recirc_cb_t

typedef walk_rc_t(* gbp_recirc_cb_t) (gbp_recirc_t *gbpe, void *ctx)

Definition at line 66 of file gbp_recirc.h.

◆ gbp_recirc_t

typedef struct gpb_recirc_t_ gbp_recirc_t

A GBP recirculation interface representation Thes interfaces join Bridge domains that are internal to those that are NAT external, so the packets can be NAT translated and then undergo the whole policy process again.

Function Documentation

◆ gbp_recirc_add()

int gbp_recirc_add ( u32  sw_if_index,
sclass_t  sclass,
u8  is_ext 
)

Definition at line 62 of file gbp_recirc.c.

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

◆ gbp_recirc_delete()

int gbp_recirc_delete ( u32  sw_if_index)

Definition at line 175 of file gbp_recirc.c.

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

◆ gbp_recirc_get()

static gbp_recirc_t* gbp_recirc_get ( u32  sw_if_index)
inlinestatic

Definition at line 76 of file gbp_recirc.h.

+ Here is the caller graph for this function:

◆ gbp_recirc_walk()

void gbp_recirc_walk ( gbp_recirc_cb_t  bgpe,
void *  ctx 
)

Definition at line 225 of file gbp_recirc.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ gbp_recirc_db

index_t* gbp_recirc_db

Recirc configs keyed by sw_if_index.

Definition at line 34 of file gbp_recirc.c.

◆ gbp_recirc_pool

gbp_recirc_t* gbp_recirc_pool

Data plane functions.

Data plane functions.

Definition at line 29 of file gbp_recirc.c.