net: add tap_has_vnet_hdr() and tap_using_vnet_hdr() APIs
authorMark McLoughlin <markmc@redhat.com>
Thu, 22 Oct 2009 16:43:39 +0000 (17:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:29:00 +0000 (12:29 -0500)
commit24e323631a662320851c498695cb4d4d82caa629
tree6bb12028c6aa2033812490eba7dc11a65e2d2a72
parentbb6e636443d49f7444f49ab64dc7ec6aae1493a7
net: add tap_has_vnet_hdr() and tap_using_vnet_hdr() APIs

These lamely named functions allow virtio-net to query whether
IFF_VNET_HDR is enabled on a tap interface and inform the tap code
that virtio-net will supply packets with a vnet header.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
net.h