]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix manpage reference formatting to be consistent.
authorDaniel Miller <[email protected]>
Sat, 25 Aug 2018 04:55:03 +0000 (23:55 -0500)
committerDaniel Miller <[email protected]>
Sat, 25 Aug 2018 04:55:03 +0000 (23:55 -0500)
All manpage references such as pcap_create(3PCAP) will now be formatted
with the identifier (e.g. "pcap_create") in **bold** and the section
name (e.g. "(3PCAP)") in roman (default) face. This is how most manpages
seem to be formatted and makes things more consistent.

56 files changed:
pcap.3pcap.in
pcap_activate.3pcap
pcap_breakloop.3pcap
pcap_can_set_rfmon.3pcap
pcap_close.3pcap
pcap_compile.3pcap.in
pcap_create.3pcap
pcap_datalink.3pcap.in
pcap_datalink_name_to_val.3pcap
pcap_dump.3pcap
pcap_dump_close.3pcap
pcap_dump_file.3pcap
pcap_dump_flush.3pcap
pcap_dump_ftell.3pcap
pcap_dump_open.3pcap.in
pcap_file.3pcap
pcap_fileno.3pcap
pcap_findalldevs.3pcap
pcap_freecode.3pcap
pcap_get_required_select_timeout.3pcap
pcap_get_selectable_fd.3pcap
pcap_get_tstamp_precision.3pcap.in
pcap_geterr.3pcap
pcap_inject.3pcap
pcap_is_swapped.3pcap
pcap_lib_version.3pcap
pcap_list_datalinks.3pcap.in
pcap_list_tstamp_types.3pcap.in
pcap_lookupdev.3pcap
pcap_lookupnet.3pcap
pcap_loop.3pcap
pcap_major_version.3pcap
pcap_next_ex.3pcap
pcap_offline_filter.3pcap
pcap_open_dead.3pcap.in
pcap_open_live.3pcap
pcap_open_offline.3pcap.in
pcap_set_buffer_size.3pcap
pcap_set_datalink.3pcap
pcap_set_immediate_mode.3pcap.in
pcap_set_promisc.3pcap
pcap_set_protocol_linux.3pcap
pcap_set_rfmon.3pcap
pcap_set_snaplen.3pcap
pcap_set_timeout.3pcap
pcap_set_tstamp_precision.3pcap.in
pcap_set_tstamp_type.3pcap.in
pcap_setdirection.3pcap
pcap_setfilter.3pcap
pcap_setnonblock.3pcap
pcap_snapshot.3pcap
pcap_stats.3pcap
pcap_statustostr.3pcap
pcap_strerror.3pcap
pcap_tstamp_type_name_to_val.3pcap
pcap_tstamp_type_val_to_name.3pcap

index a2c050d6d3d33e8bd7b535f4d87f9deaeb90f47c..677e93b66fbed09d5c74f9d6adccd321ac6d9bd1 100644 (file)
@@ -958,8 +958,12 @@ use an
 script or some other configuration script to check whether the libpcap
 1.0 APIs are available and use them only if they are.
 .SH SEE ALSO
-autoconf(1), tcpdump(1), tcpslice(1), pcap-filter(@MAN_MISC_INFO@), pfconfig(8),
-usermod(@MAN_ADMIN_COMMANDS@)
+.BR autoconf (1),
+.BR tcpdump (1),
+.BR tcpslice (1),
+.BR pcap-filter (@MAN_MISC_INFO@),
+.BR pfconfig (8),
+.BR usermod (@MAN_ADMIN_COMMANDS@)
 .SH AUTHORS
 The original authors of libpcap are:
 .LP
index 162a929331e438373d925e579854c27ac0961499..44c808e8ecb96a9257bd0ca61d8528e9bcecd488 100644 (file)
@@ -50,15 +50,15 @@ promiscuous mode.
 .TP
 .B PCAP_WARNING_TSTAMP_TYPE_NOTSUP
 The time stamp type specified in a previous
-.B pcap_set_tstamp_type(3PCAP)
+.BR pcap_set_tstamp_type (3PCAP)
 call isn't supported by the capture source (the time stamp type is
 left as the default),
 .TP
 .B PCAP_WARNING
 Another warning condition occurred;
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display a message describing the warning
@@ -115,8 +115,8 @@ Additional warning and error codes may be added in the future; a program
 should check for positive, negative, and zero return codes, and treat
 all positive return codes as warnings and all negative return
 codes as errors.
-.B pcap_statustostr(3PCAP)
+.BR pcap_statustostr (3PCAP)
 can be called, with a warning or error code as an argument, to fetch a
 message describing the warning or error code.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index cc000d2e075ce01ae91b2deca0771c944de7d750..75560187a23609343950cf954e0d616fc5938341 100644 (file)
@@ -33,9 +33,9 @@ void pcap_breakloop(pcap_t *);
 .SH DESCRIPTION
 .B pcap_breakloop()
 sets a flag that will force
-.B pcap_dispatch(3PCAP)
+.BR pcap_dispatch (3PCAP)
 or
-.B pcap_loop(3PCAP)
+.BR pcap_loop (3PCAP)
 to return rather than looping; they will return the number of packets
 that have been processed so far, or
 .B PCAP_ERROR_BREAK
@@ -112,4 +112,4 @@ subsequent call will return
 .B PCAP_ERROR_BREAK
 and clear the flag.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 0baac7a646c719c7ce086086c56453d6d6476bde..ea9f9ab3260cf37e7cadcc13c5b41513aa933da7 100644 (file)
@@ -54,9 +54,9 @@ The capture handle has already been activated.
 .TP
 .B PCAP_ERROR
 Another error occurred.
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B \%pcap_perror(3PCAP)
+.BR \%pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display a message describing the error.
@@ -64,9 +64,11 @@ as an argument to fetch or display a message describing the error.
 Additional error codes may be added in the future; a program should
 check for 0, 1, and negative, return codes, and treat all negative
 return codes as errors.
-.B pcap_statustostr(3PCAP)
+.BR pcap_statustostr (3PCAP)
 can be called, with a warning or error code as an argument, to fetch a
 message describing the warning or error code.
 .SH SEE ALSO
-pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP),
-pcap_set_rfmon(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP),
+.BR pcap_set_rfmon (3PCAP)
index e2316a417dfd7b736a08233589439d6d269aaf14..72495f8838d81fda969707e0ce7e8a8a60808a3d 100644 (file)
@@ -36,4 +36,4 @@ closes the files associated with
 .I p
 and deallocates resources.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 824f52b32e7e6b86fe63f9d9228a61e30c74ca31..ba479e216c3ff7e9788d7f777927852de160e095 100644 (file)
@@ -74,9 +74,9 @@ returns 0 on success and
 on failure. If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
@@ -86,4 +86,6 @@ The
 .B PCAP_NETMASK_UNKNOWN
 constant became available in libpcap release 1.1.0.
 .SH SEE ALSO
-pcap(3PCAP), pcap_setfilter(3PCAP), pcap_freecode(3PCAP),
+.BR pcap (3PCAP),
+.BR pcap_setfilter (3PCAP),
+.BR pcap_freecode (3PCAP)
index 5a15007bfc30bdddb86d3d14e1e907da95be3c52..6b520306654743d7093808122d124f1607c5a45d 100644 (file)
@@ -48,7 +48,7 @@ argument of "any" or
 can be used to capture packets from all interfaces.
 .PP
 The returned handle must be activated with
-.B pcap_activate(3PCAP)
+.BR pcap_activate (3PCAP)
 before packets can be captured
 with it; options for the capture, such as promiscuous mode, can be set
 on the handle before activating it.
@@ -69,4 +69,4 @@ is assumed to be able to hold at least
 .B PCAP_ERRBUF_SIZE
 chars.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 26203683eddf537355dc9c9dcfafeff57134f495..d7077ff2a81210fae18e7ce0cf5c1804ec3d3c6d 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(3PCAP)
+.BR \%pcap_create (3PCAP)
 that has not yet been activated by
-.BR \%pcap_activate(3PCAP) .
+.BR \%pcap_activate (3PCAP).
 .PP
 .I https://www.tcpdump.org/linktypes.html
 lists the values
@@ -65,4 +65,5 @@ returns the link-layer header type on success and
 .B PCAP_ERROR_NOT_ACTIVATED
 if called on a capture handle that has been created but not activated.
 .SH SEE ALSO
-pcap(3PCAP), pcap-linktype(@MAN_MISC_INFO@)
+.BR pcap (3PCAP),
+.BR pcap-linktype (@MAN_MISC_INFO@)
index dd4688f0a26025cffb1dd47a40e6b95851e8a805..004486334a776fc55038a76e5c5b3aa28005851e 100644 (file)
@@ -46,4 +46,4 @@ returns the type value on success and
 if the name is not a known
 type name..
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 7f201b7ce7d1580ea6f88bf1ef699e016932f828..7e97421873f164acf315318fed145aa565286e4c 100644 (file)
@@ -35,11 +35,11 @@ u_char *sp);
 .SH DESCRIPTION
 .B pcap_dump()
 outputs a packet to the ``savefile'' opened with
-.BR pcap_dump_open(3PCAP) .
+.BR pcap_dump_open (3PCAP).
 Note that its calling arguments are suitable for use with
-.B pcap_dispatch(3PCAP)
+.BR pcap_dispatch (3PCAP)
 or
-.BR pcap_loop(3PCAP) .
+.BR pcap_loop (3PCAP).
 If called directly, the
 .I user
 parameter is of type
@@ -47,4 +47,4 @@ parameter is of type
 as returned by
 .BR pcap_dump_open() .
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index bd95a52b290e5806c2d2d6daa457375b187d5148..dbe2c926364cd7fb120700feb8dabd22e56cad3d 100644 (file)
@@ -34,4 +34,6 @@ void pcap_dump_close(pcap_dumper_t *p);
 .B pcap_dump_close()
 closes the ``savefile.''
 .SH SEE ALSO
-pcap(3PCAP), pcap_dump_open(3PCAP), pcap_dump(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_dump_open (3PCAP),
+.BR pcap_dump (3PCAP)
index d2074312d1ec68bceada1be262e49f4e3ef5859b..639269a8881aa9a26799c508e9b2d124fa347a90 100644 (file)
@@ -33,6 +33,6 @@ FILE *pcap_dump_file(pcap_dumper_t *p);
 .SH DESCRIPTION
 .B pcap_dump_file()
 returns the standard I/O stream of the ``savefile'' opened by
-.BR pcap_dump_open(3PCAP) .
+.BR pcap_dump_open (3PCAP).
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 5d1747452d3edc9feddb68d40f8d71078aea9d1a..142e786ff2d4173bf25f752c08375787302f86da 100644 (file)
@@ -34,7 +34,7 @@ int pcap_dump_flush(pcap_dumper_t *p);
 .B pcap_dump_flush()
 flushes the output buffer to the ``savefile,'' so that any packets
 written with
-.B pcap_dump(3PCAP)
+.BR pcap_dump (3PCAP)
 but not yet written to the ``savefile'' will be written.
 .SH RETURN VALUE
 .B pcap_dump_flush()
@@ -42,4 +42,5 @@ returns 0 on success and
 .B PCAP_ERROR
 on failure.
 .SH SEE ALSO
-pcap(3PCAP), pcap_dump_open(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_dump_open (3PCAP)
index 20cb995eab35b13c6f77dde67bc4df0167ea2772..253761b510dc03622e03359824c57563e51f1e3b 100644 (file)
@@ -36,9 +36,9 @@ int64_t pcap_dump_ftell64(pcap_dumper_t *p);
 .B pcap_dump_ftell()
 returns the current file position for the ``savefile'', representing the
 number of bytes written by
-.B pcap_dump_open(3PCAP)
+.BR pcap_dump_open (3PCAP)
 and
-.BR pcap_dump(3PCAP) .
+.BR pcap_dump (3PCAP).
 .B PCAP_ERROR
 is returned on error. If the current file position does not fit in a
 .BR long ,
@@ -55,4 +55,4 @@ are supported, this will return the file offset without truncation.
 .B PCAP_ERROR
 is returned on error.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index b86696f08826d0de252a617a4dd7bed28da0837d..efb0549dd1ba68621b884c7209f2f537579cb5ed 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(3PCAP) .
+.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(3PCAP)
+.BR pcap_create (3PCAP)
 and activated by an earlier call to
-.BR \%pcap_activate(3PCAP) ,
+.BR \%pcap_activate (3PCAP),
 or returned by an earlier call to
-.BR \%pcap_open_offline(3PCAP) ,
-.BR pcap_open_live(3PCAP) ,
+.BR \%pcap_open_offline (3PCAP),
+.BR pcap_open_live (3PCAP),
 or
-.BR pcap_open_dead(3PCAP) .
+.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,16 +80,16 @@ 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(3PCAP)
+.BR pcap_dump (3PCAP)
 and
-.B pcap_dump_close(3PCAP)
+.BR pcap_dump_close (3PCAP)
 calls is returned on success.
 .B NULL
 is returned on failure.
 If
 .B NULL
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 can be used to get the error text.
 .SH BACKWARD COMPATIBILITY
 .PP
@@ -99,5 +99,5 @@ function became available in libpcap release 1.7.2.  In previous
 releases, there is no support for appending packets to an existing
 savefile.
 .SH SEE ALSO
-pcap(3PCAP),
-\%pcap-savefile(@MAN_FILE_FORMATS@)
+.BR pcap (3PCAP),
+.BR \%pcap-savefile (@MAN_FILE_FORMATS@)
index 981451ba5684e6dc75121f46448ba46f5f98cd76..45b041485cd63b2c505016da194086a2d5b2eb08 100644 (file)
@@ -34,15 +34,15 @@ FILE *pcap_file(pcap_t *p);
 .B pcap_file()
 returns the standard I/O stream of the ``savefile,'' if a ``savefile''
 was opened with
-.BR pcap_open_offline(3PCAP) ,
+.BR pcap_open_offline (3PCAP),
 or
 .BR NULL ,
 if a network device was opened with
-.B pcap_create(3PCAP)
+.BR pcap_create (3PCAP)
 and
-.BR \%pcap_activate(3PCAP) ,
+.BR \%pcap_activate (3PCAP),
 or with
-.BR pcap_open_live(3PCAP) .
+.BR pcap_open_live (3PCAP).
 .PP
 Note that the Packet Capture library is usually built with large file
 support, so the standard I/O stream of the ``savefile'' might refer to
@@ -52,8 +52,8 @@ should, if possible, use calls that support large files on the return
 value of
 .B pcap_file()
 or the value returned by
-.B fileno(3)
+.BR fileno (3)
 when passed the return value of
 .BR pcap_file() .
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 60ac12945dd1a16d0e8a8c71bf1e6d7b1a07d1eb..f47dcadf68558411dbaec303446ddf94be0a034c 100644 (file)
@@ -35,24 +35,24 @@ If
 .I p
 refers to a network device that was opened for a live capture using
 a combination of
-.B pcap_create(3PCAP)
+.BR pcap_create (3PCAP)
 and
-.BR pcap_activate(3PCAP) ,
+.BR pcap_activate (3PCAP),
 or using
-.BR pcap_open_live(3PCAP) ,
+.BR pcap_open_live (3PCAP),
 .B pcap_fileno()
 returns the file descriptor from which captured packets are read.
 .LP
 If
 .I p
 refers to a ``savefile'' that was opened using functions such as
-.BR pcap_open_offline(3PCAP)
+.BR pcap_open_offline (3PCAP)
 or
-.BR pcap_fopen_offline(3PCAP) ,
+.BR pcap_fopen_offline (3PCAP),
 a ``dead''
 .B pcap_t
 opened using
-.BR pcap_open_dead(3PCAP) ,
+.BR pcap_open_dead (3PCAP),
 or a
 .B pcap_t
 that was created with
@@ -62,4 +62,4 @@ but that has not yet been activated with
 it returns
 .BR PCAP_ERROR .
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 712e255a0fdf6d645e718991dd8cfbbb778b9c99..eb8472ab51f690c9681a8e154d0ce6b069a76d8d 100644 (file)
@@ -40,11 +40,11 @@ void pcap_freealldevs(pcap_if_t *alldevs);
 .SH DESCRIPTION
 .B pcap_findalldevs()
 constructs a list of network devices that can be opened with
-.B pcap_create(3PCAP)
+.BR pcap_create (3PCAP)
 and
-.B pcap_activate(3PCAP)
+.BR pcap_activate (3PCAP)
 or with
-.BR pcap_open_live(3PCAP) .
+.BR pcap_open_live (3PCAP).
 (Note that there may be network devices that cannot be opened by the
 process calling
 .BR pcap_findalldevs() ,
@@ -194,7 +194,7 @@ for IPv6 addresses, it can be interpreted as if it pointed to a
 .BR "struct sockaddr_in6".
 .PP
 The list of devices must be freed with
-.BR pcap_freealldevs(3PCAP) ,
+.BR pcap_freealldevs (3PCAP),
 which frees the list pointed to by
 .IR alldevs .
 .SH RETURN VALUE
@@ -228,4 +228,4 @@ and
 .B PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE
 constants became available in libpcap release 1.9.0.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 4e71efa49cf2f0730346cca6888666144e40e26e..21330c48ec5a3f4265714fcd702378b3257e54ca 100644 (file)
@@ -35,9 +35,9 @@ void pcap_freecode(struct bpf_program *);
 is used to free up allocated memory pointed to by a
 .I bpf_program
 struct generated by
-.B pcap_compile(3PCAP)
+.BR pcap_compile (3PCAP)
 when that BPF program is no longer needed, for example after it
 has been made the filter program for a pcap structure by a call to
-.BR pcap_setfilter(3PCAP) .
+.BR pcap_setfilter (3PCAP).
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index e58cb4e78d5cc8bc21a178eddda36a6f6953893d..55e0b99bf848515f3d6fce1e2d3641ad18ea2691 100644 (file)
@@ -36,13 +36,13 @@ struct timeval *pcap_get_required_select_timeout(pcap_t *p);
 returns, on UNIX, a pointer to a
 .B struct timeval
 containing a value that must be used as the minimum timeout in
-.BR select(2) ,
-.BR poll(2) ,
-.BR epoll_wait(2) ,
+.BR select (2),
+.BR poll (2),
+.BR epoll_wait (2),
 and
-.B kevent()
+.BR kevent (2)
 calls if
-.B pcap_get_selectable_fd(3PCAP)
+.BR pcap_get_selectable_fd (3PCAP)
 returns
 .BR PCAP_ERROR .
 .PP
@@ -56,7 +56,7 @@ The device for which
 returned
 .B PCAP_ERROR
 must be put in non-blocking mode with
-.BR pcap_setnonblock(3PCAP) ,
+.BR pcap_setnonblock (3PCAP),
 and an attempt must always be made to read packets from the device
 when the
 .BR select() ,
@@ -69,9 +69,9 @@ call returns.
 Note that a device on which a read can be done without blocking may,
 on some platforms, not have any packets to read if the packet buffer
 timeout has expired.  A call to
-.B pcap_dispatch(3PCAP)
+.BR pcap_dispatch (3PCAP)
 or
-.B pcap_next_ex(3PCAP)
+.BR pcap_next_ex (3PCAP)
 will return 0 in this case, but will not block.
 .PP
 .B pcap_get_required_select_timeout()
@@ -94,5 +94,9 @@ cannot be used on any capture source for which
 .B pcap_get_selectable_fd
 returns \-1.
 .SH SEE ALSO
-pcap(3PCAP), pcap_get_selectable_fd(3PCAP), select(2), poll(2),
-epoll_wait(2), kqueue(2)
+.BR pcap (3PCAP),
+.BR pcap_get_selectable_fd (3PCAP),
+.BR select (2),
+.BR poll (2),
+.BR epoll_wait (2),
+.BR kqueue (2)
index 7f43db398e61c6a7eec20c51a5269fbed6c8cd2e..cc2515cdd70c5bf0ac45fab46bc9699e436cd398 100644 (file)
@@ -36,10 +36,10 @@ int pcap_get_selectable_fd(pcap_t *p);
 returns, on UNIX, a file descriptor number for a file descriptor on
 which one can
 do a
-.BR select(2) ,
-.BR poll(2) ,
-.BR epoll_wait(2) ,
-.BR kevent() ,
+.BR select (2),
+.BR poll (2),
+.BR epoll_wait (2),
+.BR kevent (2),
 or other such call
 to wait for it to be possible to read packets without blocking, if such
 a descriptor exists, or
@@ -47,7 +47,7 @@ a descriptor exists, or
 if no such descriptor exists.
 .PP
 Some network devices opened with
-.B pcap_create(3PCAP)
+.BR pcap_create (3PCAP)
 and
 .BR pcap_activate(3PCAP) ,
 or with
@@ -58,7 +58,7 @@ FreeBSD 4.3 and 4.4, and Endace DAG devices), so
 is returned for
 those devices.  In that case, those calls must be given a timeout less
 than or equal to the timeout returned by
-.B pcap_get_required_select_timeout(3PCAP)
+.BR pcap_get_required_select_timeout (3PCAP)
 for the device for which
 .B pcap_get_selectable_fd()
 returned
@@ -76,9 +76,9 @@ event loop.
 Note that a device on which a read can be done without blocking may,
 on some platforms, not have any packets to read if the packet buffer
 timeout has expired.  A call to
-.B pcap_dispatch(3PCAP)
+.BR pcap_dispatch (3PCAP)
 or
-.B pcap_next_ex(3PCAP)
+.BR pcap_next_ex (3PCAP)
 will return 0 in this case, but will not block.
 .PP
 Note that in:
@@ -148,4 +148,5 @@ A selectable file descriptor is returned if one exists; otherwise,
 .B PCAP_ERROR
 is returned.
 .SH SEE ALSO
-pcap(3PCAP), kqueue(2)
+.BR pcap (3PCAP),
+.BR kqueue (2)
index 2e72e0bac14f36d83dbd70f973e3ed18d3433b1a..d45db69f8926f46ed0864d5bf4f4de1cf2cdea44 100644 (file)
@@ -51,6 +51,6 @@ This function became available in libpcap release 1.5.1.  In previous
 releases, time stamps from a capture device or savefile are always given
 in seconds and microseconds.
 .SH SEE ALSO
-pcap(3PCAP),
-pcap_set_tstamp_precision(3PCAP),
-pcap-tstamp(@MAN_MISC_INFO@)
+.BR pcap (3PCAP),
+.BR pcap_set_tstamp_precision (3PCAP),
+.BR pcap-tstamp (@MAN_MISC_INFO@)
index ee681c8c229617d3cc0654de92667aac37b03481..7a7a6be335b6111f88306d39b58bd17e65579cb8 100644 (file)
@@ -48,4 +48,4 @@ prints the text of the last pcap library error on
 prefixed by
 .IR prefix .
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 92a92638849b190630c703376ebf2f23a292b093..2876dbeb0bd624af8b50d56a6e7fc96a95c1d854 100644 (file)
@@ -42,7 +42,7 @@ is the number of bytes in the packet.
 Note that, even if you successfully open the network interface, you
 might not have permission to send packets on it, or it might not support
 sending packets; as
-.B pcap_open_live(3PCAP)
+.BR pcap_open_live (3PCAP)
 doesn't have a flag to indicate whether to open for capturing, sending,
 or capturing and sending, you cannot request an open that supports
 sending and be notified at open time whether sending will be possible.
@@ -84,11 +84,11 @@ on failure.
 If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 67f762fedcfa6508ea93466c8748dc246aa5fe63..8889a9c23f4a2fa480be3b89b9ea5d127aa844bd 100644 (file)
@@ -39,13 +39,13 @@ than the current system.  For a live capture, it always returns false
 (0).
 .PP
 It must not be called on a pcap descriptor created by
-.B \%pcap_create(3PCAP)
+.BR \%pcap_create (3PCAP)
 that has not yet been activated by
-.BR \%pcap_activate(3PCAP) .
+.BR \%pcap_activate (3PCAP).
 .SH RETURN VALUE
 .B pcap_is_swapped()
 returns true (1) or false (0) on success and
 .B PCAP_ERROR_NOT_ACTIVATED
 if called on a capture handle that has been created but not activated.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 4b86b2d5771c8d8f1ca451c7e1fcad0da088723f..cd1b947276fd58499b09fb04e1137f0bd3acc320 100644 (file)
@@ -36,4 +36,4 @@ returns a pointer to a string giving information about the version of
 the libpcap library being used; note that it contains more information
 than just a version number.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 60ba478f7466777f26a5609d9d80dfc8a0f45f1c..8e212e1fb49850dd523bc618bfa7cb05cb1bc082 100644 (file)
@@ -47,9 +47,9 @@ which frees the list of link-layer header types pointed to by
 .IR dlt_list .
 .LP
 It must not be called on a pcap descriptor created by
-.B \%pcap_create(3PCAP)
+.BR \%pcap_create (3PCAP)
 that has not yet been activated by
-.BR \%pcap_activate(3PCAP) .
+.BR \%pcap_activate (3PCAP).
 .SH RETURN VALUE
 .B pcap_list_datalinks()
 returns the number of link-layer header types in the array on success,
@@ -61,13 +61,13 @@ on other errors.
 If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B \%pcap_perror(3PCAP)
+.BR \%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_datalink_val_to_name(3PCAP),
-pcap-linktype(@MAN_MISC_INFO@)
+.BR pcap (3PCAP),
+.BR pcap_datalink_val_to_name (3PCAP),
+.BR pcap-linktype (@MAN_MISC_INFO@)
index 4deff7948a834ac0080686fb17fe6f13251b190e..ee297cf884d78a80f758cb8da8222631879a63a4 100644 (file)
@@ -59,9 +59,9 @@ you are limited to the capture device's default time stamp type.
 If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
@@ -71,5 +71,6 @@ These functions became available in libpcap release 1.2.1.  In previous
 releases, the time stamp type cannot be set; only the default time stamp
 type offered by a capture source is available.
 .SH SEE ALSO
-pcap(3PCAP), pcap_tstamp_type_val_to_name(3PCAP),
-pcap-tstamp(@MAN_MISC_INFO@)
+.BR pcap (3PCAP),
+.BR pcap_tstamp_type_val_to_name (3PCAP),
+.BR pcap-tstamp (@MAN_MISC_INFO@)
index 29f09e3752977c0d0cbd6d3468ec39c2e58c4a7f..0c0d9a8daf87c4be18b40400459d5efadd571af0 100644 (file)
@@ -47,13 +47,13 @@ possible.)
 .B pcap_lookupdev()
 returns a pointer to a string giving the name of a network device
 suitable for use with
-.B pcap_create(3PCAP)
+.BR pcap_create (3PCAP)
 and
-.BR \%pcap_activate(3PCAP) ,
+.BR \%pcap_activate (3PCAP),
 or with
-.BR pcap_open_live(3PCAP) ,
+.BR pcap_open_live (3PCAP),
 and with
-.BR pcap_lookupnet(3PCAP) .
+.BR pcap_lookupnet (3PCAP).
 If there is an error,
 .B NULL
 is returned and
@@ -64,7 +64,7 @@ is assumed to be able to hold at least
 .B PCAP_ERRBUF_SIZE
 chars.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
 .SH BUGS
 The pointer returned by
 .B pcap_lookupdev()
index f609445311c46d076016bb3e86fc7f1e0fdec3a4..122ba53e05159d4779b744180c2b275324a7de8d 100644 (file)
@@ -63,4 +63,4 @@ is assumed to be able to hold at least
 .B PCAP_ERRBUF_SIZE
 chars.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 0193714b885bb8f631f302dd7d64c57b0f41b4d8..d535b0d0395ded9964a9c243f7e4504e64edd709 100644 (file)
@@ -47,7 +47,7 @@ processes packets from a live capture or ``savefile'' until
 .I cnt
 packets are processed, the end of the ``savefile'' is
 reached when reading from a ``savefile'',
-.B pcap_breakloop(3PCAP)
+.BR pcap_breakloop (3PCAP)
 is called, or an error occurs.
 It does
 .B not
@@ -123,7 +123,7 @@ them.
 .PP
 The bytes of data from the packet begin with a link-layer header.  The
 format of the link-layer header is indicated by the return value of the
-.B pcap_datalink(3PCAP)
+.BR pcap_datalink (3PCAP)
 routine when handed the
 .B pcap_t
 value also passed to
@@ -136,7 +136,7 @@ lists the values
 can return and describes the packet formats that
 correspond to those values.  The value it returns will be valid for all
 packets received unless and until
-.B pcap_set_datalink(3PCAP)
+.BR pcap_set_datalink (3PCAP)
 is called; after a successful call to
 .BR pcap_set_datalink() ,
 all subsequent packets will have a link-layer header of the type
@@ -196,11 +196,11 @@ rather than just checking for a return value < 0.
 If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 2fedfd2d78478dbfe60f16fe0a41411680a9ae34..ef04907e2a820d15d821ee73205e542a0e0ea625 100644 (file)
@@ -51,4 +51,4 @@ and
 .B pcap_minor_version()
 are not meaningful.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index f0eb82d1ea0f39c842df0ca7be4a35789c9df8c6..8227ea654da77ca0c330225bd878635b6b15cb17 100644 (file)
@@ -49,9 +49,9 @@ and the packet data are not to be freed by the caller, and are not
 guaranteed to be valid after the next call to
 .BR pcap_next_ex() ,
 .BR pcap_next() ,
-.BR pcap_loop(3PCAP) ,
+.BR pcap_loop (3PCAP),
 or
-.BR pcap_dispatch(3PCAP) ;
+.BR pcap_dispatch (3PCAP);
 if the code needs them to remain valid, it must make a copy of them.
 .PP
 .B pcap_next()
@@ -78,7 +78,7 @@ is filled in with the appropriate values for the packet.
 .PP
 The bytes of data from the packet begin with a link-layer header.  The
 format of the link-layer header is indicated by the return value of the
-.B pcap_datalink(PCAP)
+.BR pcap_datalink (3PCAP)
 routine when handed the
 .B pcap_t
 value also passed to
@@ -91,7 +91,7 @@ lists the values
 can return and describes the packet formats that
 correspond to those values.  The value it returns will be valid for all
 packets received unless and until
-.B pcap_set_datalink(3PCAP)
+.BR pcap_set_datalink (3PCAP)
 is called; after a successful call to
 .BR pcap_set_datalink() ,
 all subsequent packets will have a link-layer header of the type
@@ -122,9 +122,9 @@ are being read from a ``savefile'' and there are no more packets to read
 from the savefile.  If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
@@ -141,4 +141,4 @@ non-blocking mode and no packets were available to be read), or if no
 more packets are available in a ``savefile.'' Unfortunately, there is no
 way to determine whether an error occurred or not.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 724f8366b496159b49bf2c89bc68f57cbd1ad369..418ad82e33dea323c5a6cfab3f84aa988d2e81e6 100644 (file)
@@ -39,7 +39,7 @@ checks whether a filter matches a packet.
 is a pointer to a
 .I bpf_program
 struct, usually the result of a call to
-.BR pcap_compile(3PCAP) .
+.BR pcap_compile (3PCAP).
 .I h
 points to the
 .I pcap_pkthdr
@@ -52,4 +52,4 @@ returns the return value of the filter program.  This will be zero if
 the packet doesn't match the filter and non-zero if the packet matches
 the filter.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 97a97f3ac8c0336ab6c531c06c0dd4a606b5dfa7..7d1b4ec36ac87510224c9e633f46da421355aaca 100644 (file)
@@ -43,10 +43,10 @@ are used for creating a
 structure to use when calling the other functions in libpcap.  It is
 typically used when just using libpcap for compiling BPF code; it can
 also be used if using
-.BR pcap_dump_open(3PCAP) ,
-.BR pcap_dump(3PCAP) ,
+.BR pcap_dump_open (3PCAP),
+.BR pcap_dump (3PCAP),
 and
-.B pcap_dump_close(3PCAP)
+.BR pcap_dump_close (3PCAP)
 to write a savefile if there is no
 .B pcap_t
 that supplies the packets to be written.
@@ -73,6 +73,7 @@ seconds and microseconds, and
 .B PCAP_TSTAMP_PRECISION_NANO
 should be specified if the packets to be written have time stamps in
 seconds and nanoseconds.  Its value does not affect
-.BR pcap_compile(3PCAP) .
+.BR pcap_compile (3PCAP).
 .SH SEE ALSO
-pcap(3PCAP), \%pcap-linktype(@MAN_MISC_INFO@)
+.BR pcap (3PCAP),
+.BR \%pcap-linktype (@MAN_MISC_INFO@)
index 3286e294c425d4946824f3430782b10e8457f7d9..81073dba545aa0a958f00e24d3dd5d783a62ed7f 100644 (file)
@@ -87,4 +87,5 @@ is assumed to be able to hold at least
 .B PCAP_ERRBUF_SIZE
 chars.
 .SH SEE ALSO
-pcap_create(3PCAP), pcap_activate(3PCAP)
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP)
index 6ad4ddbbb8aab8587b534d3af6b8c756d790d82f..749bdc97e346807e7114c74cc714c8c6f52045c5 100644 (file)
@@ -112,4 +112,5 @@ and
 became available in libpcap release 1.5.1.  In previous releases, time
 stamps from a savefile are always given in seconds and microseconds.
 .SH SEE ALSO
-pcap(3PCAP), pcap-savefile(@MAN_FILE_FORMATS@)
+.BR pcap (3PCAP),
+.BR pcap-savefile (@MAN_FILE_FORMATS@)
index 684f739cc6b9cfe3d9ec525900fc594c9af9729c..722f2a6a9beb7ea5e12a64ac84576d07a9209195 100644 (file)
@@ -42,4 +42,6 @@ returns 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)
+.BR pcap (3PCAP),
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP)
index 66cfdb1e7a9a84009324efdac558c750db190660..591c4661e4590ef1e74f9d4621fa18d4b323f63a 100644 (file)
@@ -43,11 +43,12 @@ returns 0 on success and
 on failure. If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR 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_datalink_name_to_val(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_datalink_name_to_val (3PCAP)
index 2fe45c5439f2830ddd80591b80c27d74d421bd2b..6ec29a29e759761c7495aa4371689233a14e549d 100644 (file)
@@ -54,11 +54,11 @@ immediate mode must be turned on with a
 .B BIOCIMMEDIATE
 .BR ioctl (2),
 as documented in
-.BR bpf(@MAN_DEVICES@) ,
+.BR bpf (@MAN_DEVICES@),
 on the descriptor returned by
-.B pcap_fileno(3PCAP),
+.BR pcap_fileno (3PCAP),
 after
-.BR pcap_activate(3PCAP)
+.BR pcap_activate (3PCAP)
 is called;
 .IP
 on Solaris 10 and earlier versions of Solaris, immediate mode must be
@@ -70,13 +70,13 @@ on Digital UNIX/Tru64 UNIX, immediate mode must be turned on by doing a
 .B BIOCMBIC
 .BR ioctl ,
 as documented in
-.BR packetfilter(7) ,
+.BR packetfilter (7),
 to clear the
 .B ENBATCH
 flag on the descriptor returned by
-.B pcap_fileno(3PCAP),
+.BR pcap_fileno (3PCAP),
 after
-.BR pcap_activate(3PCAP)
+.BR pcap_activate (3PCAP)
 is called;
 .IP
 on Windows, immediate mode must be turned on by calling
@@ -92,4 +92,6 @@ is available, it should be used.
 .PP
 On other platforms, capture devices are always in immediate mode.
 .SH SEE ALSO
-pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP)
index fcd797a34c50ccbc46f2365085d6115b929b8922..4b465cb7220458481cbdec1c357485f116d2e0d7 100644 (file)
@@ -43,4 +43,6 @@ returns 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)
+.BR pcap (3PCAP),
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP)
index 873017ba9886b757c48cb1404b13c9131d6347aa..9668a74d4b4140d2dd29536c45e5a6be32071152 100644 (file)
@@ -48,7 +48,7 @@ other than a network interface, it will have no effect.
 .LP
 It should not be used in portable code; instead, a filter should be
 specified with
-.BR pcap_setfilter(3PCAP) .
+.BR pcap_setfilter (3PCAP).
 .LP
 If a given network interface provides a standard link-layer header, with
 a standard packet type, but provides some packet types with a different
@@ -65,4 +65,6 @@ if called on a capture handle that has been activated.
 .SH BACKWARD COMPATIBILITY
 This function became available in libpcap release 1.9.0.
 .SH SEE ALSO
-pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP)
index 691518a5b28c8249e88d3d4f38b896bf59e11aee..a0b292f7eea19f5952665579102672ab1bbccd66 100644 (file)
@@ -43,5 +43,7 @@ returns 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)
index 44eb15488a1142a15288d190bcf9211b223f16d4..8bf1236929d3e5513ab445d95d8993c90c733899 100644 (file)
@@ -41,4 +41,6 @@ returns 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)
+.BR pcap (3PCAP),
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP)
index e67b8132f7323467156a8317ef8607f9716902bf..139fed4b7220738ea0663e85519d2d94ba7f46f2 100644 (file)
@@ -49,5 +49,6 @@ returns 0 on success or
 .B PCAP_ERROR_ACTIVATED
 if called on a capture handle that has been activated.
 .SH SEE ALSO
-pcap_create(3PCAP), pcap_activate(3PCAP),
-\%pcap_set_immediate_mode(3PCAP)
+.BR pcap_create (3PCAP),
+.BR pcap_activate (3PCAP),
+.BR \%pcap_set_immediate_mode (3PCAP)
index dc2b4b3d2a5e9f7fd0c24012868bba39d050e6e1..4a0be4702490200ea27af7ce4f54d80e339b9f7a 100644 (file)
@@ -39,9 +39,9 @@ sets the precision of the time stamp desired for packets captured on the pcap
 descriptor to the type specified by
 .IR tstamp_precision .
 It must be called on a pcap descriptor created by
-.B pcap_create(3PCAP)
+.BR pcap_create (3PCAP)
 that has not yet been activated by
-.BR pcap_activate(3PCAP) .
+.BR pcap_activate (3PCAP).
 Two time stamp precisions are supported, microseconds and nanoseconds. One can
 use options
 .B PCAP_TSTAMP_PRECISION_MICRO and
@@ -61,6 +61,6 @@ This function became available in libpcap release 1.5.1.  In previous
 releases, time stamps from a capture device or savefile are always given
 in seconds and microseconds.
 .SH SEE ALSO
-pcap(3PCAP),
-pcap_get_tstamp_precision(3PCAP),
-pcap-tstamp(@MAN_MISC_INFO@)
+.BR pcap (3PCAP),
+.BR pcap_get_tstamp_precision (3PCAP),
+.BR pcap-tstamp (@MAN_MISC_INFO@)
index 1834d07214fb69390ed0b80a9603c943b553cea6..88c6a842992decc336fb6d07fe84e2f9e345d92e 100644 (file)
@@ -38,10 +38,10 @@ sets the type of time stamp desired for packets captured on the pcap
 descriptor to the type specified by
 .IR tstamp_type .
 It must be called on a pcap descriptor created by
-.B pcap_create(3PCAP)
+.BR pcap_create (3PCAP)
 that has not yet been activated by
-.BR pcap_activate(3PCAP) .
-.B pcap_list_tstamp_types(3PCAP)
+.BR pcap_activate (3PCAP).
+.BR pcap_list_tstamp_types (3PCAP)
 will give a list of the time stamp types supported by a given capture
 device.
 See
@@ -64,5 +64,5 @@ This function became available in libpcap release 1.2.1.  In previous
 releases, the time stamp type cannot be set; only the default time stamp
 type offered by a capture source is available.
 .SH SEE ALSO
-pcap(3PCAP),
-pcap_tstamp_type_name_to_val(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_tstamp_type_name_to_val (3PCAP)
index f174b98f902424409a5456d7bc1c9212d3d07c8f..2fde0175198e61acbfa2f446d6f112a7e2f701e3 100644 (file)
@@ -62,11 +62,11 @@ returns 0 on success and
 on failure. If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 872969398469ffaac4ed3ff451ba3846e9067c7f..e3cf42a6d35354b6784269c21100b7682301e213 100644 (file)
@@ -37,7 +37,7 @@ is used to specify a filter program.
 is a pointer to a
 .I bpf_program
 struct, usually the result of a call to
-.BR \%pcap_compile(3PCAP) .
+.BR \%pcap_compile (3PCAP).
 .SH RETURN VALUE
 .B pcap_setfilter()
 returns 0 on success and
@@ -45,11 +45,11 @@ returns 0 on success and
 on failure. If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index e8adebea0fa2bb7d4a5f4f7f9abbdb2be1feaf3b..ca9a0bd3e6da66621d1475ffdbd30a8a9e194527 100644 (file)
@@ -52,18 +52,18 @@ returned.
 In
 ``non-blocking'' mode, an attempt to read from the capture descriptor
 with
-.B pcap_dispatch(3PCAP)
+.BR pcap_dispatch (3PCAP)
 will, if no packets are currently available to be read, return 0
 immediately rather than blocking waiting for packets to arrive.
-.B pcap_loop(3PCAP)
+.BR pcap_loop (3PCAP)
 and
-.B pcap_next(3PCAP)
+.BR pcap_next (3PCAP)
 will not work in ``non-blocking'' mode.
 .PP
 When first activated with
-.B pcap_activate(3PCAP)
+.BR pcap_activate (3PCAP)
 or opened with
-.B pcap_open_live(3PCAP) ,
+.BR pcap_open_live (3PCAP) ,
 a capture handle is not in ``non-blocking mode''; a call to
 .B pcap_setnonblock()
 is required in order to put it into ``non-blocking'' mode.
@@ -82,4 +82,6 @@ is assumed to be able to hold at least
 .B PCAP_ERRBUF_SIZE
 chars.
 .SH SEE ALSO
-pcap(3PCAP), pcap_next_ex(3PCAP), pcap_geterr(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_next_ex (3PCAP),
+.BR pcap_geterr (3PCAP)
index ee54bb0834fed0aaf985e35a2d824ec035093d0d..e376857f52bdd0fe9bc5d8e8c1217bf1f6fbca65 100644 (file)
@@ -33,20 +33,20 @@ int pcap_snapshot(pcap_t *p);
 .SH DESCRIPTION
 .B pcap_snapshot()
 returns the snapshot length specified when
-.B pcap_set_snaplen(3PCAP)
+.BR pcap_set_snaplen (3PCAP)
 or
-.B pcap_open_live(3PCAP)
+.BR pcap_open_live (3PCAP)
 was called, for a live capture, or the snapshot length from the capture
 file, for a ``savefile''.
 .PP
 It must not be called on a pcap descriptor created by
-.B \%pcap_create(3PCAP)
+.BR \%pcap_create (3PCAP)
 that has not yet been activated by
-.BR \%pcap_activate(3PCAP) .
+.BR \%pcap_activate (3PCAP).
 .SH RETURN VALUE
 .B pcap_snapshot()
 returns the snapshot length on success and
 .B PCAP_ERROR_NOT_ACTIVATED
 if called on a capture handle that has been created but not activated.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 465dada48ea7ccc485c55213888cc3b1d709a087..e4fd210f4d0ba9cd76c185a6ff40fa52c55d06c6 100644 (file)
@@ -90,11 +90,11 @@ if there is an error or if
 doesn't support packet statistics. If
 .B PCAP_ERROR
 is returned,
-.B pcap_geterr(3PCAP)
+.BR pcap_geterr (3PCAP)
 or
-.B pcap_perror(3PCAP)
+.BR pcap_perror (3PCAP)
 may be called with
 .I p
 as an argument to fetch or display the error text.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index 9c2057ae4f954d2fdeb164be6d8ec2495d10b1ac..016a4d0dbf11cb8a62ec30727542a6ddbf36f317 100644 (file)
@@ -38,4 +38,4 @@ or
 .B PCAP_WARNING_
 value returned by a libpcap routine to an error string.
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index a5775f4229a5ed8f06bc96900f88720a9b2ec382..784cc36cacadca5afffa344ad4557d76d3c81071 100644 (file)
@@ -37,4 +37,4 @@ is provided in case
 isn't available.  It returns an error message string corresponding to
 .IR error .
 .SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)
index fdcc6c6d8d622317078b79a6cb8b97b0c29b8db3..b980ba47fdd41458fa4a3a17f64bbf897ed85112 100644 (file)
@@ -45,4 +45,5 @@ on failure.
 .PP
 This function became available in libpcap release 1.2.1.
 .SH SEE ALSO
-pcap(3PCAP), pcap_tstamp_type_val_to_name(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_tstamp_type_val_to_name (3PCAP)
index 9374f489c55b2db9a9e70c795518ea28e955ebfb..f0f76e5780cf04463bf2c4439a4be531099693ef 100644 (file)
@@ -49,4 +49,5 @@ is returned on failure.
 .PP
 These functions became available in libpcap release 1.2.1.
 .SH SEE ALSO
-pcap(3PCAP), pcap_tstamp_type_name_to_val(3PCAP)
+.BR pcap (3PCAP),
+.BR pcap_tstamp_type_name_to_val (3PCAP)