|
| 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)) |
| |
| nsh_option_map_t * | nsh_md2_lookup_option (u16 class, u8 type) |
| |
| int | nsh_md2_unregister_option (u16 class, u8 type, int options(vlib_buffer_t *b, nsh_tlv_header_t *opt), u8 *trace(u8 *s, nsh_tlv_header_t *opt)) |
| |
| u8 * | format_nsh_header (u8 *s, va_list *args) |
| |
| static u8 * | format_nsh_action (u8 *s, va_list *args) |
| |
| u8 * | format_nsh_map (u8 *s, va_list *args) |
| |
| u8 * | format_nsh_node_map_trace (u8 *s, va_list *args) |
| |
| static u8 * | format_nsh_name (u8 *s, va_list *args) |
| | Naming for NSH tunnel. More...
|
| |
| static clib_error_t * | nsh_interface_admin_up_down (vnet_main_t *vnm, u32 nsh_hw_if, u32 flags) |
| | CLI function for NSH admin up/down. More...
|
| |
| static uword | dummy_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| |
| | VNET_DEVICE_CLASS (nsh_device_class, static) |
| |
| static u8 * | format_nsh_tunnel_with_length (u8 *s, va_list *args) |
| | Formatting function for tracing VXLAN GPE with length. More...
|
| |
| | VNET_HW_INTERFACE_CLASS (nsh_hw_class) |
| |
| int | nsh_add_del_map (nsh_add_del_map_args_t *a, u32 *map_indexp) |
| | Action function to add or del an nsh map. More...
|
| |
| int | nsh_add_del_proxy_session (nsh_add_del_map_args_t *a) |
| | Action function to add or del an nsh-proxy-session. More...
|
| |
| static uword | unformat_nsh_action (unformat_input_t *input, va_list *args) |
| | CLI command for NSH map. More...
|
| |
| static adj_index_t | nsh_get_adj_by_sw_if_index (u32 sw_if_index) |
| |
| static clib_error_t * | nsh_add_del_map_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| |
| static void | vl_api_nsh_add_del_map_t_handler (vl_api_nsh_add_del_map_t *mp) |
| | API message handler. More...
|
| |
| static clib_error_t * | show_nsh_map_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| | CLI command for showing the mapping between NSH entries. More...
|
| |
| int | nsh_header_rewrite (nsh_entry_t *nsh_entry) |
| |
| int | nsh_add_del_entry (nsh_add_del_entry_args_t *a, u32 *entry_indexp) |
| | Action function for adding an NSH entry nsh_add_del_entry_args_t *a: host order. More...
|
| |
| static clib_error_t * | nsh_add_del_entry_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| | CLI command for adding NSH entry. More...
|
| |
| static void | vl_api_nsh_add_del_entry_t_handler (vl_api_nsh_add_del_entry_t *mp) |
| | API message handler. More...
|
| |
| static void | send_nsh_entry_details (nsh_entry_t *t, unix_shared_memory_queue_t *q, u32 context) |
| |
| static void | vl_api_nsh_entry_dump_t_handler (vl_api_nsh_entry_dump_t *mp) |
| |
| static void | send_nsh_map_details (nsh_map_t *t, unix_shared_memory_queue_t *q, u32 context) |
| |
| static void | vl_api_nsh_map_dump_t_handler (vl_api_nsh_map_dump_t *mp) |
| |
| static clib_error_t * | show_nsh_entry_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| |
| static clib_error_t * | nsh_plugin_api_hookup (vlib_main_t *vm) |
| |
| static void | setup_message_id_table (nsh_main_t *nm, api_main_t *am) |
| |
| static void | nsh_md2_encap (vlib_buffer_t *b, nsh_base_header_t *hdr, nsh_entry_t *nsh_entry) |
| |
| static void | nsh_md2_swap (vlib_buffer_t *b, nsh_base_header_t *hdr, u32 header_len, nsh_entry_t *nsh_entry, u32 *next, u32 drop_node_val) |
| |
| static void | nsh_md2_decap (vlib_buffer_t *b, nsh_base_header_t *hdr, u32 *header_len, u32 *next, u32 drop_node_val) |
| |
| static uword | nsh_input_map (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u32 node_type) |
| |
| static uword | nsh_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
| | Graph processing dispatch function for NSH Input. More...
|
| |
| static uword | nsh_proxy (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
| | Graph processing dispatch function for NSH-Proxy. More...
|
| |
| static uword | nsh_classifier (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
| | Graph processing dispatch function for NSH Classifier. More...
|
| |
| static uword | nsh_aware_vnf_proxy (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
| | Graph processing dispatch function for NSH-AWARE-VNF-PROXY. More...
|
| |
| | VLIB_NODE_FUNCTION_MULTIARCH (nsh_input_node, nsh_input) |
| |
| | VLIB_NODE_FUNCTION_MULTIARCH (nsh_proxy_node, nsh_proxy) |
| |
| | VLIB_NODE_FUNCTION_MULTIARCH (nsh_classifier_node, nsh_classifier) |
| |
| | VLIB_NODE_FUNCTION_MULTIARCH (nsh_aware_vnf_proxy_node, nsh_aware_vnf_proxy) |
| |
| void | nsh_md2_set_next_ioam_export_override (uword next) |
| |
| clib_error_t * | nsh_init (vlib_main_t *vm) |
| |
| | VLIB_PLUGIN_REGISTER () |
| |
|
| const char | dummy_dst_address [6] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 } |
| |
| const char | dummy_src_address [6] = { 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc } |
| |
| static vlib_cli_command_t | create_nsh_map_command |
| | (constructor) VLIB_CLI_COMMAND (create_nsh_map_command) More...
|
| |
| static vlib_cli_command_t | show_nsh_map_command |
| | (constructor) VLIB_CLI_COMMAND (show_nsh_map_command) More...
|
| |
| static vlib_cli_command_t | create_nsh_entry_command |
| | (constructor) VLIB_CLI_COMMAND (create_nsh_entry_command) More...
|
| |
| static vlib_cli_command_t | show_nsh_entry_command |
| | (constructor) VLIB_CLI_COMMAND (show_nsh_entry_command) More...
|
| |
| static char * | nsh_node_error_strings [] |
| |
| vlib_node_registration_t | nsh_input_node |
| | (constructor) VLIB_REGISTER_NODE (nsh_input_node) More...
|
| |
| vlib_node_registration_t | nsh_proxy_node |
| | (constructor) VLIB_REGISTER_NODE (nsh_proxy_node) More...
|
| |
| vlib_node_registration_t | nsh_classifier_node |
| | (constructor) VLIB_REGISTER_NODE (nsh_classifier_node) More...
|
| |
| vlib_node_registration_t | nsh_aware_vnf_proxy_node |
| | (constructor) VLIB_REGISTER_NODE (nsh_aware_vnf_proxy_node) More...
|
| |