path: root/doc
diff options
Diffstat (limited to 'doc')
2 files changed, 14 insertions, 2 deletions
diff --git a/doc/README.tapping b/doc/README.tapping
index 8546e5919a..5584a6c4fd 100644
--- a/doc/README.tapping
+++ b/doc/README.tapping
@@ -67,7 +67,7 @@ The two functions to start or stop tapping are
register_tap_listener(const char *tapname, void *tapdata, const char *fstring,
guint flags,
void (*reset)(void *tapdata),
- gboolean (*packet)(void *tapdata, packet_info *pinfo, epan_dissect_t *edt, const void *<pointer>),
+ gboolean (*packet)(void *tapdata, packet_info *pinfo, epan_dissect_t *edt, const void *data),
void (*draw)(void *tapdata));
remove_tap_listener(void *tapdata);
@@ -128,13 +128,15 @@ is a set of flags for the tap listener. The flags that can be set are:
set if your tap listener "packet" routine requires the column
strings to be constructed.
+ If no flags are needed, use TL_REQUIRES_NOTHING.
void (*reset)(void *tapdata)
This callback is called whenever Wireshark wants to inform your
listener that it is about to start [re]reading a capture file or a new capture
from an interface and that your application should reset any state it has
in the *tapdata instance.
-gboolean (*packet)(void *tapdata, packet_info *pinfo, epan_dissect_t *edt, void *data)
+gboolean (*packet)(void *tapdata, packet_info *pinfo, epan_dissect_t *edt, const void *data)
This callback is used whenever a new packet has arrived at the tap and that
it has passed the filter (if there were a filter).
The *data structure type is specific to each tap.
diff --git a/doc/tshark.pod b/doc/tshark.pod
index 4863e2cc61..f9de53be3b 100644
--- a/doc/tshark.pod
+++ b/doc/tshark.pod
@@ -710,6 +710,16 @@ and IPv6 addresses are dumped by default.
Addresses are collected from a number of sources, including standard "hosts"
files and captured traffic.
+=item B<-z> icmp,srt[,I<filter>]
+Compute total ICMP echo requests, replies, loss, and percent loss, as well as
+min, max and average SRT statistics typical of ping statistics.
+Example: S<B<-z icmp,srt,ip.src==>> will collect ICMP SRT statistics
+for ICMP echo request packets originating from a specific host.
+This option can be used multiple times on the command line.
=item B<-z> io,phs[,I<filter>]
Create Protocol Hierarchy Statistics listing both number of packets and bytes.