![]() |
FD.io VPP
v16.06
Vector Packet Processing
|
Include dependency graph for ip6_forward.c:Go to the source code of this file.
Data Structures | |
| struct | ip6_interface_address_t |
| struct | ip6_forward_next_trace_t |
Variables | |
| vlib_node_registration_t | ip6_lookup_node |
| (constructor) VLIB_REGISTER_NODE (ip6_lookup_node) More... | |
| vlib_node_registration_t | ip6_indirect_node |
| (constructor) VLIB_REGISTER_NODE (ip6_indirect_node) More... | |
| vlib_node_registration_t | ip6_drop_node |
| (constructor) VLIB_REGISTER_NODE (ip6_drop_node) More... | |
| vlib_node_registration_t | ip6_punt_node |
| (constructor) VLIB_REGISTER_NODE (ip6_punt_node) More... | |
| vlib_node_registration_t | ip6_miss_node |
| (constructor) VLIB_REGISTER_NODE (ip6_miss_node) More... | |
| vlib_node_registration_t | ip6_multicast_node |
| (constructor) VLIB_REGISTER_NODE (ip6_multicast_node) More... | |
| 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_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_main_t | ip6_main |
| vlib_cli_command_t | set_interface_ip_table_command |
| (constructor) VLIB_CLI_COMMAND (set_interface_ip_table_command) More... | |
| vlib_cli_command_t | test_link_command |
| (constructor) VLIB_CLI_COMMAND (test_link_command) More... | |
| vlib_cli_command_t | set_ip6_flow_hash_command |
| (constructor) VLIB_CLI_COMMAND (set_ip6_flow_hash_command) More... | |
| vlib_cli_command_t | show_ip_local |
| (constructor) VLIB_CLI_COMMAND (show_ip_local) More... | |
| vlib_cli_command_t | set_ip6_classify_command |
| (constructor) VLIB_CLI_COMMAND (set_ip6_classify_command) More... | |
| Enumerator | |
|---|---|
| IP6_DISCOVER_NEIGHBOR_ERROR_DROP | |
| IP6_DISCOVER_NEIGHBOR_ERROR_REQUEST_SENT | |
Definition at line 1924 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 1918 of file ip6_forward.c.
| enum ip6_rewrite_next_t |
| Enumerator | |
|---|---|
| IP6_REWRITE_NEXT_DROP | |
Definition at line 2201 of file ip6_forward.c.
|
static |
|
static |
|
static |
Definition at line 172 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| ip6_fib_t* find_ip6_fib_by_table_index_or_id | ( | ip6_main_t * | im, |
| u32 | table_index_or_id, | ||
| u32 | flags | ||
| ) |
Get or create an IPv6 fib.
Get or create an IPv6 fib with the provided fib ID or index. The fib ID is a possibly-sparse user-defined value while the fib index defines the position of the fib in the fib vector.
| im | ip6_main pointer. |
| table_index_or_id | The table index if IP6_ROUTE_FLAG_FIB_INDEX bit is set in flags. Otherwise, when set to ~0, an arbitrary and unused fib ID is picked and can be retrieved with ret->table_id. Otherwise, it is the fib ID to be used to retrieve or create the desired fib. |
| flags | Indicates whether table_index_or_id is the fib index or ID. When the bit IP6_ROUTE_FLAG_FIB_INDEX is set, table_index_or_id is considered as the fib index, and the fib ID otherwise. |
Definition at line 185 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1321 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 1155 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 1090 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_add_del_route | ( | ip6_main_t * | im, |
| ip6_add_del_route_args_t * | a | ||
| ) |
Definition at line 208 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_add_del_route_next_hop | ( | ip6_main_t * | im, |
| u32 | flags, | ||
| ip6_address_t * | dst_address, | ||
| u32 | dst_address_length, | ||
| ip6_address_t * | next_hop, | ||
| u32 | next_hop_sw_if_index, | ||
| u32 | next_hop_weight, | ||
| u32 | adj_index, | ||
| u32 | explicit_fib_index | ||
| ) |
Definition at line 301 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 983 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_adjacency_set_interface_route | ( | vnet_main_t * | vnm, |
| ip_adjacency_t * | adj, | ||
| u32 | sw_if_index, | ||
| u32 | if_address_index | ||
| ) |
Definition at line 945 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 1040 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_delete_matching_routes | ( | ip6_main_t * | im, |
| u32 | table_index_or_table_id, | ||
| u32 | flags, | ||
| ip6_address_t * | address, | ||
| u32 | address_length | ||
| ) |
Definition at line 620 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
Definition at line 1451 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 | ||
| ) |
| u32 ip6_fib_lookup | ( | ip6_main_t * | im, |
| u32 | sw_if_index, | ||
| ip6_address_t * | dst | ||
| ) |
Definition at line 94 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 ip6_fib_lookup_with_table | ( | ip6_main_t * | im, |
| u32 | fib_index, | ||
| ip6_address_t * | dst | ||
| ) |
Definition at line 61 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_foreach_matching_route | ( | ip6_main_t * | im, |
| u32 | table_index_or_table_id, | ||
| u32 | flags, | ||
| ip6_address_t * | dst_address, | ||
| u32 | address_length, | ||
| ip6_address_t ** | results, | ||
| u8 ** | result_lengths | ||
| ) |
Definition at line 547 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 1362 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 ip6_get_route | ( | ip6_main_t * | im, |
| u32 | table_index_or_table_id, | ||
| u32 | flags, | ||
| ip6_address_t * | address, | ||
| u32 | address_length | ||
| ) |
Definition at line 523 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void ip6_link_local_address_from_ethernet_mac_address | ( | ip6_address_t * | ip, |
| u8 * | mac | ||
| ) |
|
static |
|
static |
|
static |
Definition at line 2493 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| always_inline uword ip6_lookup_inline | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame, | ||
| int | is_indirect | ||
| ) |
Definition at line 665 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ip6_maybe_remap_adjacencies | ( | ip6_main_t * | im, |
| u32 | table_index_or_table_id, | ||
| u32 | flags | ||
| ) |
Definition at line 601 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 2129 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 1908 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| always_inline uword ip6_rewrite_inline | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame, | ||
| int | rewrite_for_locally_received_packets | ||
| ) |
Definition at line 2206 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
| 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 | ||
| ) |
| 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 1544 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 1639 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 |
| void vnet_ip6_fib_init | ( | ip6_main_t * | im, |
| u32 | fib_index | ||
| ) |
Definition at line 101 of file ip6_forward.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_set_ip6_classify_intfc | ( | vlib_main_t * | vm, |
| u32 | sw_if_index, | ||
| u32 | table_index | ||
| ) |
Definition at line 2758 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 2105 of file ip6_forward.c.
| vlib_node_registration_t ip6_discover_neighbor_node |
(constructor) VLIB_REGISTER_NODE (ip6_discover_neighbor_node)
Definition at line 2111 of file ip6_forward.c.
| vlib_node_registration_t ip6_drop_node |
(constructor) VLIB_REGISTER_NODE (ip6_drop_node)
Definition at line 1491 of file ip6_forward.c.
| vlib_node_registration_t ip6_indirect_node |
(constructor) VLIB_REGISTER_NODE (ip6_indirect_node)
Definition at line 1287 of file ip6_forward.c.
| vlib_node_registration_t ip6_local_node |
(constructor) VLIB_REGISTER_NODE (ip6_local_node)
Definition at line 1892 of file ip6_forward.c.
| vlib_node_registration_t ip6_lookup_node |
(constructor) VLIB_REGISTER_NODE (ip6_lookup_node)
Definition at line 1267 of file ip6_forward.c.
| ip6_main_t ip6_main |
Definition at line 2490 of file ip6_forward.c.
| vlib_node_registration_t ip6_miss_node |
(constructor) VLIB_REGISTER_NODE (ip6_miss_node)
Definition at line 1517 of file ip6_forward.c.
| vlib_node_registration_t ip6_multicast_node |
(constructor) VLIB_REGISTER_NODE (ip6_multicast_node)
Definition at line 1530 of file ip6_forward.c.
| vlib_node_registration_t ip6_punt_node |
(constructor) VLIB_REGISTER_NODE (ip6_punt_node)
Definition at line 1504 of file ip6_forward.c.
| vlib_node_registration_t ip6_rewrite_local_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_local_node)
Definition at line 2474 of file ip6_forward.c.
| vlib_node_registration_t ip6_rewrite_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_node)
Definition at line 2461 of file ip6_forward.c.
| vlib_cli_command_t set_interface_ip_table_command |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_table_command)
Definition at line 2607 of file ip6_forward.c.
| vlib_cli_command_t set_ip6_classify_command |
(constructor) VLIB_CLI_COMMAND (set_ip6_classify_command)
Definition at line 2821 of file ip6_forward.c.
| vlib_cli_command_t set_ip6_flow_hash_command |
(constructor) VLIB_CLI_COMMAND (set_ip6_flow_hash_command)
Definition at line 2725 of file ip6_forward.c.
| vlib_cli_command_t show_ip_local |
(constructor) VLIB_CLI_COMMAND (show_ip_local)
Definition at line 2752 of file ip6_forward.c.
| vlib_cli_command_t test_link_command |
(constructor) VLIB_CLI_COMMAND (test_link_command)
Definition at line 2663 of file ip6_forward.c.