[tcpdump-workers] Compile libpcap with DLT_LINUX_SLL2

Francois-Xavier Le Bail devel.fx.lebail at orange.fr
Tue Mar 31 05:10:15 EDT 2020


On 31/03/2020 00:04, Petr Vorel wrote:
> Hi Guy,
> 
>>> BTW man pages (pcap.3pcap.in, pcap_datalink.3pcap.in, pcap_loop.3pcap and
>>> pcap_next_ex.3pcap) mention only DLT_LINUX_SLL.
> 
>> Fixed in commit ffb99eceefd31771a4aa89f0da5d02a3c53cfd03.
> Thanks a lot!
> 
> BTW how about DLT_LINUX_SLL2 as the default? What does it block?

To avoid breaking program that cannot use SLL2, could we have an API like
pcap_set_cooked_default_ssl2() or pcap_set_default_ssl2_on_any() and use it in tcpdump?

-- 
Francois-Xavier


More information about the tcpdump-workers mailing list