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 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
8 | **/
|
---|
9 |
|
---|
10 | #ifndef _VIRTIO_1_0_NET_H_
|
---|
11 | #define _VIRTIO_1_0_NET_H_
|
---|
12 |
|
---|
13 | #include <IndustryStandard/Virtio10.h>
|
---|
14 | #include <IndustryStandard/Virtio095Net.h>
|
---|
15 |
|
---|
16 | //
|
---|
17 | // VirtIo 1.0 packet header
|
---|
18 | //
|
---|
19 | #pragma pack (1)
|
---|
20 | typedef struct {
|
---|
21 | VIRTIO_NET_REQ V0_9_5;
|
---|
22 | UINT16 NumBuffers;
|
---|
23 | } VIRTIO_1_0_NET_REQ;
|
---|
24 | #pragma pack ()
|
---|
25 |
|
---|
26 | #endif // _VIRTIO_1_0_NET_H_
|
---|