Hi,

I've sent my first email into ML yesterday, but it's not in ML.
I'm sorry to these who might read it twice.

I'm playing with implementing LINKTYPE_LINUX_SLL2 [1] as a part of [3]
in libpcap and using it in tcpdump.
I wonder what is a correct solution for libpcap:

1) Keeping LINKTYPE_LINUX_SLL [2] altogether with LINKTYPE_LINUX_SLL2, compile
both (having one of them as default for linux, second allow to use with -y 
switch
in tcpdump).
2) Keeping LINKTYPE_LINUX_SLL [2] altogether with LINKTYPE_LINUX_SLL2 but
compile only one of them (allow to chose via --with-pcap).
3) Replace LINKTYPE_LINUX_SLL with LINKTYPE_LINUX_SLL2.

I've got somehow working 3), but some tcpdump tests are failing and I guess
that's not what would be accepted due backwards compatibility.
I guess 1) is what is wanted, that's what I'm working on.

Thank you for your comments / opinions / recommendations.

Kind regards,
Petr

[1] https://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL2.html
[2] https://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL.html
[3] https://github.com/the-tcpdump-group/libpcap/issues/127
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to