net: add an API for 'raw' packets
commitca77d175912f7d0b2296e8e3a803a0763c00bc0b
authorMark McLoughlin <markmc@redhat.com>
Thu, 22 Oct 2009 16:43:41 +0000 (22 17:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:29:01 +0000 (27 12:29 -0500)
treed1b7908cee9de4ee213179b7b027aba610f6fd6e
parentc0b8e49c695ac11e3ef543db9ea2d8a1f62ccfce
net: add an API for 'raw' packets

In the case where a NIC and backend agree on a packet header format,
this API allows injecting packets which lack the agreed upon header.

We need this for sending our gratuitous ARP.

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