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

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   msg_id_base
 

Functions

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_af_packet_set_l4_cksum_offload_t_handler (vl_api_af_packet_set_l4_cksum_offload_t *mp)
 
static void af_packet_send_details (vpe_api_main_t *am, vl_api_registration_t *reg, af_packet_if_detail_t *af_packet_if, u32 context)
 
static void vl_api_af_packet_dump_t_handler (vl_api_af_packet_dump_t *mp)
 
static clib_error_taf_packet_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (af_packet_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 31 of file af_packet_api.c.

Function Documentation

◆ af_packet_api_hookup()

static clib_error_t* af_packet_api_hookup ( vlib_main_t vm)
static

Definition at line 138 of file af_packet_api.c.

+ Here is the call graph for this function:

◆ af_packet_send_details()

static void af_packet_send_details ( vpe_api_main_t am,
vl_api_registration_t reg,
af_packet_if_detail_t af_packet_if,
u32  context 
)
static

Definition at line 93 of file af_packet_api.c.

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

◆ vl_api_af_packet_create_t_handler()

static void vl_api_af_packet_create_t_handler ( vl_api_af_packet_create_t mp)
static

Definition at line 37 of file af_packet_api.c.

+ Here is the call graph for this function:

◆ vl_api_af_packet_delete_t_handler()

static void vl_api_af_packet_delete_t_handler ( vl_api_af_packet_delete_t mp)
static

Definition at line 63 of file af_packet_api.c.

+ Here is the call graph for this function:

◆ vl_api_af_packet_dump_t_handler()

static void vl_api_af_packet_dump_t_handler ( vl_api_af_packet_dump_t mp)
static

Definition at line 112 of file af_packet_api.c.

+ Here is the call graph for this function:

◆ vl_api_af_packet_set_l4_cksum_offload_t_handler()

static void vl_api_af_packet_set_l4_cksum_offload_t_handler ( vl_api_af_packet_set_l4_cksum_offload_t mp)
static

Definition at line 82 of file af_packet_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( af_packet_api_hookup  )

Variable Documentation

◆ msg_id_base

u16 msg_id_base
static

Definition at line 34 of file af_packet_api.c.