aboutsummaryrefslogtreecommitdiff
path: root/pcap-netmap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-12-06 23:26:25 -0800
committerGuy Harris <guy@alum.mit.edu>2017-12-06 23:26:25 -0800
commit6c98384b5182d97d6effb8044f00cc755e9dcb1a (patch)
tree27d3f736a653b6afe69db73e0d49dcaee0f33c52 /pcap-netmap.c
parent3b67275e19d04d493bb2dfc4050332fb27217b95 (diff)
Explicitly warn that negative packet buffer timeouts should not be used.
We won't treat them as errors, because it appears: https://stackoverflow.com/questions/46569127/what-does-to-ms-1-do-on-winpcap-and-linux-libpcap/47689659#47689659 that some programs set it to -1, probably expecting it to put the pcap_t in non-blocking mode (as a result of the *internal implementation* of capture on a regular network interface on *some* platforms). However, it won't work on all platforms; if you want non-blocking mode, use pcap_setnonblock().
Diffstat (limited to 'pcap-netmap.c')
0 files changed, 0 insertions, 0 deletions