aboutsummaryrefslogtreecommitdiffstats
path: root/packet.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-10-12 01:40:57 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-10-12 01:40:57 +0000
commit2703adf236f8067abec13db48e24a46ca9bf813a (patch)
treef57ee7de708d072038153022c1ccbd9afa448651 /packet.h
parentc72e3426600d68f5222957ad834e010bdb43fed5 (diff)
- Added match_strval function to packet.c
- Separated display and capture filters; rearranged some of the look and feel - Lots of other miscellaneous fixes and updates git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/packet.h b/packet.h
index d659cd433f..49f2dc880b 100644
--- a/packet.h
+++ b/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.11 1998/10/10 03:32:17 gerald Exp $
+ * $Id: packet.h,v 1.12 1998/10/12 01:40:53 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -347,16 +347,18 @@ typedef struct _e_udphdr {
gchar* ether_to_str(guint8 *);
gchar* ip_to_str(guint8 *);
void packet_hex_print(GtkText *, guint8 *, gint, gint, gint);
+#define E_TREEINFO_START_KEY "tree_info_start"
+#define E_TREEINFO_LEN_KEY "tree_info_len"
#if __GNUC__ == 2
GtkWidget* add_item_to_tree(GtkWidget *, gint, gint, gchar *, ...)
__attribute__((format (printf, 4, 5)));
#else
GtkWidget* add_item_to_tree(GtkWidget *, gint, gint, gchar *, ...);
#endif
-void decode_start_len(GtkTreeItem *, gint*, gint*);
gchar* match_strval(guint32, value_string*, gint);
/* Routines in packet.c */
+
void dissect_packet(const u_char *, guint32 ts_secs, guint32 ts_usecs,
frame_data *, GtkTree *);
void add_subtree(GtkWidget *, GtkWidget*, gint);