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