FD.io VPP  v16.06
Vector Packet Processing
hdlc.c File Reference
+ Include dependency graph for hdlc.c:

Go to the source code of this file.

Functions

u8format_hdlc_protocol (u8 *s, va_list *args)
 
u8format_hdlc_header_with_length (u8 *s, va_list *args)
 
u8format_hdlc_header (u8 *s, va_list *args)
 
uword unformat_hdlc_protocol_host_byte_order (unformat_input_t *input, va_list *args)
 
uword unformat_hdlc_protocol_net_byte_order (unformat_input_t *input, va_list *args)
 
uword unformat_hdlc_header (unformat_input_t *input, va_list *args)
 
static uword hdlc_set_rewrite (vnet_main_t *vnm, u32 sw_if_index, u32 l3_type, void *dst_address, void *rewrite, uword max_rewrite_bytes)
 
 VNET_HW_INTERFACE_CLASS (hdlc_hw_interface_class)
 
static void add_protocol (hdlc_main_t *pm, hdlc_protocol_t protocol, char *protocol_name)
 
static clib_error_thdlc_init (vlib_main_t *vm)
 
hdlc_main_thdlc_get_main (vlib_main_t *vm)
 

Variables

hdlc_main_t hdlc_main
 

Function Documentation

static void add_protocol ( hdlc_main_t pm,
hdlc_protocol_t  protocol,
char *  protocol_name 
)
static

Definition at line 208 of file hdlc.c.

u8* format_hdlc_header ( u8 s,
va_list *  args 
)

Definition at line 95 of file hdlc.c.

+ Here is the call graph for this function:

u8* format_hdlc_header_with_length ( u8 s,
va_list *  args 
)

Definition at line 60 of file hdlc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_hdlc_protocol ( u8 s,
va_list *  args 
)

Definition at line 46 of file hdlc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

hdlc_main_t* hdlc_get_main ( vlib_main_t vm)

Definition at line 245 of file hdlc.c.

+ Here is the call graph for this function:

static clib_error_t* hdlc_init ( vlib_main_t vm)
static

Definition at line 226 of file hdlc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword hdlc_set_rewrite ( vnet_main_t vnm,
u32  sw_if_index,
u32  l3_type,
void dst_address,
void rewrite,
uword  max_rewrite_bytes 
)
static

Definition at line 170 of file hdlc.c.

+ Here is the call graph for this function:

uword unformat_hdlc_header ( unformat_input_t input,
va_list *  args 
)

Definition at line 144 of file hdlc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword unformat_hdlc_protocol_host_byte_order ( unformat_input_t input,
va_list *  args 
)

Definition at line 103 of file hdlc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword unformat_hdlc_protocol_net_byte_order ( unformat_input_t input,
va_list *  args 
)

Definition at line 133 of file hdlc.c.

+ Here is the call graph for this function:

VNET_HW_INTERFACE_CLASS ( hdlc_hw_interface_class  )

+ Here is the caller graph for this function:

Variable Documentation

hdlc_main_t hdlc_main

Definition at line 44 of file hdlc.c.