|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
74 vlan[vlan_index].priority_cfi_and_id, 0, 12);
76 vlan[vlan_index].priority_cfi_and_id, 12, 1);
78 vlan[vlan_index].priority_cfi_and_id, 13, 3);
95 if (!
unformat (input,
"%U: %U -> %U",
132 v = (
void *) (e + 1);
135 ether_type_edit = &e->
type;
140 ether_type_edit = &v[n_vlan - 1].
type;
144 for (
i = 0;
i < n_vlan - 1;
i++)
157 if (
ti &&
ti->node_index != ~0)
uword unformat_ethernet_type_net_byte_order(unformat_input_t *input, va_list *args)
uword unformat_ethernet_address(unformat_input_t *input, va_list *args)
static void pg_edit_set_fixed(pg_edit_t *e, u64 value)
static void pg_edit_copy_type_and_values(pg_edit_t *dst, pg_edit_t *src)
uword unformat_pg_number(unformat_input_t *input, va_list *args)
uword unformat_pg_ethernet_header(unformat_input_t *input, va_list *args)
unformat_function_t * unformat_edit
static pg_node_t * pg_get_node(uword node_index)
static void * pg_get_edit_group(pg_stream_t *s, u32 group_index)
static void pg_ethernet_vlan_header_init(pg_ethernet_vlan_header_t *v, int vlan_index)
static void pg_free_edit_group(pg_stream_t *s)
uword unformat_pg_edit(unformat_input_t *input, va_list *args)
uword unformat_pg_payload(unformat_input_t *input, va_list *args)
ethernet_main_t ethernet_main
static void * pg_create_edit_group(pg_stream_t *s, int n_edit_bytes, int n_packet_bytes, u32 *group_index)
#define pg_edit_init(e, type, field)
static void * pg_add_edits(pg_stream_t *s, int n_edit_bytes, int n_packet_bytes, u32 group_index)
static ethernet_type_info_t * ethernet_get_type_info(ethernet_main_t *em, ethernet_type_t type)
vl_api_address_union_t src_address
vl_api_fib_path_type_t type
static void pg_ethernet_header_init(pg_ethernet_header_t *e)
#define pg_edit_init_bitfield(e, type, field, field_offset, field_n_bits)