Go to the source code of this file.
|
static u8 * | format_af_packet_device_name (u8 *s, va_list *args) |
|
static u8 * | format_af_packet_device (u8 *s, va_list *args) |
|
static u8 * | format_af_packet_tx_trace (u8 *s, va_list *args) |
|
static uword | af_packet_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static void | af_packet_set_interface_next_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index) |
|
static void | af_packet_clear_hw_interface_counters (u32 instance) |
|
static clib_error_t * | af_packet_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static clib_error_t * | af_packet_subif_add_del_function (vnet_main_t *vnm, u32 hw_if_index, struct vnet_sw_interface_t *st, int is_add) |
|
| VNET_DEVICE_CLASS (af_packet_device_class) |
|
#define foreach_af_packet_tx_func_error |
Value:_(FRAME_NOT_READY, "tx frame not ready") \
_(TXRING_EAGAIN, "tx sendto temporary failure") \
_(TXRING_FATAL, "tx sendto fatal failure") \
_(TXRING_OVERRUN, "tx ring overrun")
Definition at line 29 of file device.c.
Enumerator |
---|
AF_PACKET_TX_N_ERROR |
|
Definition at line 35 of file device.c.
static void af_packet_clear_hw_interface_counters |
( |
u32 |
instance | ) |
|
|
static |
static void af_packet_set_interface_next_node |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u32 |
node_index |
|
) |
| |
|
static |
static u8* format_af_packet_device |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_af_packet_device_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_af_packet_tx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char* af_packet_tx_func_error_strings[] |
|
static |
Initial value:= {
#define _(n,s)
}
#define foreach_af_packet_tx_func_error
Definition at line 43 of file device.c.