FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
nsh_main_t Struct Reference
+ Collaboration diagram for nsh_main_t:

Data Fields

u16 msg_id_base
 
nsh_entry_tnsh_entries
 
uwordnsh_entry_by_key
 
nsh_map_tnsh_mappings
 
uwordnsh_mapping_by_key
 
uwordnsh_mapping_by_mapped_key
 
nsh_proxy_session_tnsh_proxy_sessions
 
uwordnsh_proxy_session_by_key
 
u32free_nsh_tunnel_hw_if_indices
 Free vlib hw_if_indices. More...
 
u32tunnel_index_by_sw_if_index
 Mapping from sw_if_index to tunnel index. More...
 
nsh_option_map_tnsh_option_mappings
 
uwordnsh_option_map_by_key
 
u8 options_size [MAX_MD2_OPTIONS]
 
int(* add_options [MAX_MD2_OPTIONS])(u8 *opt, u8 *opt_size)
 
int(* options [MAX_MD2_OPTIONS])(vlib_buffer_t *b, nsh_tlv_header_t *opt)
 
int(* swap_options [MAX_MD2_OPTIONS])(vlib_buffer_t *b, nsh_tlv_header_t *old_opt, nsh_tlv_header_t *new_opt)
 
int(* pop_options [MAX_MD2_OPTIONS])(vlib_buffer_t *b, nsh_tlv_header_t *opt)
 
u8 *(* trace [MAX_MD2_OPTIONS])(u8 *s, nsh_tlv_header_t *opt)
 
uword decap_v4_next_override
 
u8 input_feature_arc_index
 
u8 output_feature_arc_index
 
u32 nsh_input_node_index
 
u32 nsh_proxy_node_index
 
u32 nsh_classifier_node_index
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 

Detailed Description

Definition at line 105 of file nsh.h.

Field Documentation

◆ add_options

int(* nsh_main_t::add_options[MAX_MD2_OPTIONS])(u8 *opt, u8 *opt_size)

Definition at line 146 of file nsh.h.

◆ decap_v4_next_override

uword nsh_main_t::decap_v4_next_override

Definition at line 156 of file nsh.h.

◆ free_nsh_tunnel_hw_if_indices

u32* nsh_main_t::free_nsh_tunnel_hw_if_indices

Free vlib hw_if_indices.

Definition at line 129 of file nsh.h.

◆ input_feature_arc_index

u8 nsh_main_t::input_feature_arc_index

Definition at line 159 of file nsh.h.

◆ msg_id_base

u16 nsh_main_t::msg_id_base

Definition at line 107 of file nsh.h.

◆ nsh_classifier_node_index

u32 nsh_main_t::nsh_classifier_node_index

Definition at line 164 of file nsh.h.

◆ nsh_entries

nsh_entry_t* nsh_main_t::nsh_entries

Definition at line 110 of file nsh.h.

◆ nsh_entry_by_key

uword* nsh_main_t::nsh_entry_by_key

Definition at line 113 of file nsh.h.

◆ nsh_input_node_index

u32 nsh_main_t::nsh_input_node_index

Definition at line 162 of file nsh.h.

◆ nsh_mapping_by_key

uword* nsh_main_t::nsh_mapping_by_key

Definition at line 119 of file nsh.h.

◆ nsh_mapping_by_mapped_key

uword* nsh_main_t::nsh_mapping_by_mapped_key

Definition at line 120 of file nsh.h.

◆ nsh_mappings

nsh_map_t* nsh_main_t::nsh_mappings

Definition at line 116 of file nsh.h.

◆ nsh_option_map_by_key

uword* nsh_main_t::nsh_option_map_by_key

Definition at line 136 of file nsh.h.

◆ nsh_option_mappings

nsh_option_map_t* nsh_main_t::nsh_option_mappings

Definition at line 134 of file nsh.h.

◆ nsh_proxy_node_index

u32 nsh_main_t::nsh_proxy_node_index

Definition at line 163 of file nsh.h.

◆ nsh_proxy_session_by_key

uword* nsh_main_t::nsh_proxy_session_by_key

Definition at line 126 of file nsh.h.

◆ nsh_proxy_sessions

nsh_proxy_session_t* nsh_main_t::nsh_proxy_sessions

Definition at line 123 of file nsh.h.

◆ options

int(* nsh_main_t::options[MAX_MD2_OPTIONS])(vlib_buffer_t *b, nsh_tlv_header_t *opt)

Definition at line 148 of file nsh.h.

◆ options_size

u8 nsh_main_t::options_size[MAX_MD2_OPTIONS]

Definition at line 145 of file nsh.h.

◆ output_feature_arc_index

u8 nsh_main_t::output_feature_arc_index

Definition at line 160 of file nsh.h.

◆ pop_options

int(* nsh_main_t::pop_options[MAX_MD2_OPTIONS])(vlib_buffer_t *b, nsh_tlv_header_t *opt)

Definition at line 153 of file nsh.h.

◆ swap_options

int(* nsh_main_t::swap_options[MAX_MD2_OPTIONS])(vlib_buffer_t *b, nsh_tlv_header_t *old_opt, nsh_tlv_header_t *new_opt)

Definition at line 150 of file nsh.h.

◆ trace

u8*(* nsh_main_t::trace[MAX_MD2_OPTIONS])(u8 *s, nsh_tlv_header_t *opt)

Definition at line 155 of file nsh.h.

◆ tunnel_index_by_sw_if_index

u32* nsh_main_t::tunnel_index_by_sw_if_index

Mapping from sw_if_index to tunnel index.

Definition at line 131 of file nsh.h.

◆ vlib_main

vlib_main_t* nsh_main_t::vlib_main

Definition at line 167 of file nsh.h.

◆ vnet_main

vnet_main_t* nsh_main_t::vnet_main

Definition at line 168 of file nsh.h.


The documentation for this struct was generated from the following file: