40 #ifndef included_ppp_h 41 #define included_ppp_h 50 #define ppp_error(n,s) PPP_ERROR_##n,
always_inline pg_node_t * pg_get_node(uword node_index)
always_inline vlib_node_t * vlib_get_node(vlib_main_t *vm, u32 i)
unformat_function_t unformat_ppp_header
always_inline ppp_protocol_info_t * ppp_get_protocol_info(ppp_main_t *em, ppp_protocol_t protocol)
uword * protocol_info_by_protocol
unformat_function_t unformat_ppp_protocol_host_byte_order
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
ppp_protocol_info_t * protocol_infos
always_inline void ppp_setup_node(vlib_main_t *vm, u32 node_index)
unformat_function_t * unformat_buffer
unformat_function_t * unformat_edit
void ppp_set_adjacency(vnet_rewrite_header_t *rw, uword max_data_bytes, ppp_protocol_t protocol)
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