aboutsummaryrefslogtreecommitdiff
path: root/pcap_loop.3pcap
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2023-02-27 19:53:37 +0000
committerDenis Ovsienko <denis@ovsienko.info>2023-02-27 20:25:05 +0000
commitf08a132cc7e22f6ac2625f3b2bd93574a12fa92d (patch)
tree46b5b1ba3d773a6c4afe68aa66d20ff2470c2f09 /pcap_loop.3pcap
parent20cf6795d97031cb54dbf28f99d9c92eff91a07d (diff)
man: Format more C types using bold font. [skip ci]
Diffstat (limited to 'pcap_loop.3pcap')
-rw-r--r--pcap_loop.3pcap12
1 files changed, 6 insertions, 6 deletions
diff --git a/pcap_loop.3pcap b/pcap_loop.3pcap
index 0c595262..f8ca59b7 100644
--- a/pcap_loop.3pcap
+++ b/pcap_loop.3pcap
@@ -94,10 +94,10 @@ but must not rely on it happening.
.PP
.I callback
specifies a
-.I pcap_handler
+.B pcap_handler
routine to be called with three arguments:
a
-.I u_char
+.B u_char
pointer which is passed in the
.I user
argument to
@@ -105,16 +105,16 @@ argument to
or
.BR pcap_dispatch (),
a
-.I const struct pcap_pkthdr
+.B const struct pcap_pkthdr
pointer pointing to the packet time stamp and lengths, and a
-.I const u_char
+.B const u_char
pointer to the first
.B caplen
(as given in the
-.I struct pcap_pkthdr
+.BR "struct pcap_pkthdr" ,
a pointer to which is passed to the callback routine)
bytes of data from the packet. The
-.I struct pcap_pkthdr
+.B struct pcap_pkthdr
and the packet data are not to be freed by the callback routine, and are
not guaranteed to be valid after the callback routine returns; if the
code needs them to be valid after the callback, it must make a copy of