45 u32 group_index, error;
49 sizeof (l2tpv3_header_t) -
sizeof (
u32),
56 if (!
unformat (input,
"L2TP: session_id %U cookie %U",
static void pg_l2tp_header_init(pg_l2tp_header_t *e)
uword unformat_pg_edit(unformat_input_t *input, va_list *args)
static pg_node_t * pg_get_node(uword node_index)
static void * pg_add_edits(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_create_edit_group(pg_stream_t *s, int n_edit_bytes, int n_packet_bytes, u32 *group_index)
uword unformat_pg_l2tp_header(unformat_input_t *input, va_list *args)
vlib_node_t * vlib_get_node_by_name(vlib_main_t *vm, u8 *name)
unformat_function_t * unformat_edit
static void pg_free_edit_group(pg_stream_t *s)
static vlib_main_t * vlib_get_main(void)
uword unformat_pg_number(unformat_input_t *input, va_list *args)