40 #ifndef included_hdlc_h 41 #define included_hdlc_h 50 #define hdlc_error(n,s) HDLC_ERROR_##n, vnet_hw_interface_class_t hdlc_hw_interface_class
static hdlc_protocol_info_t * hdlc_get_protocol_info(hdlc_main_t *em, hdlc_protocol_t protocol)
format_function_t format_hdlc_header_with_length
void hdlc_register_input_type(vlib_main_t *vm, hdlc_protocol_t protocol, u32 node_index)
unformat_function_t unformat_hdlc_protocol_net_byte_order
unformat_function_t unformat_pg_hdlc_header
static pg_node_t * pg_get_node(uword node_index)
static void hdlc_setup_node(vlib_main_t *vm, u32 node_index)
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
unformat_function_t unformat_hdlc_protocol_host_byte_order
format_function_t * format_buffer
unformat_function_t unformat_hdlc_header
uword * protocol_info_by_protocol
unformat_function_t * unformat_buffer
unformat_function_t * unformat_edit
void hdlc_register_input_protocol(vlib_main_t *vm, hdlc_protocol_t protocol, u32 node_index)
struct _vnet_hw_interface_class vnet_hw_interface_class_t
void hdlc_set_adjacency(vnet_rewrite_header_t *rw, uword max_data_bytes, hdlc_protocol_t protocol)
format_function_t format_hdlc_protocol
static vlib_node_t * vlib_get_node(vlib_main_t *vm, u32 i)
Get vlib node by index.
hdlc_protocol_info_t * protocol_infos
format_function_t format_hdlc_header