FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
hdlc.h File Reference
+ Include dependency graph for hdlc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  hdlc_protocol_info_t
 
struct  hdlc_main_t
 

Macros

#define hdlc_error(n, s)   HDLC_ERROR_##n,
 

Enumerations

enum  hdlc_error_t { HDLC_N_ERROR }
 

Functions

static hdlc_protocol_info_thdlc_get_protocol_info (hdlc_main_t *em, hdlc_protocol_t protocol)
 
void hdlc_register_input_type (vlib_main_t *vm, hdlc_protocol_t protocol, u32 node_index)
 
static void hdlc_setup_node (vlib_main_t *vm, u32 node_index)
 
void hdlc_register_input_protocol (vlib_main_t *vm, hdlc_protocol_t protocol, u32 node_index)
 

Variables

vnet_hw_interface_class_t hdlc_hw_interface_class
 
hdlc_main_t hdlc_main
 
format_function_t format_hdlc_protocol
 
format_function_t format_hdlc_header
 
format_function_t format_hdlc_header_with_length
 
unformat_function_t unformat_hdlc_protocol_host_byte_order
 
unformat_function_t unformat_hdlc_protocol_net_byte_order
 
unformat_function_t unformat_hdlc_header
 
unformat_function_t unformat_pg_hdlc_header
 

Macro Definition Documentation

#define hdlc_error (   n,
 
)    HDLC_ERROR_##n,

Definition at line 50 of file hdlc.h.

Enumeration Type Documentation

Enumerator
HDLC_N_ERROR 

Definition at line 49 of file hdlc.h.

Function Documentation

static hdlc_protocol_info_t* hdlc_get_protocol_info ( hdlc_main_t em,
hdlc_protocol_t  protocol 
)
inlinestatic

Definition at line 80 of file hdlc.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void hdlc_register_input_protocol ( vlib_main_t vm,
hdlc_protocol_t  protocol,
u32  node_index 
)

Definition at line 326 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void hdlc_register_input_type ( vlib_main_t vm,
hdlc_protocol_t  protocol,
u32  node_index 
)

+ Here is the caller graph for this function:

static void hdlc_setup_node ( vlib_main_t vm,
u32  node_index 
)
inlinestatic

Definition at line 108 of file hdlc.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

format_function_t format_hdlc_header

Definition at line 95 of file hdlc.h.

format_function_t format_hdlc_header_with_length

Definition at line 96 of file hdlc.h.

format_function_t format_hdlc_protocol

Definition at line 94 of file hdlc.h.

vnet_hw_interface_class_t hdlc_hw_interface_class
hdlc_main_t hdlc_main

Definition at line 44 of file hdlc.c.

unformat_function_t unformat_hdlc_header

Definition at line 104 of file hdlc.h.

unformat_function_t unformat_hdlc_protocol_host_byte_order

Definition at line 100 of file hdlc.h.

unformat_function_t unformat_hdlc_protocol_net_byte_order

Definition at line 101 of file hdlc.h.

unformat_function_t unformat_pg_hdlc_header

Definition at line 105 of file hdlc.h.