FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ip4_mfib_t |
struct | ip4_add_del_interface_address_callback_t |
struct | ip4_table_bind_callback_t |
struct | ip4_main_t |
IPv4 main type. More... | |
Macros | |
#define | IP_DF 0x4000 /* don't fragment */ |
Typedefs | |
typedef struct ip4_mfib_t | ip4_mfib_t |
typedef void( | ip4_add_del_interface_address_function_t) (struct ip4_main_t *im, uword opaque, u32 sw_if_index, ip4_address_t *address, u32 address_length, u32 if_address_index, u32 is_del) |
typedef void( | ip4_table_bind_function_t) (struct ip4_main_t *im, uword opaque, u32 sw_if_index, u32 new_fib_index, u32 old_fib_index) |
typedef struct ip4_main_t | ip4_main_t |
IPv4 main type. More... | |
Variables | |
ip4_main_t | ip4_main |
Global ip4 main structure. More... | |
vlib_node_registration_t | ip4_input_node |
Global ip4 input node. More... | |
vlib_node_registration_t | ip4_lookup_node |
(constructor) VLIB_REGISTER_NODE (ip4_lookup_node) More... | |
vlib_node_registration_t | ip4_local_node |
(constructor) VLIB_REGISTER_NODE (ip4_local_node) More... | |
vlib_node_registration_t | ip4_rewrite_node |
(constructor) VLIB_REGISTER_NODE (ip4_rewrite_node) More... | |
vlib_node_registration_t | ip4_rewrite_mcast_node |
(constructor) VLIB_REGISTER_NODE (ip4_rewrite_mcast_node) More... | |
vlib_node_registration_t | ip4_rewrite_local_node |
vlib_node_registration_t | ip4_arp_node |
(constructor) VLIB_REGISTER_NODE (ip4_arp_node) More... | |
vlib_node_registration_t | ip4_glean_node |
(constructor) VLIB_REGISTER_NODE (ip4_glean_node) More... | |
vlib_node_registration_t | ip4_midchain_node |
(constructor) VLIB_REGISTER_NODE (ip4_midchain_node) More... | |
serialize_function_t | serialize_vnet_ip4_main |
serialize_function_t | unserialize_vnet_ip4_main |
typedef void( ip4_add_del_interface_address_function_t) (struct ip4_main_t *im, uword opaque, u32 sw_if_index, ip4_address_t *address, u32 address_length, u32 if_address_index, u32 is_del) |
typedef struct ip4_main_t ip4_main_t |
IPv4 main type.
State of IPv4 VPP processing including:
typedef struct ip4_mfib_t ip4_mfib_t |
typedef void( ip4_table_bind_function_t) (struct ip4_main_t *im, uword opaque, u32 sw_if_index, u32 new_fib_index, u32 old_fib_index) |
Definition at line 1268 of file ip4_forward.c.
clib_error_t* ip4_add_del_interface_address | ( | vlib_main_t * | vm, |
u32 | sw_if_index, | ||
ip4_address_t * | address, | ||
u32 | address_length, | ||
u32 | is_del | ||
) |
Definition at line 988 of file ip4_forward.c.
int ip4_address_compare | ( | ip4_address_t * | a1, |
ip4_address_t * | a2 | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void ip4_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 1316 of file ip4_forward.c.
void ip4_icmp_register_type | ( | vlib_main_t * | vm, |
icmp4_type_t | type, | ||
u32 | node_index | ||
) |
|
inlinestatic |
ip4_address_t* ip4_interface_first_address | ( | ip4_main_t * | im, |
u32 | sw_if_index, | ||
ip_interface_address_t ** | result_ia | ||
) |
Definition at line 690 of file ip4_forward.c.
clib_error_t* ip4_probe_neighbor | ( | vlib_main_t * | vm, |
ip4_address_t * | dst, | ||
u32 | sw_if_index | ||
) |
Definition at line 2212 of file ip4_forward.c.
Definition at line 240 of file ip4_punt_drop.c.
Definition at line 364 of file ip4_punt_drop.c.
void ip4_punt_redirect_del | ( | u32 | rx_sw_if_index | ) |
Definition at line 379 of file ip4_punt_drop.c.
Definition at line 1875 of file ip4_forward.c.
clib_error_t* ip4_set_arp_limit | ( | u32 | arp_limit | ) |
|
inlinestatic |
Definition at line 866 of file ip4_forward.c.
u16 ip4_tcp_udp_compute_checksum | ( | vlib_main_t * | vm, |
vlib_buffer_t * | p0, | ||
ip4_header_t * | ip0 | ||
) |
Definition at line 1404 of file ip4_forward.c.
u32 ip4_tcp_udp_validate_checksum | ( | vlib_main_t * | vm, |
vlib_buffer_t * | p0 | ||
) |
Definition at line 1462 of file ip4_forward.c.
uword ip4_udp_register_listener | ( | vlib_main_t * | vm, |
u16 | dst_port, | ||
u32 | next_node_index | ||
) |
|
inlinestatic |
|
inlinestatic |
Push IPv4 header to buffer.
This does not support fragmentation.
vm | - vlib_main |
b | - buffer to write the header to |
src | - source IP |
dst | - destination IP |
prot | - payload proto |
Definition at line 357 of file ip4.h.
int vnet_set_ip4_classify_intfc | ( | vlib_main_t * | vm, |
u32 | sw_if_index, | ||
u32 | table_index | ||
) |
Definition at line 3070 of file ip4_forward.c.
int vnet_set_ip4_flow_hash | ( | u32 | table_id, |
flow_hash_config_t | flow_hash_config | ||
) |
Definition at line 2918 of file ip4_forward.c.
vlib_node_registration_t ip4_arp_node |
(constructor) VLIB_REGISTER_NODE (ip4_arp_node)
Definition at line 2156 of file ip4_forward.c.
vlib_node_registration_t ip4_glean_node |
(constructor) VLIB_REGISTER_NODE (ip4_glean_node)
Definition at line 2171 of file ip4_forward.c.
vlib_node_registration_t ip4_input_node |
Global ip4 input node.
Errors get attached to ip4 input node.
Global ip4 input node.
Definition at line 277 of file ip4_input.c.
vlib_node_registration_t ip4_local_node |
(constructor) VLIB_REGISTER_NODE (ip4_local_node)
Definition at line 1829 of file ip4_forward.c.
vlib_node_registration_t ip4_lookup_node |
(constructor) VLIB_REGISTER_NODE (ip4_lookup_node)
Definition at line 474 of file ip4_forward.c.
ip4_main_t ip4_main |
Global ip4 main structure.
Definition at line 1181 of file ip4_forward.c.
vlib_node_registration_t ip4_midchain_node |
(constructor) VLIB_REGISTER_NODE (ip4_midchain_node)
Definition at line 2810 of file ip4_forward.c.
vlib_node_registration_t ip4_rewrite_local_node |
vlib_node_registration_t ip4_rewrite_mcast_node |
(constructor) VLIB_REGISTER_NODE (ip4_rewrite_mcast_node)
Definition at line 2790 of file ip4_forward.c.
vlib_node_registration_t ip4_rewrite_node |
(constructor) VLIB_REGISTER_NODE (ip4_rewrite_node)
Definition at line 2775 of file ip4_forward.c.
serialize_function_t serialize_vnet_ip4_main |
serialize_function_t unserialize_vnet_ip4_main |