diff options
author | 2014-12-12 14:23:17 +0000 | |
---|---|---|
committer | 2014-12-12 14:23:17 +0000 | |
commit | 2a6c17b0b804f676ce41d0a51b0795a28f63d3bd (patch) | |
tree | 4f168323a3a2113458b0ea41dd50f1cf366f4c96 | |
parent | Increase cipher suite test coverage by including all cipher suites that (diff) | |
download | wireguard-openbsd-2a6c17b0b804f676ce41d0a51b0795a28f63d3bd.tar.xz wireguard-openbsd-2a6c17b0b804f676ce41d0a51b0795a28f63d3bd.zip |
markup fixes, and repair some wrong argument types while here;
from Kaspars at Bankovskis dot net
-rw-r--r-- | lib/libpcap/pcap.3 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/lib/libpcap/pcap.3 b/lib/libpcap/pcap.3 index 3669b0714b9..a0b877a2e65 100644 --- a/lib/libpcap/pcap.3 +++ b/lib/libpcap/pcap.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pcap.3,v 1.35 2013/06/25 16:49:39 jmc Exp $ +.\" $OpenBSD: pcap.3,v 1.36 2014/12/12 14:23:17 schwarze Exp $ .\" .\" Copyright (c) 1994, 1996, 1997 .\" The Regents of the University of California. All rights reserved. @@ -19,14 +19,14 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: June 25 2013 $ +.Dd $Mdocdate: December 12 2014 $ .Dt PCAP 3 .Os .Sh NAME .Nm pcap .Nd Packet Capture library .Sh SYNOPSIS -.Fd #include <pcap.h> +.In pcap.h .Ft "pcap_t *" .Fn pcap_open_live "char *device" "int snaplen" "int promisc" "int to_ms" "char *errbuf" .Ft "pcap_t *" @@ -46,9 +46,9 @@ .Ft void .Fn pcap_dump "u_char *user" "struct pcap_pkthdr *h" "u_char *sp" .Ft int -.Fn pcap_inject "pcap_t *p" "void *, size_t" +.Fn pcap_inject "pcap_t *p" "const void *buf" "size_t len" .Ft int -.Fn pcap_sendpacket "pcap_t *p" "void *, int" +.Fn pcap_sendpacket "pcap_t *p" "const u_char *buf" "int size" .Ft int .Fn pcap_compile "pcap_t *p" "struct bpf_program *fp" "char *str" "int optimize" "bpf_u_int32 netmask" .Ft int @@ -562,7 +562,10 @@ routine to an error string. .Xr tcpdump 8 .\" , tcpslice(1) .Sh AUTHORS -Van Jacobson, -Craig Leres and -Steven McCanne, all of the +.An -nosplit +.An Van Jacobson , +.An Craig Leres , +and +.An Steven McCanne , +all of the Lawrence Berkeley National Laboratory, University of California, Berkeley, CA. |