diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2018-07-18 11:38:10 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2018-07-18 11:38:10 +0000 |
commit | ca789f50dc7dee4b0b0152876c113b1e2da3a820 (patch) | |
tree | 9426d1d2a1dbc9adaba7fdce34fcbc1e1936b904 /pcap_setnonblock.3pcap | |
parent | fc7f68f0a56318b7f9472d3406f0e8a976c7bb89 (diff) |
Refine references in some man pages, round 4.
[skip ci]
Diffstat (limited to 'pcap_setnonblock.3pcap')
-rw-r--r-- | pcap_setnonblock.3pcap | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pcap_setnonblock.3pcap b/pcap_setnonblock.3pcap index 69591270..1b138b80 100644 --- a/pcap_setnonblock.3pcap +++ b/pcap_setnonblock.3pcap @@ -50,18 +50,18 @@ returned. In ``non-blocking'' mode, an attempt to read from the capture descriptor with -.B pcap_dispatch() +.B pcap_dispatch(3PCAP) will, if no packets are currently available to be read, return 0 immediately rather than blocking waiting for packets to arrive. -.B pcap_loop() +.B pcap_loop(3PCAP) and -.B pcap_next() +.B pcap_next(3PCAP) will not work in ``non-blocking'' mode. .PP When first activated with -.B pcap_activate() +.B pcap_activate(3PCAP) or opened with -.B pcap_open_live() , +.B pcap_open_live(3PCAP) , a capture handle is not in ``non-blocking mode''; a call to .B pcap_setnonblock() is required in order to put it into ``non-blocking'' mode. @@ -78,4 +78,4 @@ is assumed to be able to hold at least .B PCAP_ERRBUF_SIZE chars. .SH SEE ALSO -pcap(3PCAP), pcap_loop(3PCAP), pcap_next_ex(3PCAP), pcap_geterr(3PCAP) +pcap(3PCAP), pcap_next_ex(3PCAP), pcap_geterr(3PCAP) |