|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
#define FOR_EACH_DPO_PROTO(_proto)
static u8 * format_lisp_cp_dpo(u8 *s, va_list *args)
static void lisp_cp_dpo_lock(dpo_id_t *dpo)
const static char *const lisp_cp_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a LISP-CP object.
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
static dpo_id_t lisp_cp_dpos[DPO_PROTO_NUM]
The static array of LISP punt DPOs.
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
const static dpo_vft_t lisp_cp_vft
const dpo_id_t * lisp_cp_dpo_get(dpo_proto_t proto)
const static char *const lisp_cp_nsh_nodes[]
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
const static char *const lisp_cp_ip6_nodes[]
dpo_lock_fn_t dv_lock
A reference counting lock function.
description fragment has unexpected format
#define VLIB_INIT_FUNCTION(x)
const static char *const lisp_cp_ethernet_nodes[]
A virtual function table regisitered for a DPO type.
const static char *const *const lisp_cp_nodes[DPO_PROTO_NUM]
u8 * format_dpo_proto(u8 *s, va_list *args)
format a DPO protocol
clib_error_t * lisp_cp_dpo_module_init(vlib_main_t *vm)
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
static void lisp_cp_dpo_unlock(dpo_id_t *dpo)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
void dpo_set(dpo_id_t *dpo, dpo_type_t type, dpo_proto_t proto, index_t index)
Set/create a DPO ID The DPO will be locked.
void dpo_register(dpo_type_t type, const dpo_vft_t *vft, const char *const *const *nodes)
For a given DPO type Register: