FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
gbp_ext_itf.h File Reference
+ Include dependency graph for gbp_ext_itf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gpb_ext_itf_t_
 An external interface maps directly to an oflex L3ExternalInterface. More...
 

Typedefs

typedef struct gpb_ext_itf_t_ gbp_ext_itf_t
 An external interface maps directly to an oflex L3ExternalInterface. More...
 
typedef walk_rc_t(* gbp_ext_itf_cb_t) (gbp_ext_itf_t *gbpe, void *ctx)
 

Functions

int gbp_ext_itf_add (u32 sw_if_index, u32 bd_id, u32 rd_id)
 
int gbp_ext_itf_delete (u32 sw_if_index)
 
u8format_gbp_ext_itf (u8 *s, va_list *args)
 
void gbp_ext_itf_walk (gbp_ext_itf_cb_t bgpe, void *ctx)
 
static gbp_ext_itf_tgbp_ext_itf_get (u32 sw_if_index)
 

Variables

gbp_ext_itf_tgbp_ext_itf_pool
 Exposed types for the data-plane. More...
 
index_tgbp_ext_itf_db
 external interface configs keyed by sw_if_index More...
 

Typedef Documentation

typedef walk_rc_t(* gbp_ext_itf_cb_t) (gbp_ext_itf_t *gbpe, void *ctx)

Definition at line 57 of file gbp_ext_itf.h.

typedef struct gpb_ext_itf_t_ gbp_ext_itf_t

An external interface maps directly to an oflex L3ExternalInterface.

The special characteristics of an external interface is the way the source EPG is determined for input packets which, like a recirc interface, is via a LPM.

Function Documentation

u8* format_gbp_ext_itf ( u8 s,
va_list *  args 
)

Definition at line 42 of file gbp_ext_itf.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int gbp_ext_itf_add ( u32  sw_if_index,
u32  bd_id,
u32  rd_id 
)

Definition at line 52 of file gbp_ext_itf.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int gbp_ext_itf_delete ( u32  sw_if_index)

Definition at line 106 of file gbp_ext_itf.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static gbp_ext_itf_t* gbp_ext_itf_get ( u32  sw_if_index)
inlinestatic

Definition at line 68 of file gbp_ext_itf.h.

void gbp_ext_itf_walk ( gbp_ext_itf_cb_t  bgpe,
void *  ctx 
)

Definition at line 134 of file gbp_ext_itf.c.

+ Here is the caller graph for this function:

Variable Documentation

index_t* gbp_ext_itf_db

external interface configs keyed by sw_if_index

Definition at line 29 of file gbp_ext_itf.c.

gbp_ext_itf_t* gbp_ext_itf_pool

Exposed types for the data-plane.

Exposed types for the data-plane.

Definition at line 24 of file gbp_ext_itf.c.