FD.io VPP  v16.09
Vector Packet Processing
api.c File Reference

Go to the source code of this file.

Data Structures

struct  pending_route_t
 
struct  vpe_api_main_t
 
struct  ip6_route_t
 
struct  add_routes_in_fib_arg_t
 

Macros

#define f64_endian(a)
 
#define f64_print(a, b)
 
#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define REPLY_MACRO(t)
 
#define REPLY_MACRO2(t, body)
 
#define VALIDATE_SW_IF_INDEX(mp)
 
#define BAD_SW_IF_INDEX_LABEL
 
#define VALIDATE_RX_SW_IF_INDEX(mp)
 
#define BAD_RX_SW_IF_INDEX_LABEL
 
#define VALIDATE_TX_SW_IF_INDEX(mp)
 
#define BAD_TX_SW_IF_INDEX_LABEL
 
#define foreach_vpe_api_msg
 
#define QUOTE_(x)   #x
 
#define QUOTE(x)   QUOTE_(x)
 
#define foreach_registration_hash
 
#define API_LINK_STATE_EVENT   1
 
#define API_ADMIN_UP_DOWN_EVENT   2
 
#define pub_sub_handler(lca, UCA)
 
#define RESOLUTION_EVENT   1
 
#define RESOLUTION_PENDING_EVENT   2
 
#define IP4_ARP_EVENT   3
 
#define foreach_classify_add_del_table_field
 
#define BOUNCE_HANDLER(nn)
 
#define vl_api_version(n, v)   static u32 vpe_api_version = v;
 

Enumerations

enum  resolve_t { RESOLVE_IP4_ADD_DEL_ROUTE = 1, RESOLVE_IP6_ADD_DEL_ROUTE, RESOLVE_MPLS_ETHERNET_ADD_DEL }
 

Functions

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_tlink_up_down_function (vnet_main_t *vm, u32 hw_if_index, u32 flags)
 
static clib_error_tadmin_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 vl_api_noprint_control_ping_t_handler (vl_api_noprint_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)
 Enable/disable the EFP Filter check on the subinterface. More...
 
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 send_sw_interface_vhost_user_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, vhost_user_intf_details_t *vui, u32 context)
 
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_get_next_index_t_handler (vl_api_get_next_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 send_vxlan_gpe_tunnel_details (vxlan_gpe_tunnel_t *t, unix_shared_memory_queue_t *q, u32 context)
 
static void vl_api_vxlan_gpe_tunnel_dump_t_handler (vl_api_vxlan_gpe_tunnel_dump_t *mp)
 
typedef CLIB_PACKED (struct{u32 sw_if_index;u8 priority;u8 weight;})
 Used for transferring locators via VPP API. More...
 
static void vl_api_lisp_add_del_locator_t_handler (vl_api_lisp_add_del_locator_t *mp)
 
static int unformat_lisp_eid_api (gid_address_t *dst, u32 vni, u8 type, void *src, u8 len)
 
static void vl_api_lisp_add_del_local_eid_t_handler (vl_api_lisp_add_del_local_eid_t *mp)
 
static void vl_api_lisp_eid_table_add_del_map_t_handler (vl_api_lisp_eid_table_add_del_map_t *mp)
 
typedef CLIB_PACKED (struct{u8 is_ip4;u8 priority;u8 weight;u8 addr[16];})
 Used for transferring locators via VPP API. More...
 
static locator_tunformat_lisp_locs (void *rmt_locs, u32 rloc_num)
 
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)
 
static void vl_api_lisp_pitr_set_locator_set_t_handler (vl_api_lisp_pitr_set_locator_set_t *mp)
 
static void vl_api_lisp_add_del_map_request_itr_rlocs_t_handler (vl_api_lisp_add_del_map_request_itr_rlocs_t *mp)
 
static void vl_api_lisp_add_del_remote_mapping_t_handler (vl_api_lisp_add_del_remote_mapping_t *mp)
 
static void vl_api_lisp_add_del_adjacency_t_handler (vl_api_lisp_add_del_adjacency_t *mp)
 
static void send_lisp_locator_details (lisp_cp_main_t *lcm, locator_t *loc, unix_shared_memory_queue_t *q, u32 context)
 
static void vl_api_lisp_locator_dump_t_handler (vl_api_lisp_locator_dump_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 ls_index)
 
static void vl_api_lisp_locator_set_dump_t_handler (vl_api_lisp_locator_set_dump_t *mp)
 
static void send_lisp_eid_table_details (mapping_t *mapit, unix_shared_memory_queue_t *q, u32 context, u8 filter)
 
static void vl_api_lisp_eid_table_dump_t_handler (vl_api_lisp_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_gpe_tunnel_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_map_resolver_dump_t *mp)
 
static void send_eid_table_map_pair (hash_pair_t *p, unix_shared_memory_queue_t *q, u32 context)
 
static void vl_api_lisp_eid_table_map_dump_t_handler (vl_api_lisp_eid_table_map_dump_t *mp)
 
static void vl_api_show_lisp_status_t_handler (vl_api_show_lisp_status_t *mp)
 
static void vl_api_lisp_get_map_request_itr_rlocs_t_handler (vl_api_lisp_get_map_request_itr_rlocs_t *mp)
 
static void vl_api_show_lisp_pitr_t_handler (vl_api_show_lisp_pitr_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 void send_policer_details (u8 *name, sse2_qos_pol_cfg_params_st *config, policer_read_response_type_st *templ, unix_shared_memory_queue_t *q, u32 context)
 
static void vl_api_policer_dump_t_handler (vl_api_policer_dump_t *mp)
 
static void vl_api_policer_classify_set_interface_t_handler (vl_api_policer_classify_set_interface_t *mp)
 
static void send_policer_classify_details (u32 sw_if_index, u32 table_index, unix_shared_memory_queue_t *q, u32 context)
 
static void vl_api_policer_classify_dump_t_handler (vl_api_policer_classify_dump_t *mp)
 
static void vl_api_netmap_create_t_handler (vl_api_netmap_create_t *mp)
 
static void vl_api_netmap_delete_t_handler (vl_api_netmap_delete_t *mp)
 
static void vl_api_mpls_gre_tunnel_details_t_handler (vl_api_mpls_gre_tunnel_details_t *mp)
 
static void send_mpls_gre_tunnel_entry (vpe_api_main_t *am, unix_shared_memory_queue_t *q, mpls_gre_tunnel_t *gt, u32 index, u32 context)
 
static void vl_api_mpls_gre_tunnel_dump_t_handler (vl_api_mpls_gre_tunnel_dump_t *mp)
 
static void vl_api_mpls_eth_tunnel_details_t_handler (vl_api_mpls_eth_tunnel_details_t *mp)
 
static void send_mpls_eth_tunnel_entry (vpe_api_main_t *am, unix_shared_memory_queue_t *q, mpls_eth_tunnel_t *et, u32 index, u32 context)
 
static void vl_api_mpls_eth_tunnel_dump_t_handler (vl_api_mpls_eth_tunnel_dump_t *mp)
 
static void vl_api_mpls_fib_encap_details_t_handler (vl_api_mpls_fib_encap_details_t *mp)
 
static void send_mpls_fib_encap_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, show_mpls_fib_t *s, u32 context)
 
static void vl_api_mpls_fib_encap_dump_t_handler (vl_api_mpls_fib_encap_dump_t *mp)
 
static void vl_api_mpls_fib_decap_details_t_handler (vl_api_mpls_fib_decap_details_t *mp)
 
static void send_mpls_fib_decap_details (vpe_api_main_t *am, unix_shared_memory_queue_t *q, show_mpls_fib_t *s, u32 rx_table_id, u32 tx_table_id, char *swif_tag, u32 context)
 
static void vl_api_mpls_fib_decap_dump_t_handler (vl_api_mpls_fib_decap_dump_t *mp)
 
static void vl_api_classify_table_ids_t_handler (vl_api_classify_table_ids_t *mp)
 
static void vl_api_classify_table_by_interface_t_handler (vl_api_classify_table_by_interface_t *mp)
 
static void vl_api_classify_table_info_t_handler (vl_api_classify_table_info_t *mp)
 
static void vl_api_classify_session_details_t_handler (vl_api_classify_session_details_t *mp)
 
static void send_classify_session_details (unix_shared_memory_queue_t *q, u32 table_id, u32 match_length, vnet_classify_entry_t *e, u32 context)
 
static void vl_api_classify_session_dump_t_handler (vl_api_classify_session_dump_t *mp)
 
static void vl_api_ipfix_enable_t_handler (vl_api_ipfix_enable_t *mp)
 
static void vl_api_ipfix_dump_t_handler (vl_api_ipfix_dump_t *mp)
 
static void vl_api_pg_create_interface_t_handler (vl_api_pg_create_interface_t *mp)
 
static void vl_api_pg_capture_t_handler (vl_api_pg_capture_t *mp)
 
static void vl_api_pg_enable_disable_t_handler (vl_api_pg_enable_disable_t *mp)
 
static void vl_api_ip_source_and_port_range_check_add_del_t_handler (vl_api_ip_source_and_port_range_check_add_del_t *mp)
 
static void vl_api_ip_source_and_port_range_check_interface_add_del_t_handler (vl_api_ip_source_and_port_range_check_interface_add_del_t *mp)
 
static void vl_api_ipsec_gre_add_del_tunnel_t_handler (vl_api_ipsec_gre_add_del_tunnel_t *mp)
 
static void send_ipsec_gre_tunnel_details (ipsec_gre_tunnel_t *t, unix_shared_memory_queue_t *q, u32 context)
 
static void vl_api_ipsec_gre_tunnel_dump_t_handler (vl_api_ipsec_gre_tunnel_dump_t *mp)
 
static clib_error_tvpe_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (vpe_api_hookup)
 
static clib_error_tvpe_api_init (vlib_main_t *vm)
 
static clib_error_tapi_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 u8format_arp_event (u8 *s, va_list *args)
 
static clib_error_tshow_ip4_arp_events_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_node_registration_t vpe_resolver_process_node
 (constructor) VLIB_REGISTER_NODE (vpe_resolver_process_node) More...
 
static vpe_api_main_t vpe_api_main
 
static vlib_node_registration_t link_state_process_node
 (constructor) VLIB_REGISTER_NODE (link_state_process_node) More...
 
static vlib_cli_command_t show_ip4_arp_events
 (constructor) VLIB_CLI_COMMAND (show_ip4_arp_events) More...
 

Macro Definition Documentation

#define API_ADMIN_UP_DOWN_EVENT   2

Definition at line 474 of file api.c.

#define API_LINK_STATE_EVENT   1

Definition at line 473 of file api.c.

#define BAD_RX_SW_IF_INDEX_LABEL
Value:
do { \
bad_rx_sw_if_index: \
; \
} while (0);

Definition at line 185 of file api.c.

#define BAD_SW_IF_INDEX_LABEL
Value:
do { \
bad_sw_if_index: \
; \
} while (0);

Definition at line 169 of file api.c.

#define BAD_TX_SW_IF_INDEX_LABEL
Value:
do { \
bad_tx_sw_if_index: \
; \
} while (0);

Definition at line 201 of file api.c.

#define BOUNCE_HANDLER (   nn)
Value:
static void vl_api_##nn##_t_handler ( \
vl_api_##nn##_t *mp) \
{ \
vpe_client_registration_t *reg; \
vpe_api_main_t * vam = &vpe_api_main; \
\
/* One registration only... */ \
pool_foreach(reg, vam->nn##_registrations, \
({ \
q = vl_api_client_index_to_input_queue (reg->client_index); \
if (q) { \
/* \
* If the queue is stuffed, turf the msg and complain \
* It's unlikely that the intended recipient is \
* alive; avoid deadlock at all costs. \
*/ \
if (q->cursize == q->maxsize) { \
clib_warning ("ERROR: receiver queue full, drop msg"); \
vl_msg_api_free (mp); \
return; \
} \
vl_msg_api_send_shmem (q, (u8 *)&mp); \
return; \
} \
})); \
}
static vpe_api_main_t vpe_api_main
Definition: api.c:438
#define pool_foreach(VAR, POOL, BODY)
Iterate through pool.
Definition: pool.h:348
void vl_msg_api_free(void *)
struct _unix_shared_memory_queue unix_shared_memory_queue_t

Definition at line 8081 of file api.c.

#define f64_endian (   a)

Definition at line 108 of file api.c.

#define f64_print (   a,
 
)

Definition at line 109 of file api.c.

#define foreach_classify_add_del_table_field
Value:
_(table_index) \
_(nbuckets) \
_(memory_size) \
_(skip_n_vectors) \
_(match_n_vectors) \
_(next_table_index) \
_(miss_next_index)

Definition at line 3807 of file api.c.

#define foreach_registration_hash
Value:
_(interface_events) \
_(to_netconf_server) \
_(from_netconf_server) \
_(to_netconf_client) \
_(from_netconf_client) \
_(oam_events)

Definition at line 391 of file api.c.

#define foreach_vpe_api_msg

Definition at line 218 of file api.c.

