FD.io VPP  v16.09
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_error, hdlc_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)
 
void hdlc_set_adjacency (vnet_rewrite_header_t *rw, uword max_data_bytes, hdlc_protocol_t protocol)
 
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_error 
hdlc_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 319 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:

void hdlc_set_adjacency ( vnet_rewrite_header_t *  rw,
uword  max_data_bytes,
hdlc_protocol_t  protocol 
)
static void hdlc_setup_node ( vlib_main_t vm,
u32  node_index 
)
inlinestatic

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

format_function_t format_hdlc_header_with_length

Definition at line 100 of file hdlc.h.

format_function_t format_hdlc_protocol

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

unformat_function_t unformat_hdlc_protocol_host_byte_order

Definition at line 104 of file hdlc.h.

unformat_function_t unformat_hdlc_protocol_net_byte_order

Definition at line 105 of file hdlc.h.

unformat_function_t unformat_pg_hdlc_header

Definition at line 109 of file hdlc.h.