FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
tapv2_api.c File Reference
+ Include dependency graph for tapv2_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   msg_id_base
 

Functions

static void vl_api_tap_create_v2_t_handler (vl_api_tap_create_v2_t *mp)
 
static void vl_api_tap_delete_v2_t_handler (vl_api_tap_delete_v2_t *mp)
 
static void tap_send_sw_interface_details (vpe_api_main_t *am, vl_api_registration_t *reg, tap_interface_details_t *tap_if, u32 context)
 
static void vl_api_sw_interface_tap_v2_dump_t_handler (vl_api_sw_interface_tap_v2_dump_t *mp)
 
static clib_error_ttapv2_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (tapv2_api_hookup)
 

Variables

static u16 msg_id_base
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   msg_id_base

Definition at line 35 of file tapv2_api.c.

Function Documentation

◆ tap_send_sw_interface_details()

static void tap_send_sw_interface_details ( vpe_api_main_t am,
vl_api_registration_t reg,
tap_interface_details_t tap_if,
u32  context 
)
static

Definition at line 188 of file tapv2_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tapv2_api_hookup()

static clib_error_t* tapv2_api_hookup ( vlib_main_t vm)
static

Definition at line 264 of file tapv2_api.c.

+ Here is the call graph for this function:

◆ vl_api_sw_interface_tap_v2_dump_t_handler()

static void vl_api_sw_interface_tap_v2_dump_t_handler ( vl_api_sw_interface_tap_v2_dump_t mp)
static

Definition at line 230 of file tapv2_api.c.

+ Here is the call graph for this function:

◆ vl_api_tap_create_v2_t_handler()

static void vl_api_tap_create_v2_t_handler ( vl_api_tap_create_v2_t mp)
static

Definition at line 41 of file tapv2_api.c.

+ Here is the call graph for this function:

◆ vl_api_tap_delete_v2_t_handler()

static void vl_api_tap_delete_v2_t_handler ( vl_api_tap_delete_v2_t mp)
static

Definition at line 160 of file tapv2_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( tapv2_api_hookup  )

Variable Documentation

◆ msg_id_base

u16 msg_id_base
static

Definition at line 38 of file tapv2_api.c.