FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
llc.c File Reference
+ Include dependency graph for llc.c:

Go to the source code of this file.

Functions

u8format_llc_protocol (u8 *s, va_list *args)
 
u8format_llc_header_with_length (u8 *s, va_list *args)
 
u8format_llc_header (u8 *s, va_list *args)
 
uword unformat_llc_protocol (unformat_input_t *input, va_list *args)
 
uword unformat_llc_header (unformat_input_t *input, va_list *args)
 
static u8llc_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address)
 
 VNET_HW_INTERFACE_CLASS (llc_hw_interface_class)
 
static void add_protocol (llc_main_t *pm, llc_protocol_t protocol, char *protocol_name)
 
static clib_error_tllc_init (vlib_main_t *vm)
 

Variables

llc_main_t llc_main
 

Function Documentation

◆ add_protocol()

static void add_protocol ( llc_main_t pm,
llc_protocol_t  protocol,
char *  protocol_name 
)
static

Definition at line 194 of file llc.c.

◆ format_llc_header()

u8* format_llc_header ( u8 s,
va_list *  args 
)

Definition at line 98 of file llc.c.

+ Here is the call graph for this function:

◆ format_llc_header_with_length()

u8* format_llc_header_with_length ( u8 s,
va_list *  args 
)

Definition at line 62 of file llc.c.

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

◆ format_llc_protocol()

u8* format_llc_protocol ( u8 s,
va_list *  args 
)

Definition at line 47 of file llc.c.

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

◆ llc_build_rewrite()

static u8* llc_build_rewrite ( vnet_main_t vnm,
u32  sw_if_index,
vnet_link_t  link_type,
const void *  dst_address 
)
static

Definition at line 159 of file llc.c.

◆ llc_init()

static clib_error_t* llc_init ( vlib_main_t vm)
static

Definition at line 211 of file llc.c.

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

◆ unformat_llc_header()

uword unformat_llc_header ( unformat_input_t input,
va_list *  args 
)

Definition at line 134 of file llc.c.

+ Here is the call graph for this function:

◆ unformat_llc_protocol()

uword unformat_llc_protocol ( unformat_input_t input,
va_list *  args 
)

Definition at line 106 of file llc.c.

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

◆ VNET_HW_INTERFACE_CLASS()

VNET_HW_INTERFACE_CLASS ( llc_hw_interface_class  )

Variable Documentation

◆ llc_main

llc_main_t llc_main

Definition at line 44 of file llc.c.