On Mon, 18 Nov 2024 12:30:22 -0800
Guy Harris wrote:
> On Nov 18, 2024, at 11:54 AM, Denis Ovsienko
> wrote:
>
> > The current approach in libpcap is such that an application at some
> > point tries to activate a device, and if the device does not support
> > capturing packets, pcap_activate()
On Nov 18, 2024, at 12:15 PM, Michael Richardson wrote:
> Denis Ovsienko wrote:
>> One complication here is that in some cases libpcap may not be aware of
>> a device capability until it gets an error from the OS (as is the case
>> with PCAP_ERROR_CAPTURE_NOTSUP in pcap-linux.c), so pcap_findall
On Nov 18, 2024, at 11:54 AM, Denis Ovsienko wrote:
> The current approach in libpcap is such that an application at some
> point tries to activate a device, and if the device does not support
> capturing packets, pcap_activate() fails with the
> PCAP_ERROR_CAPTURE_NOTSUP error code. One drawbac
Denis Ovsienko wrote:
> One complication here is that in some cases libpcap may not be aware of
> a device capability until it gets an error from the OS (as is the case
> with PCAP_ERROR_CAPTURE_NOTSUP in pcap-linux.c), so pcap_findalldevs()
> would not be able to set "this device