FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
l3_proxy_dpo.c File Reference
+ Include dependency graph for l3_proxy_dpo.c:

Go to the source code of this file.

Functions

static l3_proxy_dpo_tl3_proxy_dpo_alloc (void)
 
static l3_proxy_dpo_tl3_proxy_dpo_get_from_dpo (const dpo_id_t *dpo)
 
void l3_proxy_dpo_add_or_lock (dpo_proto_t proto, u32 sw_if_index, dpo_id_t *dpo)
 
static void l3_proxy_dpo_lock (dpo_id_t *dpo)
 
static void l3_proxy_dpo_unlock (dpo_id_t *dpo)
 
static u32 l3_proxy_dpo_get_urpf (const dpo_id_t *dpo)
 
static u8format_l3_proxy_dpo (u8 *s, va_list *ap)
 
static void l3_proxy_dpo_mem_show (void)
 
void l3_proxy_dpo_module_init (void)
 

Variables

l3_proxy_dpo_tl3_proxy_dpo_pool
 The data-path object representing l3_proxying the packet, i.e. More...
 
static const dpo_vft_t l3_proxy_vft
 
static const char *const l3_proxy_ip4_nodes []
 The per-protocol VLIB graph nodes that are assigned to a l3_proxy object. More...
 
static const char *const l3_proxy_ip6_nodes []
 
static const char *const *const l3_proxy_nodes [DPO_PROTO_NUM]
 

Function Documentation

static u8* format_l3_proxy_dpo ( u8 s,
va_list *  ap 
)
static

Definition at line 103 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

void l3_proxy_dpo_add_or_lock ( dpo_proto_t  proto,
u32  sw_if_index,
dpo_id_t dpo 
)

Definition at line 56 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static l3_proxy_dpo_t* l3_proxy_dpo_alloc ( void  )
static

Definition at line 29 of file l3_proxy_dpo.c.

+ Here is the caller graph for this function:

static l3_proxy_dpo_t* l3_proxy_dpo_get_from_dpo ( const dpo_id_t dpo)
static

Definition at line 40 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 l3_proxy_dpo_get_urpf ( const dpo_id_t dpo)
static

Definition at line 93 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

static void l3_proxy_dpo_lock ( dpo_id_t dpo)
static

Definition at line 70 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

static void l3_proxy_dpo_mem_show ( void  )
static

Definition at line 130 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

void l3_proxy_dpo_module_init ( void  )

Definition at line 172 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void l3_proxy_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 79 of file l3_proxy_dpo.c.

+ Here is the call graph for this function:

Variable Documentation

l3_proxy_dpo_t* l3_proxy_dpo_pool

The data-path object representing l3_proxying the packet, i.e.

it's for-us pool of all l3_proxy DPOs

Definition at line 26 of file l3_proxy_dpo.c.

const char* const l3_proxy_ip4_nodes[]
static
Initial value:
=
{
"ip4-local",
}
#define NULL
Definition: clib.h:55

The per-protocol VLIB graph nodes that are assigned to a l3_proxy object.

this means that these graph nodes are ones from which a l3_proxy is the parent object in the DPO-graph.

Definition at line 153 of file l3_proxy_dpo.c.

const char* const l3_proxy_ip6_nodes[]
static
Initial value:
=
{
"ip6-local",
}
#define NULL
Definition: clib.h:55

Definition at line 158 of file l3_proxy_dpo.c.

const char* const* const l3_proxy_nodes[DPO_PROTO_NUM]
static
Initial value:
=
{
}
#define NULL
Definition: clib.h:55
static const char *const l3_proxy_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a l3_proxy object.
Definition: l3_proxy_dpo.c:153
static const char *const l3_proxy_ip6_nodes[]
Definition: l3_proxy_dpo.c:158

Definition at line 164 of file l3_proxy_dpo.c.

const dpo_vft_t l3_proxy_vft
static
Initial value:
= {
.dv_lock = l3_proxy_dpo_lock,
.dv_unlock = l3_proxy_dpo_unlock,
.dv_format = format_l3_proxy_dpo,
.dv_get_urpf = l3_proxy_dpo_get_urpf,
.dv_mem_show = l3_proxy_dpo_mem_show,
}
static void l3_proxy_dpo_lock(dpo_id_t *dpo)
Definition: l3_proxy_dpo.c:70
static void l3_proxy_dpo_unlock(dpo_id_t *dpo)
Definition: l3_proxy_dpo.c:79
static u32 l3_proxy_dpo_get_urpf(const dpo_id_t *dpo)
Definition: l3_proxy_dpo.c:93
static void l3_proxy_dpo_mem_show(void)
Definition: l3_proxy_dpo.c:130
static u8 * format_l3_proxy_dpo(u8 *s, va_list *ap)
Definition: l3_proxy_dpo.c:103

Definition at line 138 of file l3_proxy_dpo.c.