TianoCore EDK2 master
|
#include <IndustryStandard/Virtio095.h>
Go to the source code of this file.
Data Structures | |
struct | VIRTIO_NET_CONFIG |
struct | VIRTIO_NET_REQ |
Virtio Network Device specific type and macro definitions corresponding to the virtio-0.9.5 specification.
Copyright (C) 2013-2016, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Virtio095Net.h.
#define OFFSET_OF_VNET | ( | Field | ) | OFFSET_OF (VIRTIO_NET_CONFIG, Field) |
Definition at line 26 of file Virtio095Net.h.
#define SIZE_OF_VNET | ( | Field | ) | (sizeof ((VIRTIO_NET_CONFIG *) 0)->Field) |
Definition at line 27 of file Virtio095Net.h.
#define VIRTIO_NET_F_CSUM BIT0 |
Definition at line 38 of file Virtio095Net.h.
#define VIRTIO_NET_F_CTRL_RX BIT18 |
Definition at line 53 of file Virtio095Net.h.
#define VIRTIO_NET_F_CTRL_VLAN BIT19 |
Definition at line 54 of file Virtio095Net.h.
#define VIRTIO_NET_F_CTRL_VQ BIT17 |
Definition at line 52 of file Virtio095Net.h.
#define VIRTIO_NET_F_GSO BIT6 |
Definition at line 41 of file Virtio095Net.h.
#define VIRTIO_NET_F_GUEST_ANNOUNCE BIT21 |
Definition at line 55 of file Virtio095Net.h.
#define VIRTIO_NET_F_GUEST_CSUM BIT1 |
Definition at line 39 of file Virtio095Net.h.
#define VIRTIO_NET_F_GUEST_ECN BIT9 |
Definition at line 44 of file Virtio095Net.h.
#define VIRTIO_NET_F_GUEST_TSO4 BIT7 |
Definition at line 42 of file Virtio095Net.h.
#define VIRTIO_NET_F_GUEST_TSO6 BIT8 |
Definition at line 43 of file Virtio095Net.h.
#define VIRTIO_NET_F_GUEST_UFO BIT10 |
Definition at line 45 of file Virtio095Net.h.
#define VIRTIO_NET_F_HOST_ECN BIT13 |
Definition at line 48 of file Virtio095Net.h.
#define VIRTIO_NET_F_HOST_TSO4 BIT11 |
Definition at line 46 of file Virtio095Net.h.
#define VIRTIO_NET_F_HOST_TSO6 BIT12 |
Definition at line 47 of file Virtio095Net.h.
#define VIRTIO_NET_F_HOST_UFO BIT14 |
Definition at line 49 of file Virtio095Net.h.
#define VIRTIO_NET_F_MAC BIT5 |
Definition at line 40 of file Virtio095Net.h.
#define VIRTIO_NET_F_MRG_RXBUF BIT15 |
Definition at line 50 of file Virtio095Net.h.
#define VIRTIO_NET_F_STATUS BIT16 |
Definition at line 51 of file Virtio095Net.h.
#define VIRTIO_NET_HDR_F_NEEDS_CSUM BIT0 |
Definition at line 74 of file Virtio095Net.h.
#define VIRTIO_NET_HDR_GSO_ECN BIT7 |
Definition at line 83 of file Virtio095Net.h.
#define VIRTIO_NET_HDR_GSO_NONE 0x00 |
Definition at line 79 of file Virtio095Net.h.
#define VIRTIO_NET_HDR_GSO_TCPV4 0x01 |
Definition at line 80 of file Virtio095Net.h.
#define VIRTIO_NET_HDR_GSO_TCPV6 0x04 |
Definition at line 82 of file Virtio095Net.h.
#define VIRTIO_NET_HDR_GSO_UDP 0x03 |
Definition at line 81 of file Virtio095Net.h.
#define VIRTIO_NET_Q_RX 0 |
Definition at line 32 of file Virtio095Net.h.
#define VIRTIO_NET_Q_TX 1 |
Definition at line 33 of file Virtio095Net.h.
#define VIRTIO_NET_S_ANNOUNCE BIT1 |
Definition at line 89 of file Virtio095Net.h.
#define VIRTIO_NET_S_LINK_UP BIT0 |
Definition at line 88 of file Virtio095Net.h.