FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
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) |
Enumerations | |
enum | { GBP_EXT_ITF_F_NONE = 0, GBP_EXT_ITF_F_ANON = 1 << 0 } |
Functions | |
int | gbp_ext_itf_add (u32 sw_if_index, u32 bd_id, u32 rd_id, u32 flags) |
int | gbp_ext_itf_delete (u32 sw_if_index) |
u8 * | format_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_t * | gbp_ext_itf_get (u32 sw_if_index) |
Variables | |
gbp_ext_itf_t * | gbp_ext_itf_pool |
Exposed types for the data-plane. More... | |
index_t * | gbp_ext_itf_db |
external interface configs keyed by sw_if_index More... | |
typedef walk_rc_t(* gbp_ext_itf_cb_t) (gbp_ext_itf_t *gbpe, void *ctx) |
Definition at line 68 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.
anonymous enum |
Enumerator | |
---|---|
GBP_EXT_ITF_F_NONE | |
GBP_EXT_ITF_F_ANON |
Definition at line 21 of file gbp_ext_itf.h.
Definition at line 42 of file gbp_ext_itf.c.
Definition at line 53 of file gbp_ext_itf.c.
int gbp_ext_itf_delete | ( | u32 | sw_if_index | ) |
Definition at line 122 of file gbp_ext_itf.c.
|
inlinestatic |
void gbp_ext_itf_walk | ( | gbp_ext_itf_cb_t | bgpe, |
void * | ctx | ||
) |
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.