tap: generalize code for different vnet header len
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Jul 2010 14:55:31 +0000 (17:55 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Sep 2010 17:27:28 +0000 (20:27 +0300)
commitb6d11bf6b96c537467a5a0cbce45506688a582a9
tree7fd140ba17e44a44b7a94c503deee22404b52885
parentf3c1c11eab1bea6576c76d1b20a944854506114f
tap: generalize code for different vnet header len

Make host vnet header length a structure field in
preparation for using this support in linux kernel.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/tap-linux.h
net/tap.c