FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
api.c File Reference

Go to the source code of this file.

Macros

#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 foreach_vpe_api_msg
 
#define QUOTE_(x)   #x
 
#define QUOTE(x)   QUOTE_(x)
 
#define RESOLUTION_EVENT   1
 
#define RESOLUTION_PENDING_EVENT   2
 
#define IP4_ARP_EVENT   3
 
#define IP6_ND_EVENT   4
 
#define BOUNCE_HANDLER(nn)
 
#define vl_msg_name_crc_list
 

Enumerations

enum  resolve_t { RESOLVE_IP4_ADD_DEL_ROUTE = 1, RESOLVE_IP6_ADD_DEL_ROUTE }
 

Functions

static int arp_change_delete_callback (u32 pool_index, u8 *notused)
 
static int nd_change_delete_callback (u32 pool_index, u8 *notused)
 
static clib_error_tmemclnt_delete_callback (u32 client_index)
 
 VL_MSG_API_REAPER_FUNCTION (memclnt_delete_callback)
 
 pub_sub_handler (oam_events, OAM_EVENTS)
 
int ip4_add_del_route_t_handler (vl_api_ip_add_del_route_t *mp)
 
int ip6_add_del_route_t_handler (vl_api_ip_add_del_route_t *mp)
 
static void handle_ip4_arp_event (u32 pool_index)
 
void handle_ip6_nd_event (u32 pool_index)
 
static uword resolver_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
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_bd_ip_mac_add_del_t_handler (vl_api_bd_ip_mac_add_del_t *mp)
 
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_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_sw_interface_set_mpls_enable_t_handler (vl_api_sw_interface_set_mpls_enable_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 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 vl_api_create_loopback_t_handler (vl_api_create_loopback_t *mp)
 
static void vl_api_create_loopback_instance_t_handler (vl_api_create_loopback_instance_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_t_handler (vl_api_cli_t *mp)
 
static void inband_cli_output (uword arg, u8 *buffer, uword buffer_bytes)
 
static void vl_api_cli_inband_t_handler (vl_api_cli_inband_t *mp)
 
static void vl_api_set_arp_neighbor_limit_t_handler (vl_api_set_arp_neighbor_limit_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)
 
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_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_l2_patch_add_del_t_handler (vl_api_l2_patch_add_del_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 int nd_change_data_callback (u32 pool_index, u8 *new_mac, u32 sw_if_index, ip6_address_t *address)
 
static void vl_api_want_ip4_arp_events_t_handler (vl_api_want_ip4_arp_events_t *mp)
 
static void vl_api_want_ip6_nd_events_t_handler (vl_api_want_ip6_nd_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_get_node_graph_t_handler (vl_api_get_node_graph_t *mp)
 
static void vl_api_ioam_enable_t_handler (vl_api_ioam_enable_t *mp)
 
static void vl_api_ioam_disable_t_handler (vl_api_ioam_disable_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_delete_subif_t_handler (vl_api_delete_subif_t *mp)
 
static void vl_api_punt_t_handler (vl_api_punt_t *mp)
 
static void vl_api_feature_enable_disable_t_handler (vl_api_feature_enable_disable_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
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)
 
static u8format_arp_event (u8 *s, va_list *args)
 
static u8format_nd_event (u8 *s, va_list *args)
 
static clib_error_tshow_ip_arp_nd_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...
 
vpe_api_main_t vpe_api_main
 
static vlib_cli_command_t show_ip_arp_nd_events
 (constructor) VLIB_CLI_COMMAND (show_ip_arp_nd_events) More...
 

Macro Definition Documentation

#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; \
} \
})); \
}
#define pool_foreach(VAR, POOL, BODY)
Iterate through pool.
Definition: pool.h:376
void vl_msg_api_free(void *)
vpe_api_main_t vpe_api_main
Definition: interface_api.c:49
struct _unix_shared_memory_queue unix_shared_memory_queue_t

Definition at line 1987 of file api.c.

#define foreach_vpe_api_msg
Value:
_(WANT_OAM_EVENTS, want_oam_events) \
_(OAM_ADD_DEL, oam_add_del) \
_(SW_INTERFACE_SET_MPLS_ENABLE, sw_interface_set_mpls_enable) \
_(SW_INTERFACE_SET_VPATH, sw_interface_set_vpath) \
_(SW_INTERFACE_SET_L2_XCONNECT, sw_interface_set_l2_xconnect) \
_(SW_INTERFACE_SET_L2_BRIDGE, sw_interface_set_l2_bridge) \
_(CREATE_VLAN_SUBIF, create_vlan_subif) \
_(CREATE_SUBIF, create_subif) \
_(PROXY_ARP_ADD_DEL, proxy_arp_add_del) \
_(PROXY_ARP_INTFC_ENABLE_DISABLE, proxy_arp_intfc_enable_disable) \
_(VNET_GET_SUMMARY_STATS, vnet_get_summary_stats) \
_(RESET_FIB, reset_fib) \
_(CREATE_LOOPBACK, create_loopback) \
_(CREATE_LOOPBACK_INSTANCE, create_loopback_instance) \
_(CONTROL_PING, control_ping) \
_(CLI, cli) \
_(CLI_INBAND, cli_inband) \
_(SET_ARP_NEIGHBOR_LIMIT, set_arp_neighbor_limit) \
_(L2_PATCH_ADD_DEL, l2_patch_add_del) \
_(CLASSIFY_SET_INTERFACE_IP_TABLE, classify_set_interface_ip_table) \
_(CLASSIFY_SET_INTERFACE_L2_TABLES, classify_set_interface_l2_tables) \
_(GET_NODE_INDEX, get_node_index) \
_(ADD_NODE_NEXT, add_node_next) \
_(L2_INTERFACE_EFP_FILTER, l2_interface_efp_filter) \
_(SHOW_VERSION, show_version) \
_(INTERFACE_NAME_RENUMBER, interface_name_renumber) \
_(WANT_IP4_ARP_EVENTS, want_ip4_arp_events) \
_(WANT_IP6_ND_EVENTS, want_ip6_nd_events) \
_(INPUT_ACL_SET_INTERFACE, input_acl_set_interface) \
_(DELETE_LOOPBACK, delete_loopback) \
_(BD_IP_MAC_ADD_DEL, bd_ip_mac_add_del) \
_(GET_NODE_GRAPH, get_node_graph) \
_(IOAM_ENABLE, ioam_enable) \
_(IOAM_DISABLE, ioam_disable) \
_(GET_NEXT_INDEX, get_next_index) \
_(PG_CREATE_INTERFACE, pg_create_interface) \
_(PG_CAPTURE, pg_capture) \
_(PG_ENABLE_DISABLE, pg_enable_disable) \
_(IP_SOURCE_AND_PORT_RANGE_CHECK_ADD_DEL, \
ip_source_and_port_range_check_add_del) \
_(IP_SOURCE_AND_PORT_RANGE_CHECK_INTERFACE_ADD_DEL, \
ip_source_and_port_range_check_interface_add_del) \
_(DELETE_SUBIF, delete_subif) \
_(PUNT, punt) \
_(FEATURE_ENABLE_DISABLE, feature_enable_disable)
clib_error_t * pg_capture(pg_capture_args_t *a)
Definition: cli.c:81
void pg_enable_disable(u32 stream_index, int is_enable)
Definition: cli.c:58

Definition at line 102 of file api.c.

#define IP4_ARP_EVENT   3

Definition at line 192 of file api.c.

#define IP6_ND_EVENT   4

Definition at line 193 of file api.c.

#define QUOTE (   x)    QUOTE_(x)

Definition at line 150 of file api.c.

#define QUOTE_ (   x)    #x

Definition at line 149 of file api.c.

#define RESOLUTION_EVENT   1

Definition at line 190 of file api.c.

#define RESOLUTION_PENDING_EVENT   2

Definition at line 191 of file api.c.

#define vl_endianfun   /* define message structures */

Definition at line 93 of file api.c.

#define vl_msg_name_crc_list

Definition at line 2275 of file api.c.

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

Definition at line 97 of file api.c.

#define vl_printfun

Definition at line 98 of file api.c.

#define vl_typedefs   /* define message structures */

Definition at line 90 of file api.c.

Enumeration Type Documentation

enum resolve_t
Enumerator
RESOLVE_IP4_ADD_DEL_ROUTE 
RESOLVE_IP6_ADD_DEL_ROUTE 

Definition at line 151 of file api.c.

Function Documentation

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

Definition at line 2089 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 1399 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 1475 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 799 of file api.c.

+ Here is the call graph for this function:

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

Definition at line 2213 of file api.c.

+ Here is the call graph for this function:

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

Definition at line 2226 of file api.c.

+ Here is the call graph for this function:

void* get_unformat_vnet_sw_interface ( void  )

Definition at line 2207 of file api.c.

static void handle_ip4_arp_event ( u32  pool_index)
static

Definition at line 200 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void handle_ip6_nd_event ( u32  pool_index)

Definition at line 249 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 1075 of file api.c.

+ Here is the caller graph for this function:

