43 u32 group_index, error;
47 sizeof (l2tpv3_header_t) -
sizeof(
u32),
54 if (!
unformat (input,
"L2TP: session_id %U cookie %U",
61 if (
unformat (input,
"l2_sublayer")) {
static void pg_l2tp_header_init(pg_l2tp_header_t *e)
always_inline pg_node_t * pg_get_node(uword node_index)
uword unformat_pg_edit(unformat_input_t *input, va_list *args)
always_inline vlib_main_t * vlib_get_main(void)
#define pg_edit_init(e, type, field)
uword unformat_pg_l2tp_header(unformat_input_t *input, va_list *args)
always_inline void * pg_create_edit_group(pg_stream_t *s, int n_edit_bytes, int n_packet_bytes, u32 *group_index)
unformat_function_t * unformat_edit
always_inline void * pg_add_edits(pg_stream_t *s, int n_edit_bytes, int n_packet_bytes, u32 group_index)
vlib_node_t * vlib_get_node_by_name(vlib_main_t *vm, u8 *name)
uword unformat_pg_number(unformat_input_t *input, va_list *args)
always_inline void pg_free_edit_group(pg_stream_t *s)