FD.io VPP  v19.08.3-2-gbabecb413
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

◆ hdlc_error

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

Definition at line 51 of file hdlc.h.

Enumeration Type Documentation

◆ hdlc_error_t

Enumerator
HDLC_N_ERROR 

Definition at line 49 of file hdlc.h.

Function Documentation

◆ hdlc_get_protocol_info()

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

Definition at line 83 of file hdlc.h.

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

◆ hdlc_register_input_protocol()

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

Definition at line 347 of file node.c.

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

◆ hdlc_register_input_type()

void hdlc_register_input_type ( vlib_main_t vm,
hdlc_protocol_t  protocol,
u32  node_index 
)
+ Here is the caller graph for this function:

◆ hdlc_setup_node()

static void hdlc_setup_node ( vlib_main_t vm,
u32  node_index 
)
inlinestatic

Definition at line 110 of file hdlc.h.

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

Variable Documentation

◆ format_hdlc_header

format_function_t format_hdlc_header

Definition at line 97 of file hdlc.h.

◆ format_hdlc_header_with_length

format_function_t format_hdlc_header_with_length

Definition at line 98 of file hdlc.h.

◆ format_hdlc_protocol

format_function_t format_hdlc_protocol

Definition at line 96 of file hdlc.h.

◆ hdlc_hw_interface_class

vnet_hw_interface_class_t hdlc_hw_interface_class

◆ hdlc_main

hdlc_main_t hdlc_main

Definition at line 44 of file hdlc.c.

◆ unformat_hdlc_header

unformat_function_t unformat_hdlc_header

Definition at line 106 of file hdlc.h.

◆ unformat_hdlc_protocol_host_byte_order

unformat_function_t unformat_hdlc_protocol_host_byte_order

Definition at line 102 of file hdlc.h.

◆ unformat_hdlc_protocol_net_byte_order

unformat_function_t unformat_hdlc_protocol_net_byte_order

Definition at line 103 of file hdlc.h.

◆ unformat_pg_hdlc_header

unformat_function_t unformat_pg_hdlc_header

Definition at line 107 of file hdlc.h.