FD.io VPP
v18.07-rc0-415-g6c78436
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ip6_fib_key_t |
struct | ip6_fib_t |
struct | ip6_mfib_t |
struct | ip6_add_del_interface_address_callback_t |
struct | ip6_table_bind_callback_t |
struct | ip6_fib_table_instance_t_ |
A represenation of a single IP6 table. More... | |
struct | ip6_main_t |
struct | ip6_hop_by_hop_main_t |
Macros | |
#define | IP6_FIB_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
#define | IP6_FIB_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
#define | IP6_FIB_NUM_TABLES (IP6_FIB_TABLE_NON_FWDING+1) |
Typedefs | |
typedef struct ip6_mfib_t | ip6_mfib_t |
typedef void( | ip6_add_del_interface_address_function_t) (struct ip6_main_t *im, uword opaque, u32 sw_if_index, ip6_address_t *address, u32 address_length, u32 if_address_index, u32 is_del) |
typedef void( | ip6_table_bind_function_t) (struct ip6_main_t *im, uword opaque, u32 sw_if_index, u32 new_fib_index, u32 old_fib_index) |
typedef enum ip6_fib_table_instance_type_t_ | ip6_fib_table_instance_type_t |
Enumeration of the FIB table instance types. More... | |
typedef struct ip6_fib_table_instance_t_ | ip6_fib_table_instance_t |
A represenation of a single IP6 table. More... | |
typedef struct ip6_main_t | ip6_main_t |
Enumerations | |
enum | ip6_fib_table_instance_type_t_ { IP6_FIB_TABLE_FWDING, IP6_FIB_TABLE_NON_FWDING } |
Enumeration of the FIB table instance types. More... | |
Variables | |
ip6_main_t | ip6_main |
vlib_node_registration_t | ip6_input_node |
(constructor) VLIB_REGISTER_NODE (ip6_input_node) More... | |
vlib_node_registration_t | ip6_rewrite_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_node) More... | |
vlib_node_registration_t | ip6_rewrite_mcast_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_mcast_node) More... | |
vlib_node_registration_t | ip6_rewrite_local_node |
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... | |
serialize_function_t | serialize_vnet_ip6_main |
serialize_function_t | unserialize_vnet_ip6_main |
vlib_node_registration_t | ip6_lookup_node |
(constructor) VLIB_REGISTER_NODE (ip6_lookup_node) More... | |
ip6_hop_by_hop_main_t | ip6_hop_by_hop_main |
#define IP6_FIB_NUM_TABLES (IP6_FIB_TABLE_NON_FWDING+1) |
typedef void( ip6_add_del_interface_address_function_t) (struct ip6_main_t *im, uword opaque, u32 sw_if_index, ip6_address_t *address, u32 address_length, u32 if_address_index, u32 is_del) |
typedef struct ip6_fib_table_instance_t_ ip6_fib_table_instance_t |
A represenation of a single IP6 table.
Enumeration of the FIB table instance types.
typedef struct ip6_main_t ip6_main_t |
typedef struct ip6_mfib_t ip6_mfib_t |
typedef void( ip6_table_bind_function_t) (struct ip6_main_t *im, uword opaque, u32 sw_if_index, u32 new_fib_index, u32 old_fib_index) |
Enumeration of the FIB table instance types.
clib_error_t* disable_ip6_interface | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
Definition at line 4096 of file ip6_neighbor.c.
clib_error_t* enable_ip6_interface | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
Definition at line 4149 of file ip6_neighbor.c.
Definition at line 2074 of file ip6_forward.c.
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 193 of file ip6_forward.c.
int ip6_address_compare | ( | ip6_address_t * | a1, |
ip6_address_t * | a2 | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void ip6_ethernet_mac_address_from_link_local_address | ( | u8 * | mac, |
ip6_address_t * | ip | ||
) |
void ip6_ethernet_update_adjacency | ( | vnet_main_t * | vnm, |
u32 | sw_if_index, | ||
u32 | ai | ||
) |
Definition at line 621 of file ip6_neighbor.c.
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 818 of file ip6_forward.c.
int ip6_get_ll_address | ( | u32 | sw_if_index, |
ip6_address_t * | addr | ||
) |
void ip6_hbh_set_next_override | ( | uword | next | ) |
int ip6_hbh_unregister_option | ( | u8 | option | ) |
|
inlinestatic |
int ip6_interface_enabled | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
ip6_address_t* ip6_interface_first_address | ( | ip6_main_t * | im, |
u32 | sw_if_index | ||
) |
get first IPv6 interface address
Definition at line 174 of file ip6_forward.c.
void ip6_link_local_address_from_ethernet_mac_address | ( | ip6_address_t * | ip, |
u8 * | mac | ||
) |
|
inlinestatic |
clib_error_t* ip6_probe_neighbor | ( | vlib_main_t * | vm, |
ip6_address_t * | dst, | ||
u32 | sw_if_index, | ||
u8 | refresh | ||
) |
Definition at line 1438 of file ip6_forward.c.
Definition at line 170 of file ip6_punt_drop.c.
Definition at line 301 of file ip6_punt_drop.c.
void ip6_punt_redirect_del | ( | u32 | rx_sw_if_index | ) |
Definition at line 316 of file ip6_punt_drop.c.
Definition at line 1426 of file ip6_forward.c.
|
inlinestatic |
Definition at line 142 of file ip6_forward.c.
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 910 of file ip6_forward.c.
u32 ip6_tcp_udp_icmp_validate_checksum | ( | vlib_main_t * | vm, |
vlib_buffer_t * | p0 | ||
) |
Definition at line 986 of file ip6_forward.c.
uword ip6_udp_register_listener | ( | vlib_main_t * | vm, |
u16 | dst_port, | ||
u32 | next_node_index | ||
) |
|
inlinestatic |
void send_ip6_na | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
Definition at line 5013 of file ip6_neighbor.c.
void send_ip6_na_w_addr | ( | vlib_main_t * | vm, |
const ip6_address_t * | addr, | ||
u32 | sw_if_index | ||
) |
Definition at line 5022 of file ip6_neighbor.c.
clib_error_t* set_ip6_link_local_address | ( | vlib_main_t * | vm, |
u32 | sw_if_index, | ||
ip6_address_t * | address | ||
) |
Definition at line 4452 of file ip6_neighbor.c.
|
inlinestatic |
Push IPv6 header to buffer.
vm | - vlib_main |
b | - buffer to write the header to |
src | - source IP |
dst | - destination IP |
prot | - payload proto |
Definition at line 594 of file ip6.h.
int vnet_add_del_ip6_nd_change_event | ( | vnet_main_t * | vnm, |
void * | data_callback, | ||
u32 | pid, | ||
void * | address_arg, | ||
uword | node_index, | ||
uword | type_opaque, | ||
uword | data, | ||
int | is_add | ||
) |
Definition at line 4754 of file ip6_neighbor.c.
int vnet_ip6_nd_term | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_buffer_t * | p0, | ||
ethernet_header_t * | eth, | ||
ip6_header_t * | ip, | ||
u32 | sw_if_index, | ||
u16 | bd_index | ||
) |
Definition at line 4825 of file ip6_neighbor.c.
int vnet_set_ip6_classify_intfc | ( | vlib_main_t * | vm, |
u32 | sw_if_index, | ||
u32 | table_index | ||
) |
Definition at line 2928 of file ip6_forward.c.
int vnet_set_ip6_flow_hash | ( | u32 | table_id, |
flow_hash_config_t | flow_hash_config | ||
) |
Definition at line 2736 of file ip6_forward.c.
vlib_node_registration_t ip6_discover_neighbor_node |
(constructor) VLIB_REGISTER_NODE (ip6_discover_neighbor_node)
Definition at line 3390 of file ip6_neighbor.c.
vlib_node_registration_t ip6_glean_node |
(constructor) VLIB_REGISTER_NODE (ip6_glean_node)
Definition at line 3375 of file ip6_neighbor.c.
ip6_hop_by_hop_main_t ip6_hop_by_hop_main |
Definition at line 2037 of file ip6_forward.c.
vlib_node_registration_t ip6_input_node |
(constructor) VLIB_REGISTER_NODE (ip6_input_node)
Definition at line 228 of file ip6_input.c.
vlib_node_registration_t ip6_lookup_node |
(constructor) VLIB_REGISTER_NODE (ip6_lookup_node)
Definition at line 512 of file ip6_forward.c.
ip6_main_t ip6_main |
Definition at line 2574 of file ip6_forward.c.
vlib_node_registration_t ip6_midchain_node |
(constructor) VLIB_REGISTER_NODE (ip6_midchain_node)
Definition at line 1977 of file ip6_forward.c.
vlib_node_registration_t ip6_rewrite_local_node |
vlib_node_registration_t ip6_rewrite_mcast_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_mcast_node)
Definition at line 2009 of file ip6_forward.c.
vlib_node_registration_t ip6_rewrite_node |
(constructor) VLIB_REGISTER_NODE (ip6_rewrite_node)
Definition at line 1990 of file ip6_forward.c.
serialize_function_t serialize_vnet_ip6_main |
serialize_function_t unserialize_vnet_ip6_main |