40 #ifndef included_ppp_h 41 #define included_ppp_h 51 #define ppp_error(n,s) PPP_ERROR_##n, unformat_function_t unformat_ppp_header
static void ppp_setup_node(vlib_main_t *vm, u32 node_index)
uword * protocol_info_by_protocol
unformat_function_t unformat_ppp_protocol_host_byte_order
static pg_node_t * pg_get_node(uword node_index)
vl_api_ip_proto_t protocol
unformat_function_t unformat_pg_ppp_header
format_function_t format_ppp_header
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
unformat_function_t unformat_ppp_protocol_net_byte_order
void ppp_register_input_type(vlib_main_t *vm, ppp_protocol_t protocol, u32 node_index)
void ppp_register_input_protocol(vlib_main_t *vm, ppp_protocol_t protocol, u32 node_index)
format_function_t * format_buffer
static ppp_protocol_info_t * ppp_get_protocol_info(ppp_main_t *em, ppp_protocol_t protocol)
ppp_protocol_info_t * protocol_infos
unformat_function_t * unformat_buffer
unformat_function_t * unformat_edit
format_function_t format_ppp_header_with_length
struct _vnet_hw_interface_class vnet_hw_interface_class_t
format_function_t format_ppp_protocol
vnet_hw_interface_class_t ppp_hw_interface_class
static vlib_node_t * vlib_get_node(vlib_main_t *vm, u32 i)
Get vlib node by index.