FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
snap.c File Reference
+ Include dependency graph for snap.c:

Go to the source code of this file.

Functions

static u8format_cisco_snap_protocol (u8 *s, va_list *args)
 
u8format_snap_protocol (u8 *s, va_list *args)
 
u8format_snap_header_with_length (u8 *s, va_list *args)
 
u8format_snap_header (u8 *s, va_list *args)
 
uword unformat_snap_protocol (unformat_input_t *input, va_list *args)
 
uword unformat_snap_header (unformat_input_t *input, va_list *args)
 
static clib_error_tsnap_init (vlib_main_t *vm)
 

Variables

snap_main_t snap_main
 

Function Documentation

◆ format_cisco_snap_protocol()

static u8* format_cisco_snap_protocol ( u8 s,
va_list *  args 
)
static

Definition at line 48 of file snap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_snap_header()

u8* format_snap_header ( u8 s,
va_list *  args 
)

Definition at line 118 of file snap.c.

+ Here is the call graph for this function:

◆ format_snap_header_with_length()

u8* format_snap_header_with_length ( u8 s,
va_list *  args 
)

Definition at line 88 of file snap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_snap_protocol()

u8* format_snap_protocol ( u8 s,
va_list *  args 
)

Definition at line 68 of file snap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ snap_init()

static clib_error_t* snap_init ( vlib_main_t vm)
static

Definition at line 179 of file snap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unformat_snap_header()

uword unformat_snap_header ( unformat_input_t input,
va_list *  args 
)

Definition at line 158 of file snap.c.

+ Here is the call graph for this function:

◆ unformat_snap_protocol()

uword unformat_snap_protocol ( unformat_input_t input,
va_list *  args 
)

Definition at line 126 of file snap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ snap_main

snap_main_t snap_main

Definition at line 45 of file snap.c.