On Wed, Jul 24, 2002 at 10:47:16AM +0300, Michael Zayats wrote:
> what is the status of libpcap with regard to VLANs?
Libpcap includes a "vlan" filter keyword to
1) allow code that uses libpcap to specify that only VLAN
packets (packets with an Ethernet type of 0x8100) be seen, or
that only VLAN packets for a particular VLAN be seen
and
2) cause later filter tests in the same expression to test not
the Ethernet type field but the type field in the VLAN
header.
That's supported only on Ethernet.
> anything specific to cooked mode of Linux?
Cooked mode is not used on Ethernet, so libpcap has nothing whatsoever
to handle VLANs in cooked mode.
Is there some link-layer type on which VLANs are used and on which
libpcap uses cooked mode on Linux? If not, there's no reason to expect
there to be any VLAN support specific to cooked mode on Linux.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe