FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
gbp_subnet.c File Reference
+ Include dependency graph for gbp_subnet.c:

Go to the source code of this file.

Data Structures

struct  gbp_subnet_fib_table_walk_ctx_t_
 

Typedefs

typedef struct gbp_subnet_fib_table_walk_ctx_t_ gbp_subnet_fib_table_walk_ctx_t
 

Functions

static int gbp_internal_subnet_add (u32 fib_index, const fib_prefix_t *pfx)
 
static int gbp_external_subnet_add (u32 fib_index, const fib_prefix_t *pfx, u32 sw_if_index, epg_id_t epg)
 
static int gbp_subnet_del (u32 fib_index, const fib_prefix_t *pfx)
 
int gbp_subnet_add_del (u32 table_id, const fib_prefix_t *pfx, u32 sw_if_index, epg_id_t epg, u8 is_add, u8 is_internal)
 
static fib_table_walk_rc_t gbp_subnet_fib_table_walk (fib_node_index_t fei, void *arg)
 
void gbp_subnet_walk (gbp_subnet_cb_t cb, void *ctx)
 

Typedef Documentation

Function Documentation

static int gbp_external_subnet_add ( u32  fib_index,
const fib_prefix_t pfx,
u32  sw_if_index,
epg_id_t  epg 
)
static

Definition at line 41 of file gbp_subnet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int gbp_internal_subnet_add ( u32  fib_index,
const fib_prefix_t pfx 
)
static

Definition at line 24 of file gbp_subnet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int gbp_subnet_add_del ( u32  table_id,
const fib_prefix_t pfx,
u32  sw_if_index,
epg_id_t  epg,
u8  is_add,
u8  is_internal 
)

Definition at line 71 of file gbp_subnet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int gbp_subnet_del ( u32  fib_index,
const fib_prefix_t pfx 
)
static

Definition at line 63 of file gbp_subnet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static fib_table_walk_rc_t gbp_subnet_fib_table_walk ( fib_node_index_t  fei,
void *  arg 
)
static

Definition at line 97 of file gbp_subnet.c.

+ Here is the call graph for this function:

void gbp_subnet_walk ( gbp_subnet_cb_t  cb,
void *  ctx 
)

Definition at line 143 of file gbp_subnet.c.

+ Here is the caller graph for this function: