[ncm] Reserve headroom in received packets
authorMichael Brown <mcb30@ipxe.org>
Fri, 6 Feb 2015 15:46:43 +0000 (15:46 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 6 Feb 2015 15:46:43 +0000 (15:46 +0000)
commit2e72d100af2d4f7720a64cb157c72e3fc714e4e2
tree83042939338cee4f6d6fe23447d571e1245a0e9e
parent95bc563f0cdfb380b49b99d0e03f49d3739d3802
[ncm] Reserve headroom in received packets

Some protocols (such as ARP) may modify the received packet and re-use
the same I/O buffer for transmission of a reply.  To allow this,
reserve sufficient headroom at the start of each received packet
buffer for our transmit datapath headers.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/ncm.c