aboutsummaryrefslogtreecommitdiff
path: root/pcap_setnonblock.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_setnonblock.3pcap')
-rw-r--r--pcap_setnonblock.3pcap12
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)