tcpdump mailing list archives

Re: [PATCH 02/04]: pcap-linux: reconstruct VLAN header from PACKET_AUXDATA


From: Guy Harris <guy () alum mit edu>
Date: Wed, 6 Aug 2008 01:32:42 -0700


On Jul 18, 2008, at 11:07 AM, Patrick McHardy wrote:

pcap-linux: reconstruct VLAN header from PACKET_AUXDATA

From: Patrick McHardy <kaber () trash net>

VLAN packets sent over devices supporting VLAN tagging/stripping in
hardwaredon't have a VLAN header when they are received on packet
sockets. The VLAN TCI is available through the PACKET_AUXDATA cmsg,
reconstruct the entire header when necessary.

Checked into the main and 1.0 branches.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: