FD.io VPP  v20.05.1-6-gf53edbc3b
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)
 

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)
 
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

◆ gbp_ext_itf_cb_t

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.

◆ gbp_ext_itf_t

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.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GBP_EXT_ITF_F_NONE 
GBP_EXT_ITF_F_ANON 

Definition at line 21 of file gbp_ext_itf.h.

Function Documentation

◆ format_gbp_ext_itf()

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:

◆ gbp_ext_itf_add()

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

Definition at line 53 of file gbp_ext_itf.c.

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

◆ gbp_ext_itf_delete()

int gbp_ext_itf_delete ( u32  sw_if_index)

Definition at line 122 of file gbp_ext_itf.c.

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

◆ gbp_ext_itf_get()

static gbp_ext_itf_t* gbp_ext_itf_get ( u32  sw_if_index)
inlinestatic

Definition at line 79 of file gbp_ext_itf.h.

+ Here is the caller graph for this function:

◆ gbp_ext_itf_walk()

void gbp_ext_itf_walk ( gbp_ext_itf_cb_t  bgpe,
void *  ctx 
)

Definition at line 231 of file gbp_ext_itf.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ gbp_ext_itf_db

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_pool

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.