|
VLIB_NODE_FN() | ip4_lookup_node (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_FN() | ip4_load_balance_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
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_subnet_bcast_route (u32 fib_index, fib_prefix_t *pfx, u32 sw_if_index) |
|
static void | ip4_add_interface_prefix_routes (ip4_main_t *im, u32 sw_if_index, u32 fib_index, ip_interface_address_t *a) |
|
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_prefix_routes (ip4_main_t *im, u32 sw_if_index, u32 fib_index, ip4_address_t *address, u32 address_length) |
|
static void | ip4_del_interface_routes (u32 sw_if_index, 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) |
|
void | ip4_directed_broadcast (u32 sw_if_index, u8 enable) |
|
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_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_not_enabled, 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_not_enabled, 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_outacl, 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) |
|
static 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_l4_csum_validate (vlib_main_t *vm, vlib_buffer_t *p, ip4_header_t *ip, u8 is_udp, u8 *error, u8 *good_tcp_udp) |
|
static void | ip4_local_check_l4_csum (vlib_main_t *vm, vlib_buffer_t *b, ip4_header_t *ih, u8 *error) |
|
static void | ip4_local_check_l4_csum_x2 (vlib_main_t *vm, vlib_buffer_t **b, ip4_header_t **ih, u8 *error) |
|
static void | ip4_local_set_next_and_error (vlib_node_runtime_t *error_node, vlib_buffer_t *b, u16 *next, u8 error, u8 head_of_feature_arc) |
|
static void | ip4_local_check_src (vlib_buffer_t *b, ip4_header_t *ip0, ip4_local_last_check_t *last_check, u8 *error0) |
|
static void | ip4_local_check_src_x2 (vlib_buffer_t **b, ip4_header_t **ip, ip4_local_last_check_t *last_check, u8 *error) |
|
static u8 | ip4_local_classify (vlib_buffer_t *b, ip4_header_t *ip, u16 *next) |
| Determine packet type and next node. More...
|
|
static uword | ip4_local_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int head_of_feature_arc) |
|
VLIB_NODE_FN() | ip4_local_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_local_end_of_arc_node (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) |
|
void | ip4_unregister_protocol (u32 protocol) |
|
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) |
|
VLIB_NODE_FN() | ip4_arp_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_glean_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static 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, u8 refresh) |
|
static void | ip4_mtu_check (vlib_buffer_t *b, u16 packet_len, u16 adj_packet_bytes, bool df, u16 *next, u32 *error) |
|
static_always_inline void | ip4_ttl_and_checksum_check (vlib_buffer_t *b, ip4_header_t *ip, u16 *next, u32 *error) |
|
static uword | ip4_rewrite_inline_with_gso (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int do_counters, int is_midchain, int is_mcast, int do_gso) |
|
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) |
|
VLIB_NODE_FN() | ip4_rewrite_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPv4 rewrite node. More...
|
|
VLIB_NODE_FN() | ip4_rewrite_bcast_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_midchain_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_rewrite_mcast_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_mcast_midchain_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static 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) |
|