Re: [tcpdump-workers] vlan [xx] filter not filtering any packets

2009-06-10 Thread Guy Harris
On Jun 10, 2009, at 11:12 AM, Guy Harris wrote: There are special hooks in Linux's BPF interpreter to allow filtering on some data that's not in the packet data; libpcap already uses that to handle fields in the constructed DLT_LINUX_SLL header (it generates code assuming the header is at

Re: [tcpdump-workers] vlan [xx] filter not filtering any packets

2009-06-10 Thread Guy Harris
On Jun 8, 2009, at 4:47 AM, Nikola Ciprich wrote: I've spent some time playing with tcpdump and pcap with regard to vlans. Using libpcap 1.0.0 + tcpdump 4.0.0, I can able to correctly dump packets including (reconstructed) vlan headers. But it seems that using the vlan filter keyword does not w