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

Go to the source code of this file.

Functions

const dpo_id_tlisp_cp_dpo_get (dpo_proto_t proto)
 
static u8format_lisp_cp_dpo (u8 *s, va_list *args)
 
static void lisp_cp_dpo_lock (dpo_id_t *dpo)
 
static void lisp_cp_dpo_unlock (dpo_id_t *dpo)
 
clib_error_tlisp_cp_dpo_module_init (vlib_main_t *vm)
 

Variables

static dpo_id_t lisp_cp_dpos [DPO_PROTO_NUM]
 The static array of LISP punt DPOs. More...
 
static const dpo_vft_t lisp_cp_vft
 
static const char *const lisp_cp_ip4_nodes []
 The per-protocol VLIB graph nodes that are assigned to a LISP-CP object. More...
 
static const char *const lisp_cp_ip6_nodes []
 
static const char *const lisp_cp_ethernet_nodes []
 
static const char *const lisp_cp_nsh_nodes []
 
static const char *const *const lisp_cp_nodes [DPO_PROTO_NUM]
 

Function Documentation

static u8* format_lisp_cp_dpo ( u8 s,
va_list *  args 
)
static

Definition at line 36 of file lisp_cp_dpo.c.

+ Here is the call graph for this function:

const dpo_id_t* lisp_cp_dpo_get ( dpo_proto_t  proto)

Definition at line 26 of file lisp_cp_dpo.c.

+ Here is the caller graph for this function:

static void lisp_cp_dpo_lock ( dpo_id_t dpo)
static

Definition at line 45 of file lisp_cp_dpo.c.

clib_error_t* lisp_cp_dpo_module_init ( vlib_main_t vm)

Definition at line 96 of file lisp_cp_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lisp_cp_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 50 of file lisp_cp_dpo.c.

Variable Documentation

dpo_id_t lisp_cp_dpos[DPO_PROTO_NUM]
static

The static array of LISP punt DPOs.

Definition at line 23 of file lisp_cp_dpo.c.

const char* const lisp_cp_ethernet_nodes[]
static
Initial value:
= {
"lisp-cp-lookup-l2",
}
#define NULL
Definition: clib.h:55

Definition at line 77 of file lisp_cp_dpo.c.

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

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

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

Definition at line 67 of file lisp_cp_dpo.c.

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

Definition at line 72 of file lisp_cp_dpo.c.

const char* const* const lisp_cp_nodes[DPO_PROTO_NUM]
static
Initial value:
= {
}
#define NULL
Definition: clib.h:55
static const char *const lisp_cp_nsh_nodes[]
Definition: lisp_cp_dpo.c:82
static const char *const lisp_cp_ethernet_nodes[]
Definition: lisp_cp_dpo.c:77
static const char *const lisp_cp_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a LISP-CP object.
Definition: lisp_cp_dpo.c:67
static const char *const lisp_cp_ip6_nodes[]
Definition: lisp_cp_dpo.c:72

Definition at line 87 of file lisp_cp_dpo.c.

const char* const lisp_cp_nsh_nodes[]
static
Initial value:
= {
"lisp-cp-lookup-nsh",
}
#define NULL
Definition: clib.h:55

Definition at line 82 of file lisp_cp_dpo.c.

const dpo_vft_t lisp_cp_vft
static
Initial value:
= {
.dv_lock = lisp_cp_dpo_lock,
.dv_unlock = lisp_cp_dpo_unlock,
.dv_format = format_lisp_cp_dpo,
}
static void lisp_cp_dpo_lock(dpo_id_t *dpo)
Definition: lisp_cp_dpo.c:45
static void lisp_cp_dpo_unlock(dpo_id_t *dpo)
Definition: lisp_cp_dpo.c:50
static u8 * format_lisp_cp_dpo(u8 *s, va_list *args)
Definition: lisp_cp_dpo.c:36

Definition at line 54 of file lisp_cp_dpo.c.