On Thu, 10 Oct 2024 03:24:42 +0100 Ferruh Yigit <ferruh.yi...@amd.com> wrote:
> On 10/10/2024 3:21 AM, Stephen Hemminger wrote: > > On Thu, 10 Oct 2024 03:14:48 +0100 > > Ferruh Yigit <ferruh.yi...@amd.com> wrote: > > > >> On 9/5/2024 5:10 PM, Stephen Hemminger wrote: > >>> Use pcap_next_ex rather than just pcap_next because pcap_next > >>> always blocks if there is no packets to receive. > >>> > >> > >> Hi Stephen, > >> > >> Do you know if using 'pcap_next_ex()' (instead of 'pcap_next()') has any > >> dependency impact? > >> Like can we rely that all libraries that support 'pcap_next()', also > >> supports 'pcap_next_ex()'? > > > > The code depends on libpcap, and that API has been in pcap since the > > early days. See it in a version from 2003! > > > > Thanks for confirming. I assume it is same with the 'iphlpapi' that > windows uses. > > Let wait a little more, it would be good if we get a test result from > Ofer first. > I think the Windows build would have caught any issue.