Make unsigned the members of a "packet_info" structure that store IP
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 31 Jul 1999 18:18:43 +0000 (18:18 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 31 Jul 1999 18:18:43 +0000 (18:18 +0000)
addresses, IP protocols, and TCP/UDP port numbers (as those are
unsigned).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@411 f5534014-38df-0310-8fa8-9805f1628bb7

packet.h

index 7153f2892c0b1392699032c071f0dd337458a553..9e310a7cc2d519fc551e5af0ffded15f7533e9de 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.76 1999/07/31 11:21:06 deniel Exp $
+ * $Id: packet.h,v 1.77 1999/07/31 18:18:43 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -117,12 +117,12 @@ typedef struct _frame_data {
 } frame_data;
 
 typedef struct _packet_info {
-  int ip_src;
-  int ip_dst;
-  int ipproto;
-  int srcport;
-  int destport;
-  int match_port;
+  guint32 ip_src;
+  guint32 ip_dst;
+  guint32 ipproto;
+  guint32 srcport;
+  guint32 destport;
+  guint32 match_port;
   int iplen;
   int iphdrlen;
   int payload;