FD.io VPP  v17.04-9-g99c0734
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)
 
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_is_address_reachable_t_handler (vl_api_is_address_reachable_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_request_t_handler (vl_api_cli_request_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: api.c:161
struct _unix_shared_memory_queue unix_shared_memory_queue_t

Definition at line 2041 of file api.c.

#define foreach_vpe_api_msg
Value:
_(WANT_OAM_EVENTS, want_oam_events) \
_(OAM_ADD_DEL, oam_add_del) \
_(IS_ADDRESS_REACHABLE, is_address_reachable) \
_(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_REQUEST, cli_request) \
_(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 104 of file api.c.

#define IP4_ARP_EVENT   3

Definition at line 195 of file api.c.

#define IP6_ND_EVENT   4

Definition at line 196 of file api.c.

#define QUOTE (   x)    QUOTE_(x)

Definition at line 153 of file api.c.

#define QUOTE_ (   x)    #x

Definition at line 152 of file api.c.

#define RESOLUTION_EVENT   1

Definition at line 193 of file api.c.

#define RESOLUTION_PENDING_EVENT   2

Definition at line 194 of file api.c.

#define vl_endianfun   /* define message structures */

Definition at line 95 of file api.c.

#define vl_msg_name_crc_list

Definition at line 2329 of file api.c.

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

Definition at line 99 of file api.c.

#define vl_printfun

Definition at line 100 of file api.c.

#define vl_typedefs   /* define message structures */

Definition at line 92 of file api.c.

Enumeration Type Documentation

enum resolve_t
Enumerator
RESOLVE_IP4_ADD_DEL_ROUTE 
RESOLVE_IP6_ADD_DEL_ROUTE 

Definition at line 154 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 2143 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 1467 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 1543 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 872 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 2267 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 2280 of file api.c.

+ Here is the call graph for this function:

void* get_unformat_vnet_sw_interface ( void  )

Definition at line 2261 of file api.c.

void handle_ip4_arp_event ( u32  pool_index)

Definition at line 203 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 252 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 1143 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 947 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 544 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 168 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 1504 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 1555 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 301 of file api.c.

+ Here is the call graph for this function:

void send_oam_event ( oam_target_t t)

Definition at line 783 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 2334 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 1080 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 2293 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 1394 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 442 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 1211 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 1233 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 1155 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 1107 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 1066 of file api.c.

static void vl_api_create_loopback_instance_t_handler ( vl_api_create_loopback_instance_t mp)
static

Definition at line 1033 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 1016 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 548 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 468 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 1053 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 1970 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 2000 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 1347 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 1667 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 1323 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 1645 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 1450 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 1723 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 1703 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 1830 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 1916 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 691 of file api.c.

+ Here is the call 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 1279 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 1427 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 808 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 1758 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 1740 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 1802 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 631 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 666 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 1981 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 1002 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 1183 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 1294 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 408 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 378 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 768 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 353 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 821 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 1567 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 1606 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 2081 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 2119 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:2293

(constructor) VLIB_CLI_COMMAND (show_ip_arp_nd_events)

Definition at line 2322 of file api.c.

vpe_api_main_t vpe_api_main

Definition at line 161 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:301

(constructor) VLIB_REGISTER_NODE (vpe_resolver_process_node)

Definition at line 160 of file api.c.