|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
int dpo_is_drop(const dpo_id_t *dpo)
The Drop DPO will drop all packets, no questions asked.
const static char *const drop_ethernet_nodes[]
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
dpo_type_t dpoi_type
the type
const static char *const drop_nsh_nodes[]
const static char *const drop_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a drop object.
const static char *const drop_bier_nodes[]
static void drop_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 char *const *const drop_nodes[DPO_PROTO_NUM]
static void drop_dpo_unlock(dpo_id_t *dpo)
const static char *const drop_ip6_nodes[]
const static dpo_vft_t drop_vft
dpo_lock_fn_t dv_lock
A reference counting lock function.
const static char *const drop_mpls_nodes[]
static u8 * format_drop_dpo(u8 *s, va_list *ap)
description fragment has unexpected format
static dpo_id_t drop_dpos[DPO_PROTO_NUM]
The data-path object representing dropping the packet.
const dpo_id_t * drop_dpo_get(dpo_proto_t proto)
A virtual function table regisitered for a DPO type.
u8 * format_dpo_proto(u8 *s, va_list *args)
format a DPO protocol
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:
void drop_dpo_module_init(void)