]>
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 | |
7 | This program and the accompanying materials are licensed and made available\r | |
8 | under the terms and conditions of the BSD License which accompanies this\r | |
9 | distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r | |
13 | WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef _VIRTIO_1_0_NET_H_\r | |
17 | #define _VIRTIO_1_0_NET_H_\r | |
18 | \r | |
19 | #include <IndustryStandard/Virtio10.h>\r | |
20 | #include <IndustryStandard/Virtio095Net.h>\r | |
21 | \r | |
22 | //\r | |
23 | // VirtIo 1.0 packet header\r | |
24 | //\r | |
25 | #pragma pack (1)\r | |
26 | typedef struct {\r | |
27 | VIRTIO_NET_REQ V0_9_5;\r | |
28 | UINT16 NumBuffers;\r | |
29 | } VIRTIO_1_0_NET_REQ;\r | |
30 | #pragma pack ()\r | |
31 | \r | |
32 | #endif // _VIRTIO_1_0_NET_H_\r |