audk/OvmfPkg/Include/IndustryStandard/Virtio10Net.h

33 lines
927 B
C

/** @file
Definitions from the VirtIo 1.0 specification (csprd05), specifically for the
network device.
Copyright (C) 2016, Red Hat, Inc.
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#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_