libpcap dataplane

Alternate port implementation using libpcap. This is required for recent
versions of Linux (such as Linux 3.2 included in Ubuntu 12.04) which
offload the VLAN tag, so it isn't in the data returned from a read on a raw
socket. libpcap understands how to read the VLAN tag from the kernel.

If pypcap is installed on the host then the new dataplane is used. Otherwise
the old one will still work.
2 files changed