|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
dpo_type_t dpo_register_new_type(const dpo_vft_t *vft, const char *const *const *nodes)
Create and register a new DPO type.
static void dslite_ce_dpo_unlock(dpo_id_t *dpo)
const static char *const *const dslite_nodes[DPO_PROTO_NUM]
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
const static dpo_vft_t dslite_ce_dpo_vft
const static char *const dslite_ce_ip6_nodes[]
const static char *const dslite_ce_ip4_nodes[]
const static char *const dslite_ip4_nodes[]
const static char *const dslite_ip6_nodes[]
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
dpo_type_t dslite_dpo_type
enum dpo_type_t_ dpo_type_t
Common types of data-path objects New types can be dynamically added using dpo_register_new_type()
dpo_lock_fn_t dv_lock
A reference counting lock function.
u8 * format_dslite_ce_dpo(u8 *s, va_list *args)
const static dpo_vft_t dslite_dpo_vft
const static char *const *const dslite_ce_nodes[DPO_PROTO_NUM]
description fragment has unexpected format
static void dslite_ce_dpo_lock(dpo_id_t *dpo)
u8 * format_dslite_dpo(u8 *s, va_list *args)
void dslite_dpo_create(dpo_proto_t dproto, u32 aftr_index, dpo_id_t *dpo)
dpo_type_t dslite_ce_dpo_type
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 dslite_dpo_module_init(void)
static void dslite_dpo_lock(dpo_id_t *dpo)
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.
static void dslite_dpo_unlock(dpo_id_t *dpo)
void dslite_ce_dpo_create(dpo_proto_t dproto, u32 b4_index, dpo_id_t *dpo)