summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2012-05-25 17:10:56 +0000
committerjmc <jmc@openbsd.org>2012-05-25 17:10:56 +0000
commit8b6e29c5866dd4769bee45ea15ec8e8fcf7c7812 (patch)
treecee4f5ed57519bb9cdf594829156b4958dbc64b0 /lib/libpcap
parentfull-stops mainly. (diff)
downloadwireguard-openbsd-8b6e29c5866dd4769bee45ea15ec8e8fcf7c7812.tar.xz
wireguard-openbsd-8b6e29c5866dd4769bee45ea15ec8e8fcf7c7812.zip
tweak previous; ok sthen lteo
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/pcap.312
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libpcap/pcap.3 b/lib/libpcap/pcap.3
index dac4215ecb5..bc39a507fad 100644
--- a/lib/libpcap/pcap.3
+++ b/lib/libpcap/pcap.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pcap.3,v 1.31 2012/05/25 01:58:08 lteo Exp $
+.\" $OpenBSD: pcap.3,v 1.32 2012/05/25 17:10:56 jmc Exp $
.\"
.\" Copyright (c) 1994, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
@@ -145,8 +145,8 @@ provides a high level interface to packet capture systems.
All packets
on the network, even those destined for other hosts, are accessible
through this mechanism.
-.Sh ROUTINES
-.Sy Note:
+.Pp
+Note that
.Fa errbuf
in
.Fn pcap_open_live ,
@@ -521,7 +521,8 @@ handle is activated to
.Pp
.Fn pcap_set_promisc
sets whether promiscuous mode should be set on a capture handle
-when the handle is activated. If
+when the handle is activated.
+If
.Fa promisc
is non-zero, promiscuous mode will be set, otherwise it will not be set.
.Pp
@@ -531,7 +532,8 @@ handle is activated.
.Pp
.Fn pcap_set_rfmon
sets whether monitor mode should be set on a capture handle
-when the handle is activated. If
+when the handle is activated.
+If
.Fa rfmon
is non-zero, monitor mode will be set, otherwise it will not be set.
.Pp