From 595e5e1c1d150812de9cc0d1549acd0ed5d8770d Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Tue, 5 Apr 2011 20:21:59 +0000 Subject: 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 --- epan/tap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'epan/tap.h') 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); -- cgit v1.2.3