summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2018-07-19 09:01:33 +0000
committerDenis Ovsienko <denis@ovsienko.info>2018-07-19 09:02:14 +0000
commitf83a95daa143516cd20225e9fa66d523c4c1234d (patch)
tree94f5a15e63c30e90c12ef7a50912ca20f19a27e3
parent44360a51ef60f0dd9be61cd0a4f5a7aff1ffb1c3 (diff)
downloadlibpcap-f83a95daa143516cd20225e9fa66d523c4c1234d.tar.gz
Make more small fixups to the man pages.
Among other things make sure a reference to pcap(3PCAP) is in the SEE ALSO section of every man page by default. [skip ci]
-rw-r--r--pcap-linktype.manmisc.in2
-rw-r--r--pcap-savefile.manfile.in2
-rw-r--r--pcap-tstamp.manmisc.in2
-rw-r--r--pcap_datalink_val_to_name.3pcap2
-rw-r--r--pcap_dump_open.3pcap.in2
-rw-r--r--pcap_file.3pcap4
-rw-r--r--pcap_open_live.3pcap2
-rw-r--r--pcap_strerror.3pcap2
8 files changed, 13 insertions, 5 deletions
diff --git a/pcap-linktype.manmisc.in b/pcap-linktype.manmisc.in
index 68919a78..777e9dc7 100644
--- a/pcap-linktype.manmisc.in
+++ b/pcap-linktype.manmisc.in
@@ -45,4 +45,4 @@ The names for those values begin with
The link-layer header types supported by libpcap are described at
https://www.tcpdump.org/linktypes.html.
.SH SEE ALSO
-pcap_datalink(3PCAP)
+pcap(3PCAP)
diff --git a/pcap-savefile.manfile.in b/pcap-savefile.manfile.in
index 451dd90b..748d7afc 100644
--- a/pcap-savefile.manfile.in
+++ b/pcap-savefile.manfile.in
@@ -130,4 +130,4 @@ the packet not been truncated by the snapshot length. The two lengths
will be equal if the number of bytes of packet data are less than or
equal to the snapshot length.
.SH SEE ALSO
-pcap(3PCAP), pcap-linktype(@MAN_MISC_INFO@)
+pcap(3PCAP)
diff --git a/pcap-tstamp.manmisc.in b/pcap-tstamp.manmisc.in
index 12405c83..6437e80e 100644
--- a/pcap-tstamp.manmisc.in
+++ b/pcap-tstamp.manmisc.in
@@ -164,3 +164,5 @@ when capturing packets, this does not reflect the actual precision of
the time stamp supplied by the hardware or operating system and, when
reading a savefile, this does not indicate the actual precision of time
stamps in the file.
+.SH SEE ALSO
+pcap(3PCAP)
diff --git a/pcap_datalink_val_to_name.3pcap b/pcap_datalink_val_to_name.3pcap
index fad350fd..efdbfc63 100644
--- a/pcap_datalink_val_to_name.3pcap
+++ b/pcap_datalink_val_to_name.3pcap
@@ -52,3 +52,5 @@ link-layer header type.
is returned if the type value does not correspond to a known
.B DLT_
value.
+.SH SEE ALSO
+pcap(3PCAP)
diff --git a/pcap_dump_open.3pcap.in b/pcap_dump_open.3pcap.in
index 10e6879e..21b4de5c 100644
--- a/pcap_dump_open.3pcap.in
+++ b/pcap_dump_open.3pcap.in
@@ -69,7 +69,7 @@ are used as the link-layer type and snapshot length of the output file.
.PP
.B pcap_dump_open_append()
is like
-.B pcap_dump_open
+.B pcap_dump_open()
but does not create the file if it does not exist and, if it does
already exist, and is a pcap file with the same byte order as the host
opening the file, and has the same time stamp precision, link-layer
diff --git a/pcap_file.3pcap b/pcap_file.3pcap
index 584b5288..981451ba 100644
--- a/pcap_file.3pcap
+++ b/pcap_file.3pcap
@@ -35,7 +35,9 @@ FILE *pcap_file(pcap_t *p);
returns the standard I/O stream of the ``savefile,'' if a ``savefile''
was opened with
.BR pcap_open_offline(3PCAP) ,
-or NULL, if a network device was opened with
+or
+.BR NULL ,
+if a network device was opened with
.B pcap_create(3PCAP)
and
.BR \%pcap_activate(3PCAP) ,
diff --git a/pcap_open_live.3pcap b/pcap_open_live.3pcap
index 942d4fc3..3286e294 100644
--- a/pcap_open_live.3pcap
+++ b/pcap_open_live.3pcap
@@ -87,4 +87,4 @@ is assumed to be able to hold at least
.B PCAP_ERRBUF_SIZE
chars.
.SH SEE ALSO
-pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP)
+pcap_create(3PCAP), pcap_activate(3PCAP)
diff --git a/pcap_strerror.3pcap b/pcap_strerror.3pcap
index ae2216e7..a5775f42 100644
--- a/pcap_strerror.3pcap
+++ b/pcap_strerror.3pcap
@@ -36,3 +36,5 @@ is provided in case
.BR strerror (3)
isn't available. It returns an error message string corresponding to
.IR error .
+.SH SEE ALSO
+pcap(3PCAP)