Include <time.h> to declare "gmtime()".
[obnox/wireshark/wip.git] / packet-ip.h
index a4e1aabd59abb9d92045937d619a4ebc5337776c..2d686fd527711861748bdbe50ee264342dd5b46a 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-ip.h
  * Definitions for IP packet disassembly structures and routines
  *
- * $Id: packet-ip.h,v 1.7 1999/10/30 06:10:32 guy Exp $
+ * $Id: packet-ip.h,v 1.9 1999/11/21 14:43:53 gram Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -56,6 +56,7 @@
 #define IP_PROTO_ENCAP         98              /* encapsulation header */
 #define IP_PROTO_PIM           103             /* Protocol Independent Mcast */
 #define IP_PROTO_IPCOMP                108             /* IP payload compression */
+#define IP_PROTO_VRRP          112             /* Virtual Router Redundancy Protocol */
 
 typedef enum {
   NO_LENGTH,           /* option has no data, hence no length */
@@ -66,8 +67,8 @@ typedef enum {
 /* Member of table of IP or TCP options. */
 typedef struct ip_tcp_opt {
   int   optcode;       /* code for option */
-  char *name;          /* name of option */
-  int   subtree_index; /* ETT_ value for option */
+  char  *name;         /* name of option */
+  int   *subtree_index;        /* pointer to subtree index for option */
   opt_len_type len_type; /* type of option length field */
   int  optlen;         /* value length should be (minimum if VARIABLE) */
   void (*dissect)(const struct ip_tcp_opt *, const u_char *, int, guint, proto_tree *);