Files
yttrium-virtio-gpu/NetKVM/linux/if_ether.h
T
Yan Vugenfirer 0b350972c7 virtio 1.0: NetKVM: refactoring virtio_net.h to be as similar as possible to Linux
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]>
2015-06-30 19:00:04 +10:00

8 lines
72 B
C

#ifndef _IF_ETHER_H
#define _IF_ETHER_H
#define ETH_ALEN 6
#endif