|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
static dpo_id_t punt_dpos[DPO_PROTO_NUM]
The data-path object representing puntping the packet.
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
dpo_type_t dpoi_type
the type
static u8 * format_punt_dpo(u8 *s, va_list *ap)
const static char *const punt_mpls_nodes[]
static void punt_dpo_lock(dpo_id_t *dpo)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
const static dpo_vft_t punt_vft
dpo_lock_fn_t dv_lock
A reference counting lock function.
int dpo_is_punt(const dpo_id_t *dpo)
A DPO to punt packets to the Control-plane.
static void punt_dpo_unlock(dpo_id_t *dpo)
description fragment has unexpected format
const dpo_id_t * punt_dpo_get(dpo_proto_t proto)
const static char *const *const punt_nodes[DPO_PROTO_NUM]
const static char *const punt_ip6_nodes[]
const static char *const punt_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a punt object.
A virtual function table regisitered for a DPO type.
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 punt_dpo_module_init(void)
void dpo_register(dpo_type_t type, const dpo_vft_t *vft, const char *const *const *nodes)
For a given DPO type Register: