]> The Tcpdump Group git mirrors - libpcap/commitdiff
Refine references in some man pages, round 3.
authorDenis Ovsienko <[email protected]>
Tue, 17 Jul 2018 21:04:47 +0000 (21:04 +0000)
committerDenis Ovsienko <[email protected]>
Tue, 17 Jul 2018 21:04:47 +0000 (21:04 +0000)
[skip ci]

pcap_compile.3pcap.in
pcap_datalink.3pcap.in
pcap_dump_open.3pcap.in

index 29ae8f8a8ccf8db35c0d1372545f451f9e887035..bc38e9ec3f3e444611188b77211a26cad7c2529e 100644 (file)
@@ -69,12 +69,11 @@ exclusion allowing only one thread to call it at any given time.
 .B pcap_compile()
 returns 0 on success and \-1 on failure.
 If \-1 is returned,
-.B pcap_geterr()
+.B pcap_geterr(3PCAP)
 or
-.B pcap_perror()
+.B pcap_perror(3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
 .SH SEE ALSO
 pcap(3PCAP), pcap_setfilter(3PCAP), pcap_freecode(3PCAP),
-pcap_geterr(3PCAP), pcap-filter(@MAN_MISC_INFO@)
index a32f15ec66f8d17b13aa106b9b1b58a67cb03c83..26203683eddf537355dc9c9dcfafeff57134f495 100644 (file)
@@ -37,9 +37,9 @@ specified by
 .IR p .
 .PP
 It must not be called on a pcap descriptor created by
-.B pcap_create()
+.B \%pcap_create(3PCAP)
 that has not yet been activated by
-.BR pcap_activate() .
+.BR \%pcap_activate(3PCAP) .
 .PP
 .I https://www.tcpdump.org/linktypes.html
 lists the values
index 5b37b47c79b220af0059b52399b64b3ec8ae2f62..10e6879e197fc920c2820fd31019395db0b9af54 100644 (file)
@@ -50,19 +50,19 @@ for
 is called to write data to an existing open stream
 .IR fp ;
 this stream will be closed by a subsequent call to
-.BR pcap_dump_close() .
+.BR pcap_dump_close(3PCAP) .
 Note that on Windows, that stream should be opened in binary mode.
 .PP
 .I p
 is a capture or ``savefile'' handle returned by an earlier call to
-.B pcap_create()
+.B pcap_create(3PCAP)
 and activated by an earlier call to
-.BR pcap_activate() ,
+.BR \%pcap_activate(3PCAP) ,
 or returned by an earlier call to
-.BR pcap_open_offline() ,
-.BR pcap_open_live() ,
+.BR \%pcap_open_offline(3PCAP) ,
+.BR pcap_open_live(3PCAP) ,
 or
-.BR pcap_open_dead() .
+.BR pcap_open_dead(3PCAP) .
 The time stamp precision, link-layer type, and snapshot length from
 .I p
 are used as the link-layer type and snapshot length of the output file.
@@ -80,19 +80,17 @@ it will write new packets at the end of the file.
 A pointer to a
 .B pcap_dumper_t
 structure to use in subsequent
-.B pcap_dump()
+.B pcap_dump(3PCAP)
 and
-.B pcap_dump_close()
+.B pcap_dump_close(3PCAP)
 calls is returned on success.
 .B NULL
 is returned on failure.
 If
 .B NULL
 is returned,
-.B pcap_geterr(\fIp\fB)
+.B pcap_geterr(3PCAP)
 can be used to get the error text.
 .SH SEE ALSO
-pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP),
-\%pcap_open_offline(3PCAP), pcap_open_live(3PCAP), pcap_open_dead(3PCAP),
-pcap_dump(3PCAP), pcap_dump_close(3PCAP), pcap_geterr(3PCAP),
+pcap(3PCAP),
 \%pcap-savefile(@MAN_FILE_FORMATS@)