]>
Commit | Line | Data |
---|---|---|
acb81416 LE |
1 | /** @file\r |
2 | Definitions from the VirtIo 1.0 specification (csprd05), specifically for the\r | |
3 | network device.\r | |
4 | \r | |
5 | Copyright (C) 2016, Red Hat, Inc.\r | |
6 | \r | |
b26f0cf9 | 7 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
acb81416 LE |
8 | **/\r |
9 | \r | |
10 | #ifndef _VIRTIO_1_0_NET_H_\r | |
11 | #define _VIRTIO_1_0_NET_H_\r | |
12 | \r | |
13 | #include <IndustryStandard/Virtio10.h>\r | |
14 | #include <IndustryStandard/Virtio095Net.h>\r | |
15 | \r | |
16 | //\r | |
17 | // VirtIo 1.0 packet header\r | |
18 | //\r | |
19 | #pragma pack (1)\r | |
20 | typedef struct {\r | |
21 | VIRTIO_NET_REQ V0_9_5;\r | |
22 | UINT16 NumBuffers;\r | |
23 | } VIRTIO_1_0_NET_REQ;\r | |
24 | #pragma pack ()\r | |
25 | \r | |
26 | #endif // _VIRTIO_1_0_NET_H_\r |