* Added Mike Hall's TCP reconstruction code.
[obnox/wireshark/wip.git] / packet.h
index c8dd075bd09f81ba1a584b1d0aef78ad94255103..a43cf8ecb151170325ecf698a8c8790d55cc346b 100644 (file)
--- a/packet.h
+++ b/packet.h
@@ -1,7 +1,7 @@
 /* packet.h
  * Definitions for packet disassembly structures and routines
  *
- * $Id: packet.h,v 1.4 1998/09/17 02:37:47 gerald Exp $
+ * $Id: packet.h,v 1.5 1998/09/17 03:12:28 gerald Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -64,6 +64,17 @@ typedef struct _frame_data {
   gchar   *win_info[5];        /* Packet list text */
 } frame_data;
 
+typedef struct _packet_info {
+  char *srcip;
+  int ip_src;
+  char *destip;
+  int ipproto;
+  int srcport;
+  int destport;
+  int iplen;
+  int iphdrlen;
+} packet_info;
+
 /* Many of the structs and definitions below were taken from include files
  * in the Linux distribution. */