summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include/IndustryStandard/Virtio10Net.h
blob: 69dcaca46541f202d1111b7ea8a19b86e5390ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** @file
  Definitions from the VirtIo 1.0 specification (csprd05), specifically for the
  network device.

  Copyright (C) 2016, Red Hat, Inc.

  SPDX-License-Identifier: BSD-2-Clause-Patent
**/

#ifndef _VIRTIO_1_0_NET_H_
#define _VIRTIO_1_0_NET_H_

#include <IndustryStandard/Virtio10.h>
#include <IndustryStandard/Virtio095Net.h>

//
// VirtIo 1.0 packet header
//
#pragma pack (1)
typedef struct {
  VIRTIO_NET_REQ V0_9_5;
  UINT16         NumBuffers;
} VIRTIO_1_0_NET_REQ;
#pragma pack ()

#endif // _VIRTIO_1_0_NET_H_