aboutsummaryrefslogtreecommitdiff
path: root/contrib/libpcap/pcap_set_rfmon.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libpcap/pcap_set_rfmon.3pcap')
-rw-r--r--contrib/libpcap/pcap_set_rfmon.3pcap14
1 files changed, 9 insertions, 5 deletions
diff --git a/contrib/libpcap/pcap_set_rfmon.3pcap b/contrib/libpcap/pcap_set_rfmon.3pcap
index 691518a5b28c..2b104c25574a 100644
--- a/contrib/libpcap/pcap_set_rfmon.3pcap
+++ b/contrib/libpcap/pcap_set_rfmon.3pcap
@@ -31,17 +31,21 @@ int pcap_set_rfmon(pcap_t *p, int rfmon);
.ft
.fi
.SH DESCRIPTION
-.B pcap_set_rfmon()
+.BR pcap_set_rfmon ()
sets whether monitor mode should be set on a capture handle when
the handle is activated.
If
.I rfmon
is non-zero, monitor mode will be set, otherwise it will not be set.
.SH RETURN VALUE
-.B pcap_set_rfmon()
-returns 0 on success or
+.BR pcap_set_rfmon ()
+returns
+.B 0
+on success or
.B PCAP_ERROR_ACTIVATED
if called on a capture handle that has been activated.
.SH SEE ALSO
-pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP),
-pcap_can_set_rfmon(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP),
+.BR pcap_can_set_rfmon (3PCAP)