packets: Reserve headroom for VLAN header in eth_compose(), snap_compose().
authorBen Pfaff <blp@nicira.com>
Tue, 29 Mar 2011 16:28:49 +0000 (09:28 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Apr 2011 22:52:19 +0000 (15:52 -0700)
commiteda1f38d41be1b604229343fe14d7122eaedd4d5
tree90d61189e7937cf83280c8f3528c27a2a193d1e8
parent7c66b273a2addd3f6c60b6c930464d6be74df71e
packets: Reserve headroom for VLAN header in eth_compose(), snap_compose().

This allows callers to add a VLAN header to the composed packet and send
it out on a VLAN without copying the whole payload.
lib/packets.c