|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
27 #include <af_xdp/af_xdp.api_enum.h>
28 #include <af_xdp/af_xdp.api_types.h>
52 if (
flags & AF_XDP_API_FLAGS_NO_SYSCALL_LOCK)
84 rmp->sw_if_index = ntohl (args.sw_if_index);
95 vl_api_af_xdp_delete_reply_t *rmp;
105 rv = VNET_API_ERROR_INVALID_INTERFACE;
118 #include <af_xdp/af_xdp.api.c>
vl_api_af_xdp_flag_t flags[default=0]
af_xdp_create_flag_t flags
#define REPLY_MACRO2(t, body)
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
af_xdp_device_t * devices
vl_api_tunnel_mode_t mode
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vnet_device_class_t af_xdp_device_class
void af_xdp_delete_if(vlib_main_t *vm, af_xdp_device_t *ad)
af_xdp_main_t af_xdp_main
static af_xdp_mode_t af_xdp_api_mode(vl_api_af_xdp_mode_t mode)
vnet_main_t * vnet_get_main(void)
static vnet_hw_interface_t * vnet_get_sup_hw_interface_api_visible_or_null(vnet_main_t *vnm, u32 sw_if_index)
vl_api_af_xdp_mode_t mode[default=0]
VLIB_API_INIT_FUNCTION(af_xdp_plugin_api_hookup)
static void setup_message_id_table(api_main_t *am)
static void vl_api_af_xdp_create_t_handler(vl_api_af_xdp_create_t *mp)
void af_xdp_create_if(vlib_main_t *vm, af_xdp_create_if_args_t *args)
@ AF_XDP_API_MODE_ZERO_COPY
static void vl_api_af_xdp_delete_t_handler(vl_api_af_xdp_delete_t *mp)
clib_memset(h->entries, 0, sizeof(h->entries[0]) *entries)
static vlib_main_t * vlib_get_main(void)
static af_xdp_create_flag_t af_xdp_api_flags(vl_api_af_xdp_flag_t flags)
@ AF_XDP_CREATE_FLAGS_NO_SYSCALL_LOCK
static clib_error_t * af_xdp_plugin_api_hookup(vlib_main_t *vm)
vl_api_interface_index_t sw_if_index
vl_api_wireguard_peer_flags_t flags