FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | nsh_option_map_by_key_t |
struct | nsh_option_map_t |
struct | nsh_entry_t |
Note: rewrite and rewrite_size used to support varied nsh header. More... | |
struct | nsh_add_del_entry_args_t |
struct | nsh_map_t |
struct | nsh_add_del_map_args_t |
struct | nsh_proxy_session_by_key_t |
struct | nsh_proxy_session_t |
struct | nsh_main_t |
struct | nsh_input_trace_t |
Macros | |
#define | MAX_METADATA_LEN 62 |
#define | MAX_MD2_OPTIONS 256 |
#define | foreach_copy_nsh_base_hdr_field |
#define | foreach_nsh_node_error |
#define | foreach_nsh_node_next |
#define | VNET_SW_INTERFACE_FLAG_ADMIN_DOWN 0 |
#define | NSH_MD2_IOAM_CLASS 0x9 |
#define | NSH_MD2_IOAM_OPTION_TYPE_TRACE 0x3B |
#define | NSH_MD2_IOAM_OPTION_TYPE_PROOF_OF_TRANSIT 0x3C |
#define | NSH_MD2_IOAM_TRACE_DUMMY_LEN 0x8 |
#define | MAX_NSH_HEADER_LEN 256 |
#define | MAX_NSH_OPTION_LEN 128 |
Typedefs | |
typedef struct _nsh_main_dummy | nsh_main_dummy_t |
Enumerations | |
enum | nsh_input_error_t { NSH_NODE_N_ERROR } |
enum | nsh_node_next_t { NSH_NODE_N_NEXT } |
enum | nsh_action_type { NSH_ACTION_SWAP, NSH_ACTION_PUSH, NSH_ACTION_POP } |
enum | nsh_entity_type { NSH_INPUT_TYPE, NSH_PROXY_TYPE, NSH_CLASSIFIER_TYPE, NSH_AWARE_VNF_PROXY_TYPE } |
Functions | |
u8 * | format_nsh_input_map_trace (u8 *s, va_list *args) |
u8 * | format_nsh_header_with_length (u8 *s, va_list *args) |
int | nsh_md2_register_option (u16 class, u8 type, u8 option_size, int add_options(u8 *opt, u8 *opt_size), int options(vlib_buffer_t *b, nsh_tlv_header_t *opt), int swap_options(vlib_buffer_t *b, nsh_tlv_header_t *old_opt, nsh_tlv_header_t *new_opt), int pop_options(vlib_buffer_t *b, nsh_tlv_header_t *opt), u8 *trace(u8 *s, nsh_tlv_header_t *opt)) |
Variables | |
nsh_main_t | nsh_main |
vlib_node_registration_t | nsh_aware_vnf_proxy_node |
(constructor) VLIB_REGISTER_NODE (nsh_aware_vnf_proxy_node) More... | |
vlib_node_registration_t | nsh_eth_output_node |
(constructor) VLIB_REGISTER_NODE (nsh_eth_output_node) More... | |
#define foreach_copy_nsh_base_hdr_field |
#define foreach_nsh_node_error |
#define foreach_nsh_node_next |
typedef struct _nsh_main_dummy nsh_main_dummy_t |
enum nsh_action_type |
enum nsh_entity_type |
enum nsh_input_error_t |
enum nsh_node_next_t |
int nsh_md2_register_option | ( | u16 | class, |
u8 | type, | ||
u8 | option_size, | ||
int | add_optionsu8 *opt, u8 *opt_size, | ||
int | optionsvlib_buffer_t *b, nsh_tlv_header_t *opt, | ||
int | swap_optionsvlib_buffer_t *b, nsh_tlv_header_t *old_opt, nsh_tlv_header_t *new_opt, | ||
int | pop_optionsvlib_buffer_t *b, nsh_tlv_header_t *opt, | ||
u8 * | traceu8 *s, nsh_tlv_header_t *opt | ||
) |
vlib_node_registration_t nsh_aware_vnf_proxy_node |
vlib_node_registration_t nsh_eth_output_node |
(constructor) VLIB_REGISTER_NODE (nsh_eth_output_node)
Definition at line 334 of file nsh_output.c.
nsh_main_t nsh_main |