diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-04-05 20:21:59 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-04-05 20:21:59 +0000 |
commit | 595e5e1c1d150812de9cc0d1549acd0ed5d8770d (patch) | |
tree | c0101435e5778ab84ef23a5809fa0332e5430fbf /epan/tap.h | |
parent | 4f462b3d09e661d64714187636ddb851457c1c39 (diff) |
Add ICMP tap support, and add a tshark tap to measure such things as:
* Number of ICMP echo requests, replies, lost replies and percent loss.
* Min, Max, Average SRT (Service Response Time), and standard deviation.
(This is my first tap, so hopefully I didn't miss something, but we'll see ...)
TODO: Add a Wireshark tap.
svn path=/trunk/; revision=36480
Diffstat (limited to 'epan/tap.h')
-rw-r--r-- | epan/tap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/tap.h b/epan/tap.h index 94a681339f..4624a5fe92 100644 --- a/epan/tap.h +++ b/epan/tap.h @@ -34,8 +34,9 @@ typedef void (*tap_draw_cb)(void *tapdata); /* * Flags to indicate what a tap listener's packet routine requires. */ -#define TL_REQUIRES_PROTO_TREE 0x00000001 /**< full protocol tree */ -#define TL_REQUIRES_COLUMNS 0x00000002 /**< columns */ +#define TL_REQUIRES_NOTHING 0x00000000 /**< nothing */ +#define TL_REQUIRES_PROTO_TREE 0x00000001 /**< full protocol tree */ +#define TL_REQUIRES_COLUMNS 0x00000002 /**< columns */ extern void tap_init(void); extern int register_tap(const char *name); |