int ip4_add_del_route_t_handler ( vl_api_ip_add_del_route_t mp)
int ip6_add_del_route_t_handler ( vl_api_ip_add_del_route_t mp)
static int ip6_reset_fib_t_handler ( vl_api_reset_fib_t mp)
static

Definition at line 875 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 541 of file l2_efp_filter.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memclnt_delete_callback ( u32  client_index)
static

Definition at line 165 of file api.c.

+ Here is the call graph for this function:

static int nd_change_data_callback ( u32  pool_index,
u8 new_mac,
u32  sw_if_index,
ip6_address_t address 
)
static

Definition at line 1436 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int nd_change_delete_callback ( u32  pool_index,
u8 notused 
)
static

Definition at line 1487 of file api.c.

+ Here is the caller graph for this function:

pub_sub_handler ( oam_events  ,
OAM_EVENTS   
)

+ Here is the caller graph for this function:

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

Definition at line 298 of file api.c.

+ Here is the call graph for this function:

void send_oam_event ( oam_target_t t)

Definition at line 710 of file api.c.

+ Here is the caller graph for this function:

static void setup_message_id_table ( api_main_t am)
static

Definition at line 2280 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 1012 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_ip_arp_nd_events_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 2239 of file api.c.

+ Here is the call graph for this function:

static void vl_api_add_node_next_t_handler ( vl_api_add_node_next_t mp)
static

Definition at line 1326 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 439 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 1143 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 1165 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_cli_inband_t_handler ( vl_api_cli_inband_t mp)
static

Definition at line 1087 of file api.c.

+ Here is the call graph for this function:

static void vl_api_cli_t_handler ( vl_api_cli_t mp)
static

Definition at line 1039 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 998 of file api.c.

static void vl_api_create_loopback_instance_t_handler ( vl_api_create_loopback_instance_t mp)
static

Definition at line 965 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 948 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 551 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 471 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 985 of file api.c.

+ Here is the call graph for this function:

static void vl_api_delete_subif_t_handler ( vl_api_delete_subif_t mp)
static

Definition at line 1916 of file api.c.

+ Here is the call graph for this function:

static void vl_api_feature_enable_disable_t_handler ( vl_api_feature_enable_disable_t mp)
static

Definition at line 1946 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 1279 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 1613 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 1255 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 1591 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 1382 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ioam_disable_t_handler ( vl_api_ioam_disable_t mp)
static

Definition at line 1669 of file api.c.

+ Here is the call graph for this function:

static void vl_api_ioam_enable_t_handler ( vl_api_ioam_enable_t mp)
static

Definition at line 1649 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 1776 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 1862 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_interface_efp_filter_t_handler ( vl_api_l2_interface_efp_filter_t mp)
static

Definition at line 1211 of file api.c.

+ Here is the call 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 1359 of file api.c.

+ Here is the call graph for this function:

static void vl_api_oam_add_del_t_handler ( vl_api_oam_add_del_t mp)
static

Definition at line 735 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 1704 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 1686 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 1748 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 634 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 669 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_punt_t_handler ( vl_api_punt_t mp)
static

Definition at line 1927 of file api.c.

+ Here is the call graph for this function:

static void vl_api_reset_fib_t_handler ( vl_api_reset_fib_t mp)
static

Definition at line 934 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 1115 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 1226 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 405 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 375 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_mpls_enable_t_handler ( vl_api_sw_interface_set_mpls_enable_t mp)
static

Definition at line 695 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 350 of file api.c.

+ Here is the call 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 748 of file api.c.

+ Here is the call 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 1499 of file api.c.

+ Here is the call graph for this function:

static void vl_api_want_ip6_nd_events_t_handler ( vl_api_want_ip6_nd_events_t mp)
static

Definition at line 1544 of file api.c.

+ Here is the call graph for this function:

VL_MSG_API_REAPER_FUNCTION ( memclnt_delete_callback  )

+ Here is the caller graph for this function:

VLIB_API_INIT_FUNCTION ( vpe_api_hookup  )

+ Here is the caller graph for this function:

static clib_error_t* vpe_api_hookup ( vlib_main_t vm)
static

Definition at line 2027 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 2065 of file api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t show_ip_arp_nd_events
static
Initial value:
= {
.path = "show arp-nd-event registrations",
.short_help = "Show ip4 arp and ip6 nd event registrations",
}
static clib_error_t * show_ip_arp_nd_events_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: api.c:2239

(constructor) VLIB_CLI_COMMAND (show_ip_arp_nd_events)

Definition at line 2268 of file api.c.

vpe_api_main_t vpe_api_main

Definition at line 49 of file interface_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:298

(constructor) VLIB_REGISTER_NODE (vpe_resolver_process_node)

Definition at line 157 of file api.c.