aboutsummaryrefslogtreecommitdiff
path: root/pcap_loop.3pcap
diff options
context:
space:
mode:
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