|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
40 #ifndef included_osi_h
41 #define included_osi_h
46 #define foreach_osi_protocol \
63 _ (compressed, 0xb0) \
70 #define _(f,n) OSI_PROTOCOL_##f = n,
97 #define foreach_osi_error \
98 _ (NONE, "no error") \
99 _ (UNKNOWN_PROTOCOL, "unknown osi protocol")
103 #define _(f,s) OSI_ERROR_##f,
119 u8 input_next_by_protocol[256];
unformat_function_t unformat_osi_protocol
#define foreach_osi_protocol
uword * protocol_info_by_protocol
format_function_t format_osi_header_with_length
unformat_function_t unformat_pg_osi_header
static void osi_setup_node(vlib_main_t *vm, u32 node_index)
static osi_protocol_info_t * osi_get_protocol_info(osi_main_t *m, osi_protocol_t protocol)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
format_function_t format_osi_protocol
unformat_function_t * unformat_buffer
format_function_t * format_buffer
unformat_function_t * unformat_edit
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
osi_protocol_info_t * protocol_infos
static pg_node_t * pg_get_node(uword node_index)
#define foreach_osi_error
unformat_function_t unformat_osi_header
static vlib_node_t * vlib_get_node(vlib_main_t *vm, u32 i)
Get vlib node by index.
vl_api_ip_proto_t protocol
format_function_t format_osi_header
void osi_register_input_protocol(osi_protocol_t protocol, u32 node_index)