static void pg_edit_set_fixed(pg_edit_t *e, u64 value)
vl_api_ip_proto_t protocol
A GRE payload protocol registration.
uword unformat_pg_edit(unformat_input_t *input, va_list *args)
static void pg_gre_header_init(pg_gre_header_t *e)
static pg_node_t * pg_get_node(uword node_index)
uword unformat_pg_gre_header(unformat_input_t *input, va_list *args)
#define pg_edit_init(e, type, field)
static void * pg_create_edit_group(pg_stream_t *s, int n_edit_bytes, int n_packet_bytes, u32 *group_index)
unformat_function_t unformat_gre_protocol_net_byte_order
u32 node_index
Node which handles this type.
unformat_function_t * unformat_edit
static void pg_free_edit_group(pg_stream_t *s)
static gre_protocol_info_t * gre_get_protocol_info(gre_main_t *em, gre_protocol_t protocol)