FD.io VPP
v16.06
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
union | snap_header_t |
struct | snap_oui_and_protocol_t |
struct | snap_protocol_info_t |
struct | snap_main_t |
Macros | |
#define | foreach_ieee_oui |
#define | foreach_snap_cisco_protocol |
#define | foreach_snap_error |
Enumerations | |
enum | ieee_oui_t { foreach_ieee_oui } |
enum | snap_cisco_protocol_t { foreach_snap_cisco_protocol } |
enum | snap_error_t { SNAP_N_ERROR } |
Functions | |
always_inline void | snap_header_set_protocol (snap_header_t *h, snap_oui_and_protocol_t *p) |
always_inline u32 | snap_header_get_oui (snap_header_t *h) |
always_inline snap_protocol_info_t * | snap_get_protocol_info (snap_main_t *sm, snap_header_t *h) |
void | snap_register_input_protocol (vlib_main_t *vm, char *name, u32 ieee_oui, u16 protocol, u32 node_index) |
void | snap_set_adjacency (vnet_rewrite_header_t *rw, uword max_data_bytes, u32 ieee_oui, u16 protocol) |
always_inline void | snap_setup_node (vlib_main_t *vm, u32 node_index) |
#define foreach_ieee_oui |
#define foreach_snap_cisco_protocol |
#define foreach_snap_error |
enum ieee_oui_t |
enum snap_error_t |
always_inline snap_protocol_info_t* snap_get_protocol_info | ( | snap_main_t * | sm, |
snap_header_t * | h | ||
) |
always_inline u32 snap_header_get_oui | ( | snap_header_t * | h | ) |
always_inline void snap_header_set_protocol | ( | snap_header_t * | h, |
snap_oui_and_protocol_t * | p | ||
) |
void snap_register_input_protocol | ( | vlib_main_t * | vm, |
char * | name, | ||
u32 | ieee_oui, | ||
u16 | protocol, | ||
u32 | node_index | ||
) |
void snap_set_adjacency | ( | vnet_rewrite_header_t * | rw, |
uword | max_data_bytes, | ||
u32 | ieee_oui, | ||
u16 | protocol | ||
) |
always_inline void snap_setup_node | ( | vlib_main_t * | vm, |
u32 | node_index | ||
) |
format_function_t format_snap_header |
format_function_t format_snap_header_with_length |
format_function_t format_snap_protocol |
snap_main_t snap_main |
unformat_function_t unformat_pg_snap_header |
unformat_function_t unformat_snap_header |
unformat_function_t unformat_snap_protocol |