#define IP4_ARP_EVENT   3
#define pub_sub_handler (   lca,
  UCA 
)
Value:
static void vl_api_want_##lca##_t_handler ( \
vl_api_want_##lca##_t *mp) \
{ \
vpe_api_main_t *vam = &vpe_api_main; \
vpe_client_registration_t *rp; \
vl_api_want_##lca##_reply_t *rmp; \
uword *p; \
i32 rv = 0; \
\
p = hash_get (vam->lca##_registration_hash, mp->client_index); \
if (p) { \
if (mp->enable_disable) { \
clib_warning ("pid %d: already enabled...", mp->pid); \
rv = VNET_API_ERROR_INVALID_REGISTRATION; \
goto reply; \
} else { \
rp = pool_elt_at_index (vam->lca##_registrations, p[0]); \
pool_put (vam->lca##_registrations, rp); \
hash_unset (vam->lca##_registration_hash, \
mp->client_index); \
goto reply; \
} \
} \
if (mp->enable_disable == 0) { \
clib_warning ("pid %d: already disabled...", mp->pid); \
rv = VNET_API_ERROR_INVALID_REGISTRATION; \
goto reply; \
} \
pool_get (vam->lca##_registrations, rp); \
rp->client_index = mp->client_index; \
rp->client_pid = mp->pid; \
hash_set (vam->lca##_registration_hash, rp->client_index, \
rp - vam->lca##_registrations); \
\
reply: \
REPLY_MACRO (VL_API_WANT_##UCA##_REPLY); \
}
#define hash_set(h, key, value)
Definition: hash.h:254
static vpe_api_main_t vpe_api_main
Definition: api.c:438
#define hash_unset(h, key)
Definition: hash.h:260
#define pool_get(P, E)
Allocate an object E from a pool P (unspecified alignment).
Definition: pool.h:200
int i32
Definition: types.h:81
#define REPLY_MACRO(t)
Definition: api.c:125
#define clib_warning(format, args...)
Definition: error.h:59
#define hash_get(h, key)
Definition: hash.h:248
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
Definition: pool.h:369
#define pool_put(P, E)
Free an object E in pool P.
Definition: pool.h:214
u64 uword
Definition: types.h:112

Definition at line 591 of file api.c.

#define QUOTE (   x)    QUOTE_(x)

Definition at line 389 of file api.c.

#define QUOTE_ (   x)    #x

Definition at line 388 of file api.c.

#define REPLY_MACRO (   t)
Value:
do { \
rv = vl_msg_api_pd_handler (mp, rv); \
q = vl_api_client_index_to_input_queue (mp->client_index); \
if (!q) \
return; \
\
rmp = vl_msg_api_alloc (sizeof (*rmp)); \
rmp->_vl_msg_id = ntohs((t)); \
rmp->context = mp->context; \
rmp->retval = ntohl(rv); \
vl_msg_api_send_shmem (q, (u8 *)&rmp); \
} while(0);
void vl_msg_api_send_shmem(unix_shared_memory_queue_t *q, u8 *elem)
unix_shared_memory_queue_t * vl_api_client_index_to_input_queue(u32 index)
void * vl_msg_api_alloc(int nbytes)
int vl_msg_api_pd_handler(void *mp, int rv)
Definition: api_shared.c:1240
unsigned char u8
Definition: types.h:56
struct _unix_shared_memory_queue unix_shared_memory_queue_t

Definition at line 125 of file api.c.

#define REPLY_MACRO2 (   t,
  body 
)
Value:
do { \
rv = vl_msg_api_pd_handler (mp, rv); \
q = vl_api_client_index_to_input_queue (mp->client_index); \
if (!q) \
return; \
\
rmp = vl_msg_api_alloc (sizeof (*rmp)); \
rmp->_vl_msg_id = ntohs((t)); \
rmp->context = mp->context; \
rmp->retval = ntohl(rv); \
do {body;} while (0); \
vl_msg_api_send_shmem (q, (u8 *)&rmp); \
} while(0);
void vl_msg_api_send_shmem(unix_shared_memory_queue_t *q, u8 *elem)
unix_shared_memory_queue_t * vl_api_client_index_to_input_queue(u32 index)
void * vl_msg_api_alloc(int nbytes)
int vl_msg_api_pd_handler(void *mp, int rv)
Definition: api_shared.c:1240
unsigned char u8
Definition: types.h:56
struct _unix_shared_memory_queue unix_shared_memory_queue_t

Definition at line 141 of file api.c.

#define RESOLUTION_EVENT   1
#define RESOLUTION_PENDING_EVENT   2
#define VALIDATE_RX_SW_IF_INDEX (   mp)
Value:
do { u32 __rx_sw_if_index = ntohl(mp->rx_sw_if_index); \
if (pool_is_free_index(__vnm->interface_main.sw_interfaces, \
__rx_sw_if_index)) { \
rv = VNET_API_ERROR_INVALID_SW_IF_INDEX; \
goto bad_rx_sw_if_index; \
} \
} while(0);
vnet_main_t * vnet_get_main(void)
Definition: misc.c:45
#define pool_is_free_index(P, I)
Use free bitmap to query whether given index is free.
Definition: pool.h:211
unsigned int u32
Definition: types.h:88
struct vnet_main_t vnet_main_t

Definition at line 175 of file api.c.

#define VALIDATE_SW_IF_INDEX (   mp)
Value:
do { u32 __sw_if_index = ntohl(mp->sw_if_index); \
if (pool_is_free_index(__vnm->interface_main.sw_interfaces, \
__sw_if_index)) { \
rv = VNET_API_ERROR_INVALID_SW_IF_INDEX; \
goto bad_sw_if_index; \
} \
} while(0);
vnet_main_t * vnet_get_main(void)
Definition: misc.c:45
#define pool_is_free_index(P, I)
Use free bitmap to query whether given index is free.
Definition: pool.h:211
unsigned int u32
Definition: types.h:88
struct vnet_main_t vnet_main_t

Definition at line 159 of file api.c.

#define VALIDATE_TX_SW_IF_INDEX (   mp)
Value:
do { u32 __tx_sw_if_index = ntohl(mp->tx_sw_if_index); \
if (pool_is_free_index(__vnm->interface_main.sw_interfaces, \
__tx_sw_if_index)) { \
rv = VNET_API_ERROR_INVALID_SW_IF_INDEX; \
goto bad_tx_sw_if_index; \
} \
} while(0);
vnet_main_t * vnet_get_main(void)
Definition: misc.c:45
#define pool_is_free_index(P, I)
Use free bitmap to query whether given index is free.
Definition: pool.h:211
unsigned int u32
Definition: types.h:88
struct vnet_main_t vnet_main_t

Definition at line 191 of file api.c.

#define vl_api_version (   n,
 
)    static u32 vpe_api_version = v;

Definition at line 8326 of file api.c.

#define vl_endianfun   /* define message structures */

Definition at line 115 of file api.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 120 of file api.c.

#define vl_printfun

Definition at line 121 of file api.c.

#define vl_typedefs   /* define message structures */

Definition at line 111 of file api.c.

Enumeration Type Documentation

enum resolve_t
Enumerator
RESOLVE_IP4_ADD_DEL_ROUTE 
RESOLVE_IP6_ADD_DEL_ROUTE 
RESOLVE_MPLS_ETHERNET_ADD_DEL 

Definition at line 399 of file api.c.

Function Documentation

static void add_routes_in_fib ( clib_bihash_kv_24_8_t kvp,
void *  arg 
)
static

Definition at line 3020 of file api.c.

+ Here is the caller graph for this function:

static clib_error_t * admin_up_down_function ( vnet_main_t vm,
u32  hw_if_index,
u32  flags 
)
static

Definition at line 575 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void api_config_default_ip_route ( u8  is_ipv6,
u8  is_add,
u32  vrf_id,
u32  sw_if_index,
u8 next_hop_addr 
)

Definition at line 1320 of file api.c.

+ Here is the call graph for this function:

static clib_error_t* api_segment_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 8202 of file api.c.

+ Here is the call graph for this function:

static int arp_change_data_callback ( u32  pool_index,
u8 new_mac,
u32  sw_if_index,
u32  address 
)
static

Definition at line 6042 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int arp_change_delete_callback ( u32  pool_index,
u8 notused 
)
static

Definition at line 6079 of file api.c.

+ Here is the caller graph for this function:

typedef CLIB_PACKED ( struct{ip4_address_t address;u32 address_length:6;u32 index:26;}  )

Definition at line 2895 of file api.c.

+ Here is the call graph for this function:

typedef CLIB_PACKED ( struct{u32 sw_if_index;u8 priority;u8 weight;}  )

Used for transferring locators via VPP API.

Definition at line 5108 of file api.c.

+ Here is the call graph for this function:

typedef CLIB_PACKED ( struct{u8 is_ip4;u8 priority;u8 weight;u8 addr[16];}  )

Used for transferring locators via VPP API.

Definition at line 5281 of file api.c.

+ Here is the call graph for this function:

void dhcp_compl_event_callback ( u32  client_index,
u32  pid,
u8 hostname,
u8  is_ipv6,
u8 host_address,
u8 router_address,
u8 host_mac 
)

Definition at line 3239 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void dhcpv4_proxy_config ( vl_api_dhcp_proxy_config_t mp)
static

Definition at line 3133 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void dhcpv4_proxy_config_2 ( vl_api_dhcp_proxy_config_2_t mp)
static

Definition at line 3164 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void dhcpv6_proxy_config ( vl_api_dhcp_proxy_config_t mp)
static

Definition at line 3149 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void dhcpv6_proxy_config_2 ( vl_api_dhcp_proxy_config_2_t mp)
static

Definition at line 3181 of file api.c.

+ Here is the caller graph for this function:

static int event_data_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 477 of file api.c.

+ Here is the caller graph for this function:

static u8* format_arp_event ( u8 s,
va_list *  args 
)
static

Definition at line 8344 of file api.c.

+ Here is the call graph for this function:

void* get_unformat_vnet_sw_interface ( void  )

Definition at line 8320 of file api.c.

static int ip4_add_del_route_t_handler ( vl_api_ip_add_del_route_t mp)
static

Definition at line 892 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int ip6_add_del_route_t_handler ( vl_api_ip_add_del_route_t mp)
static

Definition at line 1108 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int ip6_reset_fib_t_handler ( vl_api_reset_fib_t mp)
static

Definition at line 3037 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void l2_efp_filter_configure ( vnet_main_t vnet_main,
u32  sw_if_index,
u32  enable 
)

Enable/disable the EFP Filter check on the subinterface.

Definition at line 529 of file l2_efp_filter.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword link_state_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 486 of file api.c.

+ Here is the call graph for this function:

static clib_error_t * link_up_down_function ( vnet_main_t vm,
u32  hw_if_index,
u32  flags 
)
static

Definition at line 562 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int mpls_ethernet_add_del_tunnel_2_t_handler ( vl_api_mpls_ethernet_add_del_tunnel_2_t mp)
static

Definition at line 2176 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

pub_sub_handler ( interface_events  ,
INTERFACE_EVENTS   
)

Definition at line 630 of file api.c.

static uword resolver_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 689 of file api.c.

+ Here is the call graph for this function:

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

Definition at line 1675 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 1652 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_classify_session_details ( unix_shared_memory_queue_t q,
u32  table_id,
u32  match_length,
vnet_classify_entry_t *  e,
u32  context 
)
static

Definition at line 7584 of file api.c.

+ Here is the call graph for this function:

static void send_eid_table_map_pair ( hash_pair_t p,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 5880 of file api.c.

+ Here is the call graph for this function:

static void send_gre_tunnel_details ( gre_tunnel_t t,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 4881 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 4198 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_ip_details ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
u32  sw_if_index,
u32  context 
)
static

Definition at line 4276 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_ipsec_gre_tunnel_details ( ipsec_gre_tunnel_t t,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 8027 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 4404 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_lisp_eid_table_details ( mapping_t mapit,
unix_shared_memory_queue_t q,
u32  context,
u8  filter 
)
static

Definition at line 5661 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_lisp_gpe_tunnel_details ( lisp_gpe_tunnel_t tunnel,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 5772 of file api.c.

+ Here is the call graph for this function:

static void send_lisp_locator_details ( lisp_cp_main_t lcm,
locator_t loc,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 5536 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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  ls_index 
)
static

Definition at line 5598 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_lisp_map_resolver_details ( ip_address_t *  ip,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 5829 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_mpls_eth_tunnel_entry ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
mpls_eth_tunnel_t et,
u32  index,
u32  context 
)
static

Definition at line 7171 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_mpls_fib_decap_details ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
show_mpls_fib_t s,
u32  rx_table_id,
u32  tx_table_id,
char *  swif_tag,
u32  context 
)
static

Definition at line 7345 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_mpls_fib_encap_details ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
show_mpls_fib_t s,
u32  context 
)
static

Definition at line 7251 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_mpls_gre_tunnel_entry ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
mpls_gre_tunnel_t gt,
u32  index,
u32  context 
)
static

Definition at line 7089 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void send_oam_event ( oam_target_t t)

Definition at line 2806 of file api.c.

+ Here is the caller graph for this function:

static void send_policer_classify_details ( u32  sw_if_index,
u32  table_index,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 7000 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_policer_details ( u8 name,
sse2_qos_pol_cfg_params_st config,
policer_read_response_type_st templ,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 6886 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 4163 of file api.c.

+ Here is the call graph for this function:

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

Definition at line 2644 of file api.c.

+ Here is the call graph for this function:

static void send_sw_interface_flags ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
vnet_sw_interface_t swif 
)
static

Definition at line 2722 of file api.c.

+ Here is the call graph for this function:

static void send_sw_interface_flags_deleted ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
u32  sw_if_index 
)
static

Definition at line 2747 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 4314 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_sw_interface_vhost_user_details ( vpe_api_main_t am,
unix_shared_memory_queue_t q,
vhost_user_intf_details_t vui,
u32  context 
)
static

Definition at line 4105 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_vxlan_gpe_tunnel_details ( vxlan_gpe_tunnel_t t,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 5036 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_vxlan_tunnel_details ( vxlan_tunnel_t t,
unix_shared_memory_queue_t q,
u32  context 
)
static

Definition at line 4766 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void set_ip4_flow_hash ( vl_api_set_ip_flow_hash_t mp)
static

Definition at line 3423 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void set_ip6_flow_hash ( vl_api_set_ip_flow_hash_t mp)
static

Definition at line 3412 of file api.c.

+ Here is the caller graph for this function:

static void shmem_cli_output ( uword  arg,
u8 buffer,
uword  buffer_bytes 
)
static

Definition at line 3559 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* show_ip4_arp_events_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 8354 of file api.c.

+ Here is the call graph for this function:

static int unformat_lisp_eid_api ( gid_address_t dst,
u32  vni,
u8  type,
void *  src,
u8  len 
)
static

Definition at line 5195 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static locator_t* unformat_lisp_locs ( void *  rmt_locs,
u32  rloc_num 
)
static

Definition at line 5317 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_add_node_next_t_handler ( vl_api_add_node_next_t mp)
static

Definition at line 4568 of file api.c.

+ Here is the call graph for this function:

static void vl_api_af_packet_create_t_handler ( vl_api_af_packet_create_t mp)
static

Definition at line 6797 of file api.c.

+ Here is the call graph for this function:

static void vl_api_af_packet_delete_t_handler ( vl_api_af_packet_delete_t mp)
static

Definition at line 6823 of file api.c.

+ Here is the call graph for this function:

static void vl_api_bd_ip_mac_add_del_t_handler ( vl_api_bd_ip_mac_add_del_t mp)
static

Definition at line 1853 of file api.c.

+ Here is the call graph for this function:

static void vl_api_bridge_domain_add_del_t_handler ( vl_api_bridge_domain_add_del_t mp)
static

Definition at line 1586 of file api.c.

+ Here is the call graph for this function:

static void vl_api_bridge_domain_details_t_handler ( vl_api_bridge_domain_details_t mp)
static

Definition at line 1639 of file api.c.

+ Here is the call graph for this function:

static void vl_api_bridge_domain_dump_t_handler ( vl_api_bridge_domain_dump_t mp)
static

Definition at line 1695 of file api.c.

+ Here is the call graph for this function:

static void vl_api_bridge_domain_sw_if_details_t_handler ( vl_api_bridge_domain_sw_if_details_t mp)
static

Definition at line 1646 of file api.c.

+ Here is the caller graph for this function:

static void vl_api_bridge_flags_t_handler ( vl_api_bridge_flags_t mp)
static

Definition at line 1821 of file api.c.

+ Here is the call graph for this function:

static void vl_api_classify_add_del_session_t_handler ( vl_api_classify_add_del_session_t mp)
static

Definition at line 3867 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_classify_add_del_table_t_handler ( vl_api_classify_add_del_table_t mp)
static

Definition at line 3817 of file api.c.

+ Here is the call graph for this function:

static void vl_api_classify_session_details_t_handler ( vl_api_classify_session_details_t mp)
static

Definition at line 7577 of file api.c.

static void vl_api_classify_session_dump_t_handler ( vl_api_classify_session_dump_t mp)
static

Definition at line 7606 of file api.c.

+ Here is the call graph for this function:

static void vl_api_classify_set_interface_ip_table_t_handler ( vl_api_classify_set_interface_ip_table_t mp)
static

Definition at line 3888 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_classify_set_interface_l2_tables_t_handler ( vl_api_classify_set_interface_l2_tables_t mp)
static

Definition at line 3911 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_classify_table_by_interface_t_handler ( vl_api_classify_table_by_interface_t mp)
static

Definition at line 7478 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_classify_table_ids_t_handler ( vl_api_classify_table_ids_t mp)
static

Definition at line 7442 of file api.c.

+ Here is the call graph for this function:

static void vl_api_classify_table_info_t_handler ( vl_api_classify_table_info_t mp)
static

Definition at line 7527 of file api.c.

+ Here is the call graph for this function:

static void vl_api_cli_request_t_handler ( vl_api_cli_request_t mp)
static

Definition at line 3586 of file api.c.

+ Here is the call graph for this function:

static void vl_api_control_ping_t_handler ( vl_api_control_ping_t mp)
static

Definition at line 3531 of file api.c.

+ Here is the call graph for this function:

static void vl_api_cop_interface_enable_disable_t_handler ( vl_api_cop_interface_enable_disable_t mp)
static

Definition at line 6657 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_cop_whitelist_enable_disable_t_handler ( vl_api_cop_whitelist_enable_disable_t mp)
static

Definition at line 6676 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_create_loopback_t_handler ( vl_api_create_loopback_t mp)
static

Definition at line 3501 of file api.c.

+ Here is the call graph for this function:

static void vl_api_create_subif_t_handler ( vl_api_create_subif_t mp)
static

Definition at line 2032 of file api.c.

+ Here is the call graph for this function:

static void vl_api_create_vhost_user_if_t_handler ( vl_api_create_vhost_user_if_t mp)
static

Definition at line 4020 of file api.c.

+ Here is the call graph for this function:

static void vl_api_create_vlan_subif_t_handler ( vl_api_create_vlan_subif_t mp)
static

Definition at line 1957 of file api.c.

+ Here is the call graph for this function:

static void vl_api_delete_loopback_t_handler ( vl_api_delete_loopback_t mp)
static

Definition at line 3518 of file api.c.

+ Here is the call graph for this function:

static void vl_api_delete_vhost_user_if_t_handler ( vl_api_delete_vhost_user_if_t mp)
static

Definition at line 4069 of file api.c.

+ Here is the call graph for this function:

static void vl_api_dhcp_client_config_t_handler ( vl_api_dhcp_client_config_t mp)
static

Definition at line 3266 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_dhcp_proxy_config_2_t_handler ( vl_api_dhcp_proxy_config_2_t mp)
static

Definition at line 3230 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_dhcp_proxy_config_t_handler ( vl_api_dhcp_proxy_config_t mp)
static

Definition at line 3221 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_dhcp_proxy_set_vss_t_handler ( vl_api_dhcp_proxy_set_vss_t mp)
static

Definition at line 3202 of file api.c.

+ Here is the call graph for this function:

static void vl_api_get_next_index_t_handler ( vl_api_get_next_index_t mp)
static

Definition at line 4521 of file api.c.

+ Here is the call graph for this function:

static void vl_api_get_node_graph_t_handler ( vl_api_get_node_graph_t mp)
static

Definition at line 6699 of file api.c.

+ Here is the call graph for this function:

static void vl_api_get_node_index_t_handler ( vl_api_get_node_index_t mp)
static

Definition at line 4497 of file api.c.

+ Here is the call graph for this function:

static void vl_api_gre_add_del_tunnel_t_handler ( vl_api_gre_add_del_tunnel_t mp)
static

Definition at line 4835 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_gre_tunnel_dump_t_handler ( vl_api_gre_tunnel_dump_t mp)
static

Definition at line 4899 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_profile_add_del_t_handler ( vl_api_ikev2_profile_add_del_t mp)
static

Definition at line 6330 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_profile_set_auth_t_handler ( vl_api_ikev2_profile_set_auth_t mp)
static

Definition at line 6352 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ikev2_profile_set_id_t_handler ( vl_api_ikev2_profile_set_id_t mp)
static

Definition at line 6376 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_profile_set_ts_t_handler ( vl_api_ikev2_profile_set_ts_t mp)
static

Definition at line 6400 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_set_local_key_t_handler ( vl_api_ikev2_set_local_key_t mp)
static

Definition at line 6423 of file api.c.

+ Here is the call graph for this function:

static void vl_api_input_acl_set_interface_t_handler ( vl_api_input_acl_set_interface_t mp)
static

Definition at line 6128 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_interface_name_renumber_t_handler ( vl_api_interface_name_renumber_t mp)
static

Definition at line 6025 of file api.c.

+ Here is the call graph for this function:

void vl_api_ip_add_del_route_t_handler ( vl_api_ip_add_del_route_t mp)

Definition at line 1301 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ip_address_dump_t_handler ( vl_api_ip_address_dump_t mp)
static

Definition at line 4224 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ip_dump_t_handler ( vl_api_ip_dump_t mp)
static

Definition at line 4357 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ip_neighbor_add_del_t_handler ( vl_api_ip_neighbor_add_del_t mp,
vlib_main_t vm 
)
static

Definition at line 2393 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ip_source_and_port_range_check_add_del_t_handler ( vl_api_ip_source_and_port_range_check_add_del_t mp)
static

Definition at line 7851 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ip_source_and_port_range_check_interface_add_del_t_handler ( vl_api_ip_source_and_port_range_check_interface_add_del_t mp)
static

Definition at line 7937 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ipfix_dump_t_handler ( vl_api_ipfix_dump_t mp)
static

Definition at line 7735 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ipfix_enable_t_handler ( vl_api_ipfix_enable_t mp)
static

Definition at line 7654 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ipsec_gre_add_del_tunnel_t_handler ( vl_api_ipsec_gre_add_del_tunnel_t mp)
static

Definition at line 7991 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ipsec_gre_tunnel_dump_t_handler ( vl_api_ipsec_gre_tunnel_dump_t mp)
static

Definition at line 8045 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ipsec_interface_add_del_spd_t_handler ( vl_api_ipsec_interface_add_del_spd_t mp)
static

Definition at line 6172 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ipsec_sa_set_key_t_handler ( vl_api_ipsec_sa_set_key_t mp)
static

Definition at line 6635 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ipsec_sad_add_del_entry_t_handler ( vl_api_ipsec_sad_add_del_entry_t mp)
static

Definition at line 6261 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ipsec_spd_add_del_entry_t_handler ( vl_api_ipsec_spd_add_del_entry_t mp)
static

Definition at line 6197 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ipsec_spd_add_del_t_handler ( vl_api_ipsec_spd_add_del_t mp)
static

Definition at line 6151 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_is_address_reachable_t_handler ( vl_api_is_address_reachable_t mp)
static

Definition at line 2476 of file api.c.

+ Here is the call graph for this function:

static void vl_api_l2_fib_clear_table_t_handler ( vl_api_l2_fib_clear_table_t mp)
static

Definition at line 3945 of file api.c.

+ Here is the call graph for this function:

static void vl_api_l2_fib_table_dump_t_handler ( vl_api_l2_fib_table_dump_t mp)
static

Definition at line 4429 of file api.c.

+ Here is the call graph for this function:

static void vl_api_l2_fib_table_entry_t_handler ( vl_api_l2_fib_table_entry_t mp)
static

Definition at line 4398 of file api.c.

static void vl_api_l2_flags_t_handler ( vl_api_l2_flags_t mp)
static

Definition at line 1794 of file api.c.

static void vl_api_l2_interface_efp_filter_t_handler ( vl_api_l2_interface_efp_filter_t mp)
static

Definition at line 3963 of file api.c.

+ Here is the call graph for this function:

static void vl_api_l2_interface_vlan_tag_rewrite_t_handler ( vl_api_l2_interface_vlan_tag_rewrite_t mp)
static

Definition at line 3979 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_l2_patch_add_del_t_handler ( vl_api_l2_patch_add_del_t mp)
static

Definition at line 4936 of file api.c.

+ Here is the call graph for this function:

static void vl_api_l2fib_add_del_t_handler ( vl_api_l2fib_add_del_t mp)
static

Definition at line 1734 of file api.c.

+ Here is the call graph for this function:

static void vl_api_l2tpv3_create_tunnel_t_handler ( vl_api_l2tpv3_create_tunnel_t mp)
static

Definition at line 4601 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_l2tpv3_interface_enable_disable_t_handler ( vl_api_l2tpv3_interface_enable_disable_t mp)
static

Definition at line 4673 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_l2tpv3_set_lookup_key_t_handler ( vl_api_l2tpv3_set_lookup_key_t mp)
static

Definition at line 4690 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_l2tpv3_set_tunnel_cookies_t_handler ( vl_api_l2tpv3_set_tunnel_cookies_t mp)
static

Definition at line 4654 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_lisp_add_del_adjacency_t_handler ( vl_api_lisp_add_del_adjacency_t mp)
static

Definition at line 5512 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_add_del_local_eid_t_handler ( vl_api_lisp_add_del_local_eid_t mp)
static

Definition at line 5227 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_add_del_locator_t_handler ( vl_api_lisp_add_del_locator_t mp)
static

Definition at line 5161 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_add_del_map_request_itr_rlocs_t_handler ( vl_api_lisp_add_del_map_request_itr_rlocs_t mp)
static

Definition at line 5446 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_lisp_add_del_map_resolver_t_handler ( vl_api_lisp_add_del_map_resolver_t mp)
static

Definition at line 5372 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_add_del_remote_mapping_t_handler ( vl_api_lisp_add_del_remote_mapping_t mp)
static

Definition at line 5467 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_lisp_eid_table_add_del_map_t_handler ( vl_api_lisp_eid_table_add_del_map_t mp)
static

Definition at line 5270 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_lisp_eid_table_dump_t_handler ( vl_api_lisp_eid_table_dump_t mp)
static

Definition at line 5730 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_eid_table_map_dump_t_handler ( vl_api_lisp_eid_table_map_dump_t mp)
static

Definition at line 5896 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_enable_disable_t_handler ( vl_api_lisp_enable_disable_t mp)
static

Definition at line 5404 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_get_map_request_itr_rlocs_t_handler ( vl_api_lisp_get_map_request_itr_rlocs_t mp)
static

Definition at line 5940 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_lisp_gpe_add_del_fwd_entry_t_handler ( vl_api_lisp_gpe_add_del_fwd_entry_t mp)
static

Definition at line 5340 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_lisp_gpe_add_del_iface_t_handler ( vl_api_lisp_gpe_add_del_iface_t mp)
static

Definition at line 5414 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_gpe_enable_disable_t_handler ( vl_api_lisp_gpe_enable_disable_t mp)
static

Definition at line 5390 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_gpe_tunnel_dump_t_handler ( vl_api_lisp_gpe_tunnel_dump_t mp)
static

Definition at line 5803 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_locator_dump_t_handler ( vl_api_lisp_locator_dump_t mp)
static

Definition at line 5564 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_locator_set_dump_t_handler ( vl_api_lisp_locator_set_dump_t mp)
static

Definition at line 5631 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_map_resolver_dump_t_handler ( vl_api_lisp_map_resolver_dump_t mp)
static

Definition at line 5861 of file api.c.

+ Here is the call graph for this function:

static void vl_api_lisp_pitr_set_locator_set_t_handler ( vl_api_lisp_pitr_set_locator_set_t mp)
static

Definition at line 5430 of file api.c.

+ Here is the call graph for this function:

static void vl_api_map_add_del_rule_t_handler ( vl_api_map_add_del_rule_t mp)
static

Definition at line 6477 of file api.c.

+ Here is the call graph for this function:

static void vl_api_map_add_domain_t_handler ( vl_api_map_add_domain_t mp)
static

Definition at line 6443 of file api.c.

+ Here is the call graph for this function:

static void vl_api_map_del_domain_t_handler ( vl_api_map_del_domain_t mp)
static

Definition at line 6466 of file api.c.

+ Here is the call graph for this function:

static void vl_api_map_domain_dump_t_handler ( vl_api_map_domain_dump_t mp)
static

Definition at line 6490 of file api.c.

+ Here is the call graph for this function:

static void vl_api_map_rule_dump_t_handler ( vl_api_map_rule_dump_t mp)
static

Definition at line 6532 of file api.c.

+ Here is the call graph for this function:

static void vl_api_map_summary_stats_t_handler ( vl_api_map_summary_stats_t mp)
static

Definition at line 6575 of file api.c.

+ Here is the call graph for this function:

int vl_api_memclnt_delete_callback ( u32  client_index)

Definition at line 452 of file api.c.

+ Here is the call graph for this function:

static void vl_api_modify_vhost_user_if_t_handler ( vl_api_modify_vhost_user_if_t mp)
static

Definition at line 4048 of file api.c.

+ Here is the call graph for this function:

static void vl_api_mpls_add_del_decap_t_handler ( vl_api_mpls_add_del_decap_t mp)
static

Definition at line 2311 of file api.c.

+ Here is the call graph for this function:

static void vl_api_mpls_add_del_encap_t_handler ( vl_api_mpls_add_del_encap_t mp)
static

Definition at line 2287 of file api.c.

+ Here is the call graph for this function:

static void vl_api_mpls_eth_tunnel_details_t_handler ( vl_api_mpls_eth_tunnel_details_t mp)
static

Definition at line 7164 of file api.c.

static void vl_api_mpls_eth_tunnel_dump_t_handler ( vl_api_mpls_eth_tunnel_dump_t mp)
static

Definition at line 7211 of file api.c.

+ Here is the call graph for this function:

static void vl_api_mpls_ethernet_add_del_tunnel_2_t_handler ( vl_api_mpls_ethernet_add_del_tunnel_2_t mp)
static

Definition at line 2275 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_mpls_ethernet_add_del_tunnel_t_handler ( vl_api_mpls_ethernet_add_del_tunnel_t mp)
static

Definition at line 2146 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_mpls_fib_decap_details_t_handler ( vl_api_mpls_fib_decap_details_t mp)
static

Definition at line 7339 of file api.c.

static void vl_api_mpls_fib_decap_dump_t_handler ( vl_api_mpls_fib_decap_dump_t mp)
static

Definition at line 7372 of file api.c.

+ Here is the call graph for this function:

static void vl_api_mpls_fib_encap_details_t_handler ( vl_api_mpls_fib_encap_details_t mp)
static

Definition at line 7245 of file api.c.

static void vl_api_mpls_fib_encap_dump_t_handler ( vl_api_mpls_fib_encap_dump_t mp)
static

Definition at line 7287 of file api.c.

+ Here is the call graph for this function:

static void vl_api_mpls_gre_add_del_tunnel_t_handler ( vl_api_mpls_gre_add_del_tunnel_t mp)
static

Definition at line 2116 of file api.c.

+ Here is the call graph for this function:

static void vl_api_mpls_gre_tunnel_details_t_handler ( vl_api_mpls_gre_tunnel_details_t mp)
static

Definition at line 7082 of file api.c.

static void vl_api_mpls_gre_tunnel_dump_t_handler ( vl_api_mpls_gre_tunnel_dump_t mp)
static

Definition at line 7130 of file api.c.

+ Here is the call graph for this function:

static void vl_api_netmap_create_t_handler ( vl_api_netmap_create_t mp)
static

Definition at line 7044 of file api.c.

+ Here is the call graph for this function:

static void vl_api_netmap_delete_t_handler ( vl_api_netmap_delete_t mp)
static

Definition at line 7064 of file api.c.

+ Here is the call graph for this function:

static void vl_api_noprint_control_ping_t_handler ( vl_api_noprint_control_ping_t mp)
static

Definition at line 3545 of file api.c.

+ Here is the caller graph for this function:

static void vl_api_oam_add_del_t_handler ( vl_api_oam_add_del_t mp)
static

Definition at line 2831 of file api.c.

+ Here is the call graph for this function:

static void vl_api_pg_capture_t_handler ( vl_api_pg_capture_t mp)
static

Definition at line 7779 of file api.c.

+ Here is the call graph for this function:

static void vl_api_pg_create_interface_t_handler ( vl_api_pg_create_interface_t mp)
static

Definition at line 7762 of file api.c.

+ Here is the call graph for this function:

static void vl_api_pg_enable_disable_t_handler ( vl_api_pg_enable_disable_t mp)
static

Definition at line 7823 of file api.c.

+ Here is the call graph for this function:

static void vl_api_policer_add_del_t_handler ( vl_api_policer_add_del_t mp)
static

Definition at line 6841 of file api.c.

+ Here is the call graph for this function:

static void vl_api_policer_classify_dump_t_handler ( vl_api_policer_classify_dump_t mp)
static

Definition at line 7017 of file api.c.

+ Here is the call graph for this function:

static void vl_api_policer_classify_set_interface_t_handler ( vl_api_policer_classify_set_interface_t mp)
static

Definition at line 6976 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_policer_dump_t_handler ( vl_api_policer_dump_t mp)
static

Definition at line 6927 of file api.c.

+ Here is the call graph for this function:

static void vl_api_proxy_arp_add_del_t_handler ( vl_api_proxy_arp_add_del_t mp)
static

Definition at line 2324 of file api.c.

+ Here is the call graph for this function:

static void vl_api_proxy_arp_intfc_enable_disable_t_handler ( vl_api_proxy_arp_intfc_enable_disable_t mp)
static

Definition at line 2359 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_reset_fib_t_handler ( vl_api_reset_fib_t mp)
static

Definition at line 3118 of file api.c.

+ Here is the call graph for this function:

static void vl_api_set_arp_neighbor_limit_t_handler ( vl_api_set_arp_neighbor_limit_t mp)
static

Definition at line 3622 of file api.c.

+ Here is the call graph for this function:

static void vl_api_set_ip_flow_hash_t_handler ( vl_api_set_ip_flow_hash_t mp)
static

Definition at line 3443 of file api.c.

+ Here is the call graph for this function:

static void vl_api_show_lisp_pitr_t_handler ( vl_api_show_lisp_pitr_t mp)
static

Definition at line 5978 of file api.c.

+ Here is the call graph for this function:

static void vl_api_show_lisp_status_t_handler ( vl_api_show_lisp_status_t mp)
static

Definition at line 5917 of file api.c.

+ Here is the call graph for this function:

static void vl_api_show_version_t_handler ( vl_api_show_version_t mp)
static

Definition at line 4468 of file api.c.

+ Here is the call graph for this function:

static void vl_api_sr_multicast_map_add_del_t_handler ( vl_api_sr_multicast_map_add_del_t mp)
static

Definition at line 3767 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sr_policy_add_del_t_handler ( vl_api_sr_policy_add_del_t mp)
static

Definition at line 3713 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sr_tunnel_add_del_t_handler ( vl_api_sr_tunnel_add_del_t mp)
static

Definition at line 3650 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_if_l2tpv3_tunnel_dump_t_handler ( vl_api_sw_if_l2tpv3_tunnel_dump_t mp)
static

Definition at line 4292 of file api.c.

+ Here is the call graph for this function:

static void vl_api_sw_interface_add_del_address_t_handler ( vl_api_sw_interface_add_del_address_t mp)
static

Definition at line 1363 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_interface_clear_stats_t_handler ( vl_api_sw_interface_clear_stats_t mp)
static

Definition at line 2581 of file api.c.

+ Here is the call graph for this function:

static void vl_api_sw_interface_details_t_handler ( vl_api_sw_interface_details_t mp)
static

Definition at line 2551 of file api.c.

static void vl_api_sw_interface_dump_t_handler ( vl_api_sw_interface_dump_t mp)
static

Definition at line 2765 of file api.c.

+ Here is the call graph for this function:

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

Definition at line 3348 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 3381 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 3286 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 3320 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_interface_set_flags_t_handler ( vl_api_sw_interface_set_flags_t mp)
static

Definition at line 2557 of file api.c.

+ Here is the call graph for this function:

static void vl_api_sw_interface_set_l2_bridge_t_handler ( vl_api_sw_interface_set_l2_bridge_t mp)
static

Definition at line 1552 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_interface_set_l2_xconnect_t_handler ( vl_api_sw_interface_set_l2_xconnect_t mp)
static

Definition at line 1522 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_interface_set_table_t_handler ( vl_api_sw_interface_set_table_t mp)
static

Definition at line 1391 of file api.c.

+ Here is the call graph for this function:

static void vl_api_sw_interface_set_unnumbered_t_handler ( vl_api_sw_interface_set_unnumbered_t mp)
static

Definition at line 3452 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_interface_set_vpath_t_handler ( vl_api_sw_interface_set_vpath_t mp)
static

Definition at line 1443 of file api.c.

+ Here is the call graph for this function:

static void vl_api_sw_interface_tap_dump_t_handler ( vl_api_sw_interface_tap_dump_t mp)
static

Definition at line 4332 of file api.c.

+ Here is the call graph for this function:

static void vl_api_sw_interface_vhost_user_details_t_handler ( vl_api_sw_interface_vhost_user_details_t mp)
static

Definition at line 4099 of file api.c.

+ Here is the caller graph for this function:

static void vl_api_sw_interface_vhost_user_dump_t_handler ( vl_api_sw_interface_vhost_user_dump_t mp)
static

Definition at line 4133 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_tap_connect_t_handler ( vl_api_tap_connect_t mp,
vlib_main_t vm 
)
static

Definition at line 1879 of file api.c.

+ Here is the call graph for this function:

static void vl_api_tap_delete_t_handler ( vl_api_tap_delete_t mp,
vlib_main_t vm 
)
static

Definition at line 1931 of file api.c.

+ Here is the call graph for this function:

static void vl_api_tap_modify_t_handler ( vl_api_tap_modify_t mp,
vlib_main_t vm 
)
static

Definition at line 1905 of file api.c.

+ Here is the call graph for this function:

static void vl_api_trace_profile_add_t_handler ( vl_api_trace_profile_add_t mp)
static

Definition at line 6735 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_trace_profile_apply_t_handler ( vl_api_trace_profile_apply_t mp)
static

Definition at line 6758 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_trace_profile_del_t_handler ( vl_api_trace_profile_del_t mp)
static

Definition at line 6780 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vnet_get_summary_stats_t_handler ( vl_api_vnet_get_summary_stats_t mp)
static

Definition at line 2844 of file api.c.

+ Here is the call graph for this function:

static void vl_api_vxlan_add_del_tunnel_t_handler ( vl_api_vxlan_add_del_tunnel_t mp)
static

Definition at line 4709 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vxlan_gpe_add_del_tunnel_t_handler ( vl_api_vxlan_gpe_add_del_tunnel_t mp)
static

Definition at line 4960 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vxlan_gpe_tunnel_dump_t_handler ( vl_api_vxlan_gpe_tunnel_dump_t mp)
static

Definition at line 5070 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vxlan_tunnel_dump_t_handler ( vl_api_vxlan_tunnel_dump_t mp)
static

Definition at line 4798 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_want_ip4_arp_events_t_handler ( vl_api_want_ip4_arp_events_t mp)
static

Definition at line 6091 of file api.c.

+ Here is the call graph for this function:

int vl_msg_api_version_check ( vl_api_memclnt_create_t mp)

Definition at line 8331 of file api.c.

VLIB_API_INIT_FUNCTION ( vpe_api_hookup  )

+ Here is the caller graph for this function:

VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION ( link_up_down_function  )
VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION ( admin_up_down_function  )
static clib_error_t* vpe_api_hookup ( vlib_main_t vm)
static

Definition at line 8120 of file api.c.

+ Here is the call graph for this function:

static clib_error_t* vpe_api_init ( vlib_main_t vm)
static

Definition at line 8178 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t link_state_process_node
static
Initial value:
= {
.function = link_state_process,
.name = "vpe-link-state-process",
}
static uword link_state_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
Definition: api.c:486

(constructor) VLIB_REGISTER_NODE (link_state_process_node)

Definition at line 551 of file api.c.

vlib_cli_command_t show_ip4_arp_events
static
Initial value:
= {
.path = "show arp event registrations",
.short_help = "Show arp event registrations",
}
static clib_error_t * show_ip4_arp_events_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: api.c:8354

(constructor) VLIB_CLI_COMMAND (show_ip4_arp_events)

Definition at line 8377 of file api.c.

vpe_api_main_t vpe_api_main
static

Definition at line 438 of file api.c.

static vlib_node_registration_t vpe_resolver_process_node
static
Initial value:
= {
.function = resolver_process,
.name = "vpe-route-resolver-process",
}
static uword resolver_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
Definition: api.c:689

(constructor) VLIB_REGISTER_NODE (vpe_resolver_process_node)

Definition at line 437 of file api.c.