tcpdump mailing list archives
Re: vlan tagged packets and libpcap breakage
From: Guy Harris <guy () alum mit edu>
Date: Mon, 17 Dec 2012 02:35:33 -0800
On Dec 17, 2012, at 1:50 AM, "David Laight" <David.Laight () ACULAB COM> wrote:
How are you going to tell whether a feature is present in a non-Linux kernel ?
The Linux memory-mapped capture mechanism is not present in a non-Linux kernel, so all the libpcap work involved here would, if necessary on other platforms, have to be done differently on those platforms. Those platforms would have to have their own mechanisms to indicate whether any changes to filter code, processing of VLAN tags supplied out of band, etc. would need to be done. The same would apply to other additional features of the Linux memory-mapped capture mechanism that require changes in libpcap. (Ideally, those changes would only require changes in order to use them, and would not break existing userland code, including but not limited to libpcap - your reply was to Daniel Borkmann, who is, I believe, the originator of netsniff-ng: http://netsniff-ng.org which has its own code using PF_PACKET sockets.) _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Re: vlan tagged packets and libpcap breakage, (continued)
- Re: vlan tagged packets and libpcap breakage Ani Sinha (Dec 11)
- Re: vlan tagged packets and libpcap breakage Ani Sinha (Dec 11)
- Re: vlan tagged packets and libpcap breakage Stephen Hemminger (Dec 13)
- Message not available
- Re: vlan tagged packets and libpcap breakage Ani Sinha (Dec 12)
- Re: vlan tagged packets and libpcap breakage Ani Sinha (Dec 12)
- Re: vlan tagged packets and libpcap breakage Daniel Borkmann (Dec 13)
- Re: vlan tagged packets and libpcap breakage Ani Sinha (Dec 13)
- Re: vlan tagged packets and libpcap breakage Daniel Borkmann (Dec 13)
- Re: vlan tagged packets and libpcap breakage Ani Sinha (Dec 13)
- Re: vlan tagged packets and libpcap breakage David Laight (Dec 17)
- Re: vlan tagged packets and libpcap breakage Guy Harris (Dec 17)
- Re: vlan tagged packets and libpcap breakage Daniel Borkmann (Dec 17)
- Re: vlan tagged packets and libpcap breakage Ani Sinha (Dec 17)