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)
commit3f534a599998d994d8c7834b86862c3da1076795
tree6bb12028c6aa2033812490eba7dc11a65e2d2a72
parent25a152ef2c41eb71266ca00b6f322b5ad5447638
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