|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
56 #define ip_protocol(n,s) \
58 vec_add2 (im->protocol_infos, pi, 1); \
60 pi->name = (u8 *) #s; \
70 pi =
im->protocol_infos +
i;
80 static char *port_names[] = {
81 #define ip_port(s,n) #s,
85 static u16 ports[] = {
86 #define ip_port(s,n) n,
96 pi =
im->port_infos +
i;
97 pi->
port = clib_host_to_net_u16 (ports[
i]);
98 pi->
name = (
u8 *) port_names[
i];
116 "ip6_hop_by_hop_init",
121 "policer_classify_init",
122 "flow_classify_init",
vnet_interface_main_t * im
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
#define hash_create_string(elts, value_bytes)
#define hash_set(h, key, value)
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
#define hash_set_mem(h, key, value)
sll srl srl sll sra u16x4 i
clib_error_t * ip_main_init(vlib_main_t *vm)
#define VLIB_INIT_FUNCTION(x)
#define vec_resize(V, N)
Resize a vector (no header, unspecified alignment) Add N elements to end of given vector V,...
clib_memset(h->entries, 0, sizeof(h->entries[0]) *entries)
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)