![]() |
FD.io VPP
v16.12-rc0-308-g931be3a
Vector Packet Processing
|
IPv6 Forwarding. More...
Include dependency graph for ip6_forward.c:Go to the source code of this file.
Data Structures | |
| struct | ip6_forward_next_trace_t |
| struct | ip6_hop_by_hop_trace_t |
Macros | |
| #define | foreach_ip6_hop_by_hop_error |
| #define | TEST_CODE 1 |
Variables | |
| static char * | rx_feature_start_nodes [] |
| static char * | tx_feature_start_nodes [] |
| vlib_node_registration_t | ip6_lookup_node |
| (constructor) VLIB_REGISTER_NODE (ip6_lookup_node) More... | |
| vlib_node_registration_t | ip6_load_balance_node |
| (constructor) VLIB_REGISTER_NODE (ip6_load_balance_node) More... | |
| static vlib_node_registration_t | ip6_drop_node |
| (constructor) VLIB_REGISTER_NODE (ip6_drop_node) More... | |
| static vlib_node_registration_t | ip6_punt_node |
| (constructor) VLIB_REGISTER_NODE (ip6_punt_node) More... | |
| static vlib_node_registration_t | ip6_multicast_node |
| (constructor) VLIB_REGISTER_NODE (ip6_multicast_node) More... | |
| static vlib_node_registration_t | ip6_local_node |
| (constructor) VLIB_REGISTER_NODE (ip6_local_node) More... | |
| static char * | ip6_discover_neighbor_error_strings [] |
| vlib_node_registration_t | ip6_discover_neighbor_node |
| (constructor) VLIB_REGISTER_NODE (ip6_discover_neighbor_node) More... | |
| vlib_node_registration_t | ip6_glean_node |
| (constructor) VLIB_REGISTER_NODE (ip6_glean_node) More... | |
| vlib_node_registration_t | ip6_midchain_node |
| (constructor) VLIB_REGISTER_NODE (ip6_midchain_node) More... | |
| vlib_node_registration_t | ip6_rewrite_node |
| (constructor) VLIB_REGISTER_NODE (ip6_rewrite_node) More... | |
| vlib_node_registration_t | ip6_rewrite_local_node |
| (constructor) VLIB_REGISTER_NODE (ip6_rewrite_local_node) More... | |
| ip6_hop_by_hop_main_t | ip6_hop_by_hop_main |
| vlib_node_registration_t | ip6_hop_by_hop_node |
| (constructor) VLIB_REGISTER_NODE (ip6_hop_by_hop_node) More... | |
| static char * | ip6_hop_by_hop_error_strings [] |
| ip6_main_t | ip6_main |
| static vlib_cli_command_t | set_interface_ip6_table_command |
| (constructor) VLIB_CLI_COMMAND (set_interface_ip6_table_command) More... | |
| static vlib_cli_command_t | test_link_command |
| (constructor) VLIB_CLI_COMMAND (test_link_command) More... | |
| static vlib_cli_command_t | set_ip6_flow_hash_command |
| (constructor) VLIB_CLI_COMMAND (set_ip6_flow_hash_command) More... | |
| static vlib_cli_command_t | show_ip6_local |
| (constructor) VLIB_CLI_COMMAND (show_ip6_local) More... | |
| static vlib_cli_command_t | set_ip6_classify_command |
| (constructor) VLIB_CLI_COMMAND (set_ip6_classify_command) More... | |
| static vlib_cli_command_t | set_interface_ip6_output_feature |
| (constructor) VLIB_CLI_COMMAND (set_interface_ip6_output_feature) More... | |
IPv6 Forwarding.
This file contains the source code for IPv6 forwarding.
Definition in file ip6_forward.c.
| #define foreach_ip6_hop_by_hop_error |
Definition at line 2224 of file ip6_forward.c.
| #define TEST_CODE 1 |
Definition at line 3213 of file ip6_forward.c.
| Enumerator | |
|---|---|
| IP6_DISCOVER_NEIGHBOR_ERROR_DROP | |
| IP6_DISCOVER_NEIGHBOR_ERROR_REQUEST_SENT | |
| IP6_DISCOVER_NEIGHBOR_ERROR_NO_SOURCE_ADDRESS | |
Definition at line 1493 of file ip6_forward.c.
| Enumerator | |
|---|---|
| IP6_DISCOVER_NEIGHBOR_NEXT_DROP | |
| IP6_DISCOVER_NEIGHBOR_NEXT_REPLY_TX | |
| IP6_DISCOVER_NEIGHBOR_N_NEXT | |
Definition at line 1487 of file ip6_forward.c.
| Enumerator | |
|---|---|
| IP6_HOP_BY_HOP_N_ERROR | |
Definition at line 2229 of file ip6_forward.c.
| enum ip6_rewrite_next_t |
| Enumerator | |
|---|---|
| IP6_REWRITE_NEXT_DROP | |
| IP6_REWRITE_NEXT_ICMP_ERROR | |
Definition at line 1821 of file ip6_forward.c.
|
static |
Definition at line 2255 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 900 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* ip6_add_del_interface_address | ( | vlib_main_t * | vm, |
| u32 | sw_if_index, | ||
| ip6_address_t * | address, | ||
| u32 | address_length, | ||
| u32 | is_del | ||
| ) |
Definition at line 491 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 316 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 386 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1500 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1050 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1027 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_ethernet_mac_address_from_link_local_address | ( | u8 * | mac, |
| ip6_address_t * | ip | ||
| ) |
|
static |
Definition at line 671 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_forward_next_trace | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame, | ||
| vlib_rx_or_tx_t | which_adj_index | ||
| ) |
Definition at line 938 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void ip6_hbh_set_next_override | ( | uword | next | ) |
| int ip6_hbh_unregister_option | ( | u8 | option | ) |
|
static |
|
static |
| ip6_address_t* ip6_interface_first_address | ( | ip6_main_t * | im, |
| u32 | sw_if_index, | ||
| ip_interface_address_t ** | result_ia | ||
| ) |
Definition at line 470 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_link_local_address_from_ethernet_mac_address | ( | ip6_address_t * | ip, |
| u8 * | mac | ||
| ) |
|
inlinestatic |
|
static |
|
static |
Definition at line 759 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2658 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 66 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| clib_error_t* ip6_probe_neighbor | ( | vlib_main_t * | vm, |
| ip6_address_t * | dst, | ||
| u32 | sw_if_index | ||
| ) |
Definition at line 1749 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1477 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 1827 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
inlinestatic |
Definition at line 2294 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* ip6_sw_interface_add_del | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | is_add | ||
| ) |
| clib_error_t* ip6_sw_interface_admin_up_down | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | flags | ||
| ) |
Definition at line 412 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u16 ip6_tcp_udp_icmp_compute_checksum | ( | vlib_main_t * | vm, |
| vlib_buffer_t * | p0, | ||
| ip6_header_t * | ip0, | ||
| int * | bogus_lengthp | ||
| ) |
Definition at line 1105 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 ip6_tcp_udp_icmp_validate_checksum | ( | vlib_main_t * | vm, |
| vlib_buffer_t * | p0 | ||
| ) |
Definition at line 1200 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | ip6_rewrite_node | , |
| ip6_rewrite_transit | |||
| ) |
Here is the caller graph for this function:| VLIB_NODE_FUNCTION_MULTIARCH | ( | ip6_rewrite_local_node | , |
| ip6_rewrite_local | |||
| ) |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | ip6_hop_by_hop_node | , |
| ip6_hop_by_hop | |||
| ) |
| VNET_IP6_MULTICAST_FEATURE_INIT | ( | ip6_vpath_mc | , |
| static | |||
| ) |
Here is the caller graph for this function:| VNET_IP6_MULTICAST_FEATURE_INIT | ( | ip6_lookup | , |
| static | |||
| ) |
| VNET_IP6_MULTICAST_FEATURE_INIT | ( | ip6_drop_mc | , |
| static | |||
| ) |
| VNET_IP6_TX_FEATURE_INIT | ( | interface_output | , |
| static | |||
| ) |
| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_flow_classify | , |
| static | |||
| ) |
Here is the caller graph for this function:| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_inacl | , |
| static | |||
| ) |
| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_policer_classify | , |
| static | |||
| ) |
| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_ipsec | , |
| static | |||
| ) |
| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_l2tp | , |
| static | |||
| ) |
| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_vpath | , |
| static | |||
| ) |
| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_lookup | , |
| static | |||
| ) |
| VNET_IP6_UNICAST_FEATURE_INIT | ( | ip6_drop | , |
| static | |||
| ) |
| int vnet_set_ip6_classify_intfc | ( | vlib_main_t * | vm, |
| u32 | sw_if_index, | ||
| u32 | table_index | ||
| ) |
Definition at line 3058 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2877 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VNET_SW_INTERFACE_ADD_DEL_FUNCTION | ( | ip6_sw_interface_add_del | ) |
Here is the caller graph for this function:| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION | ( | ip6_sw_interface_admin_up_down | ) |
Here is the caller graph for this function:
|
static |
Definition at line 1706 of file ip6_forward.c.
| vlib_node_registration_t ip6_discover_neighbor_node |
(constructor) VLIB_REGISTER_NODE (ip6_discover_neighbor_node)
Definition at line 1714 of file ip6_forward.c.
|
static |
(constructor) VLIB_REGISTER_NODE (ip6_drop_node)
Definition at line 1061 of file ip6_forward.c.
| vlib_node_registration_t ip6_glean_node |
(constructor) VLIB_REGISTER_NODE (ip6_glean_node)
Definition at line 1731 of file ip6_forward.c.
|
static |
Definition at line 2248 of file ip6_forward.c.
| ip6_hop_by_hop_main_t ip6_hop_by_hop_main |
Definition at line 2222 of file ip6_forward.c.
| vlib_node_registration_t ip6_hop_by_hop_node |
(constructor) VLIB_REGISTER_NODE (ip6_hop_by_hop_node)
Definition at line 2246 of file ip6_forward.c.
| vlib_node_registration_t ip6_load_balance_node |
(constructor) VLIB_REGISTER_NODE (ip6_load_balance_node)
Definition at line 866 of file ip6_forward.c.
|
static |
(constructor) VLIB_REGISTER_NODE (ip6_local_node)
Definition at line 1459 of file ip6_forward.c.
| vlib_node_registration_t ip6_lookup_node |
(constructor) VLIB_REGISTER_NODE (ip6_lookup_node)
Definition at line 768 of file ip6_forward.c.
| ip6_main_t ip6_main |
Definition at line 2655 of file ip6_forward.c.
| vlib_node_registration_t ip6_midchain_node |
(constructor) VLIB_REGISTER_NODE (ip6_midchain_node)
Definition at line 2176 of file ip6_forward.c.
|
static |
(constructor) VLIB_REGISTER_NODE (ip6_multicast_node)
Definition at line 1091 of file ip6_forward.c.
|
static |
(constructor) VLIB_REGISTER_NODE (ip6_punt_node)
Definition at line 1076 of file ip6_forward.c.
| vlib_node_registration_t ip6_rewrite_local_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_local_node)
Definition at line 2204 of file ip6_forward.c.
| vlib_node_registration_t ip6_rewrite_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_node)
Definition at line 2188 of file ip6_forward.c.
|
static |
Definition at line 654 of file ip6_forward.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_interface_ip6_output_feature)
Definition at line 3259 of file ip6_forward.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_interface_ip6_table_command)
Definition at line 2801 of file ip6_forward.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_ip6_classify_command)
Definition at line 3173 of file ip6_forward.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_ip6_flow_hash_command)
Definition at line 3009 of file ip6_forward.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_ip6_local)
Definition at line 3051 of file ip6_forward.c.
|
static |
(constructor) VLIB_CLI_COMMAND (test_link_command)
Definition at line 2870 of file ip6_forward.c.
|
static |
Definition at line 657 of file ip6_forward.c.