|
static uword | ip4_lookup_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int lookup_for_responses_to_locally_received_packets) |
|
static uword | ip4_lookup (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPv4 lookup node. More...
|
|
static u8 * | format_ip4_lookup_trace (u8 *s, va_list *args) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip4_lookup_node, ip4_lookup) |
|
static uword | ip4_load_balance (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip4_load_balance_node, ip4_load_balance) |
|
ip4_address_t * | ip4_interface_first_address (ip4_main_t *im, u32 sw_if_index, ip_interface_address_t **result_ia) |
|
static void | ip4_add_interface_routes (u32 sw_if_index, ip4_main_t *im, u32 fib_index, ip_interface_address_t *a) |
|
static void | ip4_del_interface_routes (ip4_main_t *im, u32 fib_index, ip4_address_t *address, u32 address_length) |
|
void | ip4_sw_interface_enable_disable (u32 sw_if_index, u32 is_enable) |
|
static clib_error_t * | ip4_add_del_interface_address_internal (vlib_main_t *vm, u32 sw_if_index, ip4_address_t *address, u32 address_length, u32 is_del) |
|
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) |
|
| VNET_FEATURE_ARC_INIT (ip4_unicast, static) |
|
| VNET_FEATURE_INIT (ip4_flow_classify, static) |
|
| VNET_FEATURE_INIT (ip4_inacl, static) |
|
| VNET_FEATURE_INIT (ip4_source_check_1, static) |
|
| VNET_FEATURE_INIT (ip4_source_check_2, static) |
|
| VNET_FEATURE_INIT (ip4_source_and_port_range_check_rx, static) |
|
| VNET_FEATURE_INIT (ip4_policer_classify, static) |
|
| VNET_FEATURE_INIT (ip4_ipsec, static) |
|
| VNET_FEATURE_INIT (ip4_vpath, static) |
|
| VNET_FEATURE_INIT (ip4_vxlan_bypass, static) |
|
| VNET_FEATURE_INIT (ip4_drop, static) |
|
| VNET_FEATURE_INIT (ip4_lookup, static) |
|
| VNET_FEATURE_ARC_INIT (ip4_multicast, static) |
|
| VNET_FEATURE_INIT (ip4_vpath_mc, static) |
|
| VNET_FEATURE_INIT (ip4_mc_drop, static) |
|
| VNET_FEATURE_INIT (ip4_lookup_mc, static) |
|
| VNET_FEATURE_ARC_INIT (ip4_output, static) |
|
| VNET_FEATURE_INIT (ip4_source_and_port_range_check_tx, static) |
|
| VNET_FEATURE_INIT (ip4_ipsec_output, static) |
|
| VNET_FEATURE_INIT (ip4_interface_output, static) |
|
static clib_error_t * | ip4_sw_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (ip4_sw_interface_add_del) |
|
clib_error_t * | ip4_lookup_init (vlib_main_t *vm) |
|
u8 * | format_ip4_forward_next_trace (u8 *s, va_list *args) |
|
static u8 * | format_ip4_rewrite_trace (u8 *s, va_list *args) |
|
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) |
|
u16 | ip4_tcp_udp_compute_checksum (vlib_main_t *vm, vlib_buffer_t *p0, ip4_header_t *ip0) |
|
u32 | ip4_tcp_udp_validate_checksum (vlib_main_t *vm, vlib_buffer_t *p0) |
|
| VNET_FEATURE_ARC_INIT (ip4_local) |
|
static void | ip4_local_validate_l4 (vlib_main_t *vm, vlib_buffer_t *p, ip4_header_t *ip, u8 is_udp, u8 *error, u8 *good_tcp_udp) |
|
static uword | ip4_local_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int head_of_feature_arc) |
|
static uword | ip4_local (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip4_local_node, ip4_local) |
|
static uword | ip4_local_end_of_arc (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_local_end_of_arc, static) |
|
void | ip4_register_protocol (u32 protocol, u32 node_index) |
|
static clib_error_t * | show_ip_local_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static uword | ip4_arp_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_glean) |
|
static uword | ip4_arp (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_glean (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | arp_notrace_init (vlib_main_t *vm) |
|
clib_error_t * | ip4_probe_neighbor (vlib_main_t *vm, ip4_address_t *dst, u32 sw_if_index) |
|
static uword | ip4_rewrite_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int do_counters, int is_midchain, int is_mcast) |
|
static uword | ip4_rewrite (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPv4 rewrite node. More...
|
|
static uword | ip4_midchain (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_rewrite_mcast (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_mcast_midchain (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip4_midchain_node, ip4_midchain) |
|
int | ip4_lookup_validate (ip4_address_t *a, u32 fib_index0) |
|
static clib_error_t * | test_lookup_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | vnet_set_ip4_flow_hash (u32 table_id, u32 flow_hash_config) |
|
static clib_error_t * | set_ip_flow_hash_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | vnet_set_ip4_classify_intfc (vlib_main_t *vm, u32 sw_if_index, u32 table_index) |
|
static clib_error_t * | set_ip_classify_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ip4_config (vlib_main_t *vm, unformat_input_t *input) |
|
IPv4 Forwarding.
This file contains the source code for IPv4 forwarding.
Definition in file ip4_forward.c.