|
u32 | ip4_fib_lookup_with_table (ip4_main_t *im, u32 fib_index, ip4_address_t *dst, u32 disable_default_route) |
|
static ip4_fib_t * | create_fib_with_table_id (ip4_main_t *im, u32 table_id) |
| Create FIB from table ID and init all hashing. More...
|
|
ip4_fib_t * | find_ip4_fib_by_table_index_or_id (ip4_main_t *im, u32 table_index_or_id, u32 flags) |
| Find existing or Create new FIB based on index. More...
|
|
static void | ip4_fib_init_adj_index_by_dst_address (ip_lookup_main_t *lm, ip4_fib_t *fib, u32 address_length) |
|
static void | ip4_fib_set_adj_index (ip4_main_t *im, ip4_fib_t *fib, u32 flags, u32 dst_address_u32, u32 dst_address_length, u32 adj_index) |
|
void | ip4_add_del_route (ip4_main_t *im, ip4_add_del_route_args_t *a) |
|
u32 | ip4_route_get_next_hop_adj (ip4_main_t *im, u32 fib_index, ip4_address_t *next_hop, u32 next_hop_sw_if_index, u32 explicit_fib_index) |
|
void | ip4_add_del_route_next_hop (ip4_main_t *im, u32 flags, ip4_address_t *dst_address, u32 dst_address_length, ip4_address_t *next_hop, u32 next_hop_sw_if_index, u32 next_hop_weight, u32 adj_index, u32 explicit_fib_index) |
|
void * | ip4_get_route (ip4_main_t *im, u32 table_index_or_table_id, u32 flags, u8 *address, u32 address_length) |
|
void | ip4_foreach_matching_route (ip4_main_t *im, u32 table_index_or_table_id, u32 flags, ip4_address_t *address, u32 address_length, ip4_address_t **results, u8 **result_lengths) |
|
void | ip4_maybe_remap_adjacencies (ip4_main_t *im, u32 table_index_or_table_id, u32 flags) |
|
void | ip4_delete_matching_routes (ip4_main_t *im, u32 table_index_or_table_id, u32 flags, ip4_address_t *address, u32 address_length) |
|
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) |
|
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, int is_indirect) |
|
static uword | ip4_lookup (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPv4 lookup node. More...
|
|
void | ip4_adjacency_set_interface_route (vnet_main_t *vnm, ip_adjacency_t *adj, u32 sw_if_index, u32 if_address_index) |
|
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) |
|
static clib_error_t * | ip4_add_del_interface_address_internal (vlib_main_t *vm, u32 sw_if_index, ip4_address_t *new_address, u32 new_length, u32 redistribute, u32 insert_routes, 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) |
|
static clib_error_t * | ip4_sw_interface_admin_up_down (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (ip4_sw_interface_admin_up_down) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_inacl, static) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_source_check_1, static) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_source_check_2, static) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_source_and_port_range_check, static) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_policer_classify, static) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_ipsec, static) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_vpath, static) |
|
| VNET_IP4_UNICAST_FEATURE_INIT (ip4_lookup, static) |
|
| VNET_IP4_MULTICAST_FEATURE_INIT (ip4_vpath_mc, static) |
|
| VNET_IP4_MULTICAST_FEATURE_INIT (ip4_lookup_mc, static) |
|
static clib_error_t * | ip4_feature_init (vlib_main_t *vm, ip4_main_t *im) |
|
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) |
|
static u8 * | format_ip4_lookup_trace (u8 *s, va_list *args) |
|
static uword | ip4_indirect (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | ip4_lookup_init (vlib_main_t *vm) |
|
static u8 * | format_ip4_forward_next_trace (u8 *s, va_list *args) |
|
static u8 * | format_ip4_rewrite_trace (u8 *s, va_list *args) |
|
static uword | ip4_drop_or_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, ip4_error_t error_code) |
|
static uword | ip4_drop (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_miss (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
u16 | ip4_tcp_udp_compute_checksum (vlib_main_t *vm, vlib_buffer_t *p0, ip4_header_t *ip0) |
|
static u32 | ip4_tcp_udp_validate_checksum (vlib_main_t *vm, vlib_buffer_t *p0) |
|
static uword | ip4_local (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
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 (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 rewrite_for_locally_received_packets) |
|
static uword | ip4_rewrite_transit (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPv4 transit rewrite node. More...
|
|
static uword | ip4_rewrite_local (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPv4 local rewrite node. More...
|
|
static clib_error_t * | add_del_interface_table (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static uword | ip4_lookup_multicast (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
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) |
|
for ethernet_header_t
for ethernet_arp_header_t for srp_hw_interface_class for API error numbers vnet ip4 forwarding
Definition in file ip4_forward.c.