|
static void | send_sw_interface_flags (vpe_api_main_t *am, unix_shared_memory_queue_t *q, vnet_sw_interface_t *swif) |
|
static void | send_sw_interface_flags_deleted (vpe_api_main_t *am, unix_shared_memory_queue_t *q, u32 sw_if_index) |
|
static int | arp_change_delete_callback (u32 pool_index, u8 *notused) |
|
int | vl_api_memclnt_delete_callback (u32 client_index) |
|
static int | event_data_cmp (void *a1, void *a2) |
|
static uword | link_state_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static clib_error_t * | link_up_down_function (vnet_main_t *vm, u32 hw_if_index, u32 flags) |
|
static clib_error_t * | admin_up_down_function (vnet_main_t *vm, u32 hw_if_index, u32 flags) |
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (admin_up_down_function) |
|
| VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (link_up_down_function) |
|
| pub_sub_handler (interface_events, INTERFACE_EVENTS) |
|
static uword | resolver_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static int | ip4_add_del_route_t_handler (vl_api_ip_add_del_route_t *mp) |
|
static int | ip6_add_del_route_t_handler (vl_api_ip_add_del_route_t *mp) |
|
void | vl_api_ip_add_del_route_t_handler (vl_api_ip_add_del_route_t *mp) |
|
void | api_config_default_ip_route (u8 is_ipv6, u8 is_add, u32 vrf_id, u32 sw_if_index, u8 *next_hop_addr) |
|
static void | vl_api_sw_interface_add_del_address_t_handler (vl_api_sw_interface_add_del_address_t *mp) |
|
static void | vl_api_sw_interface_set_table_t_handler (vl_api_sw_interface_set_table_t *mp) |
|
static void | vl_api_sw_interface_set_vpath_t_handler (vl_api_sw_interface_set_vpath_t *mp) |
|
static void | vl_api_sw_interface_set_l2_xconnect_t_handler (vl_api_sw_interface_set_l2_xconnect_t *mp) |
|
static void | vl_api_sw_interface_set_l2_bridge_t_handler (vl_api_sw_interface_set_l2_bridge_t *mp) |
|
static void | vl_api_bridge_domain_add_del_t_handler (vl_api_bridge_domain_add_del_t *mp) |
|
static void | vl_api_bridge_domain_details_t_handler (vl_api_bridge_domain_details_t *mp) |
|
static void | vl_api_bridge_domain_sw_if_details_t_handler (vl_api_bridge_domain_sw_if_details_t *mp) |
|
static void | send_bridge_domain_details (unix_shared_memory_queue_t *q, l2_bridge_domain_t *bd_config, u32 n_sw_ifs, u32 context) |
|
static void | send_bd_sw_if_details (l2input_main_t *l2im, unix_shared_memory_queue_t *q, l2_flood_member_t *member, u32 bd_id, u32 context) |
|
static void | vl_api_bridge_domain_dump_t_handler (vl_api_bridge_domain_dump_t *mp) |
|
static void | vl_api_l2fib_add_del_t_handler (vl_api_l2fib_add_del_t *mp) |
|
static void | vl_api_l2_flags_t_handler (vl_api_l2_flags_t *mp) |
|
static void | vl_api_bridge_flags_t_handler (vl_api_bridge_flags_t *mp) |
|
static void | vl_api_bd_ip_mac_add_del_t_handler (vl_api_bd_ip_mac_add_del_t *mp) |
|
static void | vl_api_tap_connect_t_handler (vl_api_tap_connect_t *mp, vlib_main_t *vm) |
|
static void | vl_api_tap_modify_t_handler (vl_api_tap_modify_t *mp, vlib_main_t *vm) |
|
static void | vl_api_tap_delete_t_handler (vl_api_tap_delete_t *mp, vlib_main_t *vm) |
|
static void | vl_api_create_vlan_subif_t_handler (vl_api_create_vlan_subif_t *mp) |
|
static void | vl_api_create_subif_t_handler (vl_api_create_subif_t *mp) |
|
static void | vl_api_mpls_gre_add_del_tunnel_t_handler (vl_api_mpls_gre_add_del_tunnel_t *mp) |
|
static void | vl_api_mpls_ethernet_add_del_tunnel_t_handler (vl_api_mpls_ethernet_add_del_tunnel_t *mp) |
|
static int | mpls_ethernet_add_del_tunnel_2_t_handler (vl_api_mpls_ethernet_add_del_tunnel_2_t *mp) |
|
static void | vl_api_mpls_ethernet_add_del_tunnel_2_t_handler (vl_api_mpls_ethernet_add_del_tunnel_2_t *mp) |
|
static void | vl_api_mpls_add_del_encap_t_handler (vl_api_mpls_add_del_encap_t *mp) |
|
static void | vl_api_mpls_add_del_decap_t_handler (vl_api_mpls_add_del_decap_t *mp) |
|
static void | vl_api_proxy_arp_add_del_t_handler (vl_api_proxy_arp_add_del_t *mp) |
|
static void | vl_api_proxy_arp_intfc_enable_disable_t_handler (vl_api_proxy_arp_intfc_enable_disable_t *mp) |
|
static void | vl_api_ip_neighbor_add_del_t_handler (vl_api_ip_neighbor_add_del_t *mp, vlib_main_t *vm) |
|
static void | vl_api_is_address_reachable_t_handler (vl_api_is_address_reachable_t *mp) |
|
static void | vl_api_sw_interface_details_t_handler (vl_api_sw_interface_details_t *mp) |
|
static void | vl_api_sw_interface_set_flags_t_handler (vl_api_sw_interface_set_flags_t *mp) |
|
static void | vl_api_sw_interface_clear_stats_t_handler (vl_api_sw_interface_clear_stats_t *mp) |
|
static void | send_sw_interface_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, vnet_sw_interface_t *swif, u8 *interface_name, u32 context) |
|
static void | vl_api_sw_interface_dump_t_handler (vl_api_sw_interface_dump_t *mp) |
|
void | send_oam_event (oam_target_t *t) |
|
static void | vl_api_oam_add_del_t_handler (vl_api_oam_add_del_t *mp) |
|
static void | vl_api_vnet_get_summary_stats_t_handler (vl_api_vnet_get_summary_stats_t *mp) |
|
typedef | CLIB_PACKED (struct{ip4_address_t address;u32 address_length:6;u32 index:26;}) |
|
static void | add_routes_in_fib (clib_bihash_kv_24_8_t *kvp, void *arg) |
|
static int | ip6_reset_fib_t_handler (vl_api_reset_fib_t *mp) |
|
static void | vl_api_reset_fib_t_handler (vl_api_reset_fib_t *mp) |
|
static void | dhcpv4_proxy_config (vl_api_dhcp_proxy_config_t *mp) |
|
static void | dhcpv6_proxy_config (vl_api_dhcp_proxy_config_t *mp) |
|
static void | dhcpv4_proxy_config_2 (vl_api_dhcp_proxy_config_2_t *mp) |
|
static void | dhcpv6_proxy_config_2 (vl_api_dhcp_proxy_config_2_t *mp) |
|
static void | vl_api_dhcp_proxy_set_vss_t_handler (vl_api_dhcp_proxy_set_vss_t *mp) |
|
static void | vl_api_dhcp_proxy_config_t_handler (vl_api_dhcp_proxy_config_t *mp) |
|
static void | vl_api_dhcp_proxy_config_2_t_handler (vl_api_dhcp_proxy_config_2_t *mp) |
|
void | dhcp_compl_event_callback (u32 client_index, u32 pid, u8 *hostname, u8 is_ipv6, u8 *host_address, u8 *router_address, u8 *host_mac) |
|
static void | vl_api_dhcp_client_config_t_handler (vl_api_dhcp_client_config_t *mp) |
|
static void | vl_api_sw_interface_ip6nd_ra_config_t_handler (vl_api_sw_interface_ip6nd_ra_config_t *mp, vlib_main_t *vm) |
|
static void | vl_api_sw_interface_ip6nd_ra_prefix_t_handler (vl_api_sw_interface_ip6nd_ra_prefix_t *mp, vlib_main_t *vm) |
|
static void | vl_api_sw_interface_ip6_enable_disable_t_handler (vl_api_sw_interface_ip6_enable_disable_t *mp, vlib_main_t *vm) |
|
static void | vl_api_sw_interface_ip6_set_link_local_address_t_handler (vl_api_sw_interface_ip6_set_link_local_address_t *mp, vlib_main_t *vm) |
|
static void | set_ip6_flow_hash (vl_api_set_ip_flow_hash_t *mp) |
|
static void | set_ip4_flow_hash (vl_api_set_ip_flow_hash_t *mp) |
|
static void | vl_api_set_ip_flow_hash_t_handler (vl_api_set_ip_flow_hash_t *mp) |
|
static void | vl_api_sw_interface_set_unnumbered_t_handler (vl_api_sw_interface_set_unnumbered_t *mp) |
|
static void | vl_api_create_loopback_t_handler (vl_api_create_loopback_t *mp) |
|
static void | vl_api_delete_loopback_t_handler (vl_api_delete_loopback_t *mp) |
|
static void | vl_api_control_ping_t_handler (vl_api_control_ping_t *mp) |
|
static void | shmem_cli_output (uword arg, u8 *buffer, uword buffer_bytes) |
|
static void | vl_api_cli_request_t_handler (vl_api_cli_request_t *mp) |
|
static void | vl_api_set_arp_neighbor_limit_t_handler (vl_api_set_arp_neighbor_limit_t *mp) |
|
static void | vl_api_sr_tunnel_add_del_t_handler (vl_api_sr_tunnel_add_del_t *mp) |
|
static void | vl_api_sr_policy_add_del_t_handler (vl_api_sr_policy_add_del_t *mp) |
|
static void | vl_api_sr_multicast_map_add_del_t_handler (vl_api_sr_multicast_map_add_del_t *mp) |
|
static void | vl_api_classify_add_del_table_t_handler (vl_api_classify_add_del_table_t *mp) |
|
static void | vl_api_classify_add_del_session_t_handler (vl_api_classify_add_del_session_t *mp) |
|
static void | vl_api_classify_set_interface_ip_table_t_handler (vl_api_classify_set_interface_ip_table_t *mp) |
|
static void | vl_api_classify_set_interface_l2_tables_t_handler (vl_api_classify_set_interface_l2_tables_t *mp) |
|
static void | vl_api_l2_fib_clear_table_t_handler (vl_api_l2_fib_clear_table_t *mp) |
|
void | l2_efp_filter_configure (vnet_main_t *vnet_main, u32 sw_if_index, u32 enable) |
|
static void | vl_api_l2_interface_efp_filter_t_handler (vl_api_l2_interface_efp_filter_t *mp) |
|
static void | vl_api_l2_interface_vlan_tag_rewrite_t_handler (vl_api_l2_interface_vlan_tag_rewrite_t *mp) |
|
static void | vl_api_create_vhost_user_if_t_handler (vl_api_create_vhost_user_if_t *mp) |
|
static void | vl_api_modify_vhost_user_if_t_handler (vl_api_modify_vhost_user_if_t *mp) |
|
static void | vl_api_delete_vhost_user_if_t_handler (vl_api_delete_vhost_user_if_t *mp) |
|
static void | vl_api_sw_interface_vhost_user_details_t_handler (vl_api_sw_interface_vhost_user_details_t *mp) |
|
static void | vl_api_sw_interface_vhost_user_dump_t_handler (vl_api_sw_interface_vhost_user_dump_t *mp) |
|
static void | send_sw_if_l2tpv3_tunnel_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, l2t_session_t *s, l2t_main_t *lm, u32 context) |
|
static void | send_ip_address_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, u8 *ip, u16 prefix_length, u8 is_ipv6, u32 context) |
|
static void | vl_api_ip_address_dump_t_handler (vl_api_ip_address_dump_t *mp) |
|
static void | send_ip_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, u32 sw_if_index, u32 context) |
|
static void | vl_api_sw_if_l2tpv3_tunnel_dump_t_handler (vl_api_sw_if_l2tpv3_tunnel_dump_t *mp) |
|
static void | send_sw_interface_tap_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, tapcli_interface_details_t *tap_if, u32 context) |
|
static void | vl_api_sw_interface_tap_dump_t_handler (vl_api_sw_interface_tap_dump_t *mp) |
|
static void | vl_api_ip_dump_t_handler (vl_api_ip_dump_t *mp) |
|
static void | vl_api_l2_fib_table_entry_t_handler (vl_api_l2_fib_table_entry_t *mp) |
|
static void | send_l2fib_table_entry (vpe_api_main_t *am, unix_shared_memory_queue_t *q, l2fib_entry_key_t *l2fe_key, l2fib_entry_result_t *l2fe_res, u32 context) |
|
static void | vl_api_l2_fib_table_dump_t_handler (vl_api_l2_fib_table_dump_t *mp) |
|
static void | vl_api_show_version_t_handler (vl_api_show_version_t *mp) |
|
static void | vl_api_get_node_index_t_handler (vl_api_get_node_index_t *mp) |
|
static void | vl_api_add_node_next_t_handler (vl_api_add_node_next_t *mp) |
|
static void | vl_api_l2tpv3_create_tunnel_t_handler (vl_api_l2tpv3_create_tunnel_t *mp) |
|
static void | vl_api_l2tpv3_set_tunnel_cookies_t_handler (vl_api_l2tpv3_set_tunnel_cookies_t *mp) |
|
static void | vl_api_l2tpv3_interface_enable_disable_t_handler (vl_api_l2tpv3_interface_enable_disable_t *mp) |
|
static void | vl_api_l2tpv3_set_lookup_key_t_handler (vl_api_l2tpv3_set_lookup_key_t *mp) |
|
static void | vl_api_vxlan_add_del_tunnel_t_handler (vl_api_vxlan_add_del_tunnel_t *mp) |
|
static void | send_vxlan_tunnel_details (vxlan_tunnel_t *t, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_vxlan_tunnel_dump_t_handler (vl_api_vxlan_tunnel_dump_t *mp) |
|
static void | vl_api_gre_add_del_tunnel_t_handler (vl_api_gre_add_del_tunnel_t *mp) |
|
static void | send_gre_tunnel_details (gre_tunnel_t *t, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_gre_tunnel_dump_t_handler (vl_api_gre_tunnel_dump_t *mp) |
|
static void | vl_api_l2_patch_add_del_t_handler (vl_api_l2_patch_add_del_t *mp) |
|
static void | vl_api_vxlan_gpe_add_del_tunnel_t_handler (vl_api_vxlan_gpe_add_del_tunnel_t *mp) |
|
static void | vl_api_lisp_add_del_locator_set_t_handler (vl_api_lisp_add_del_locator_set_t *mp) |
|
static void | vl_api_lisp_add_del_locator_t_handler (vl_api_lisp_add_del_locator_t *mp) |
|
static void | vl_api_lisp_add_del_local_eid_t_handler (vl_api_lisp_add_del_local_eid_t *mp) |
|
static void | lisp_gpe_add_del_fwd_entry_set_address (vl_api_lisp_gpe_add_del_fwd_entry_t *mp, ip_address_t *slocator, ip_address_t *dlocator, gid_address_t *eid) |
|
static void | vl_api_lisp_gpe_add_del_fwd_entry_t_handler (vl_api_lisp_gpe_add_del_fwd_entry_t *mp) |
|
static void | vl_api_lisp_add_del_map_resolver_t_handler (vl_api_lisp_add_del_map_resolver_t *mp) |
|
static void | vl_api_lisp_gpe_enable_disable_t_handler (vl_api_lisp_gpe_enable_disable_t *mp) |
|
static void | vl_api_lisp_enable_disable_t_handler (vl_api_lisp_enable_disable_t *mp) |
|
static void | vl_api_lisp_gpe_add_del_iface_t_handler (vl_api_lisp_gpe_add_del_iface_t *mp) |
|
typedef | CLIB_PACKED (struct{u8 is_ip4;u8 addr[16];}) |
| Used for transferring locators via VPP API. More...
|
|
static void | vl_api_lisp_add_del_remote_mapping_t_handler (vl_api_lisp_add_del_remote_mapping_t *mp) |
|
static void | send_lisp_locator_set_details (lisp_cp_main_t *lcm, locator_set_t *lsit, unix_shared_memory_queue_t *q, u32 context, u32 index) |
|
static void | vl_api_lisp_locator_set_dump_t_handler (vl_api_lisp_locator_set_dump_t *mp) |
|
static void | send_lisp_local_eid_table_details (mapping_t *mapit, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_lisp_local_eid_table_dump_t_handler (vl_api_lisp_local_eid_table_dump_t *mp) |
|
static void | send_lisp_gpe_tunnel_details (lisp_gpe_tunnel_t *tunnel, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_lisp_gpe_tunnel_dump_t_handler (vl_api_lisp_local_eid_table_dump_t *mp) |
|
static void | send_lisp_map_resolver_details (ip_address_t *ip, unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_lisp_map_resolver_dump_t_handler (vl_api_lisp_local_eid_table_dump_t *mp) |
|
static void | send_lisp_enable_disable_details (unix_shared_memory_queue_t *q, u32 context) |
|
static void | vl_api_lisp_enable_disable_status_dump_t_handler (vl_api_lisp_enable_disable_status_dump_t *mp) |
|
static void | vl_api_interface_name_renumber_t_handler (vl_api_interface_name_renumber_t *mp) |
|
static int | arp_change_data_callback (u32 pool_index, u8 *new_mac, u32 sw_if_index, u32 address) |
|
static void | vl_api_want_ip4_arp_events_t_handler (vl_api_want_ip4_arp_events_t *mp) |
|
static void | vl_api_input_acl_set_interface_t_handler (vl_api_input_acl_set_interface_t *mp) |
|
static void | vl_api_ipsec_spd_add_del_t_handler (vl_api_ipsec_spd_add_del_t *mp) |
|
static void | vl_api_ipsec_interface_add_del_spd_t_handler (vl_api_ipsec_interface_add_del_spd_t *mp) |
|
static void | vl_api_ipsec_spd_add_del_entry_t_handler (vl_api_ipsec_spd_add_del_entry_t *mp) |
|
static void | vl_api_ipsec_sad_add_del_entry_t_handler (vl_api_ipsec_sad_add_del_entry_t *mp) |
|
static void | vl_api_ikev2_profile_add_del_t_handler (vl_api_ikev2_profile_add_del_t *mp) |
|
static void | vl_api_ikev2_profile_set_auth_t_handler (vl_api_ikev2_profile_set_auth_t *mp) |
|
static void | vl_api_ikev2_profile_set_id_t_handler (vl_api_ikev2_profile_set_id_t *mp) |
|
static void | vl_api_ikev2_profile_set_ts_t_handler (vl_api_ikev2_profile_set_ts_t *mp) |
|
static void | vl_api_ikev2_set_local_key_t_handler (vl_api_ikev2_set_local_key_t *mp) |
|
static void | vl_api_map_add_domain_t_handler (vl_api_map_add_domain_t *mp) |
|
static void | vl_api_map_del_domain_t_handler (vl_api_map_del_domain_t *mp) |
|
static void | vl_api_map_add_del_rule_t_handler (vl_api_map_add_del_rule_t *mp) |
|
static void | vl_api_map_domain_dump_t_handler (vl_api_map_domain_dump_t *mp) |
|
static void | vl_api_map_rule_dump_t_handler (vl_api_map_rule_dump_t *mp) |
|
static void | vl_api_map_summary_stats_t_handler (vl_api_map_summary_stats_t *mp) |
|
static void | vl_api_ipsec_sa_set_key_t_handler (vl_api_ipsec_sa_set_key_t *mp) |
|
static void | vl_api_cop_interface_enable_disable_t_handler (vl_api_cop_interface_enable_disable_t *mp) |
|
static void | vl_api_cop_whitelist_enable_disable_t_handler (vl_api_cop_whitelist_enable_disable_t *mp) |
|
static void | vl_api_get_node_graph_t_handler (vl_api_get_node_graph_t *mp) |
|
static void | vl_api_trace_profile_add_t_handler (vl_api_trace_profile_add_t *mp) |
|
static void | vl_api_trace_profile_apply_t_handler (vl_api_trace_profile_apply_t *mp) |
|
static void | vl_api_trace_profile_del_t_handler (vl_api_trace_profile_del_t *mp) |
|
static void | vl_api_af_packet_create_t_handler (vl_api_af_packet_create_t *mp) |
|
static void | vl_api_af_packet_delete_t_handler (vl_api_af_packet_delete_t *mp) |
|
static void | vl_api_policer_add_del_t_handler (vl_api_policer_add_del_t *mp) |
|
static clib_error_t * | vpe_api_hookup (vlib_main_t *vm) |
|
| VLIB_API_INIT_FUNCTION (vpe_api_hookup) |
|
static clib_error_t * | vpe_api_init (vlib_main_t *vm) |
|
static clib_error_t * | api_segment_config (vlib_main_t *vm, unformat_input_t *input) |
|
void * | get_unformat_vnet_sw_interface (void) |
|
int | vl_msg_api_version_check (vl_api_memclnt_create_t *mp) |
|
static u8 * | format_arp_event (u8 *s, va_list *args) |
|
static clib_error_t * | show_ip4_arp_events_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|