FD.io VPP  v18.07-rc0-415-g6c78436
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 51 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 83 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 351 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 110 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 97 of file hdlc.h.

format_function_t format_hdlc_header_with_length

Definition at line 98 of file hdlc.h.

format_function_t format_hdlc_protocol

Definition at line 96 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 106 of file hdlc.h.

unformat_function_t unformat_hdlc_protocol_host_byte_order

Definition at line 102 of file hdlc.h.

unformat_function_t unformat_hdlc_protocol_net_byte_order

Definition at line 103 of file hdlc.h.

unformat_function_t unformat_pg_hdlc_header

Definition at line 107 of file hdlc.h.