mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-10-31 02:05:04 +00:00
Adding virtio_net.h from Linux. There are following changes different from Linux: * "class" field in struct virtio_net_ctrl_hdr renamed to class_of_command so the file could be compiled with C++ file * Empty field macs removed from struct virtio_net_ctrl_mac (not used anyway in Windows) * VIRTIO_NET_CTRL_GUEST_OFFLOADS control is added * Struct packing set Windows style Signed-off-by: Yan Vugenfirer <[email protected]>
8 lines
72 B
C
8 lines
72 B
C
#ifndef _IF_ETHER_H
|
|
#define _IF_ETHER_H
|
|
|
|
#define ETH_ALEN 6
|
|
|
|
#endif
|
|
|