Added mount dissector.
[obnox/wireshark/wip.git] / packet.h
index 1f905616b740a0b942368f399aa2de7e90b9563c..14710b6c0a7570cbcf8a99869511aa0981187136 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.119 1999/10/22 08:30:04 guy Exp $
+ * $Id: packet.h,v 1.136 1999/11/11 21:22:00 nneul Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -114,6 +114,7 @@ typedef struct _packet_counts {
    seek-and-read, so that we don't have to save it for all frames? */
 typedef struct _frame_data {
   struct _frame_data *next; /* Next element in list */
+  struct _frame_data *prev; /* Previous element in list */
   guint32      num;       /* Frame number */
   guint32      pkt_len;   /* Packet length */
   guint32      cap_len;   /* Amount actually captured */
@@ -250,6 +251,12 @@ enum {
        ETT_DNS_QD,
        ETT_DNS_ANS,
        ETT_DNS_RR,
+       ETT_EIGRP,
+       ETT_ICQ,
+       ETT_ICQ_DECODE,
+       ETT_ICQ_HEADER,
+       ETT_ICQ_BODY,
+       ETT_ICQ_BODY_PARTS,
        ETT_ISAKMP,
        ETT_ISAKMP_FLAGS,
        ETT_ISAKMP_PAYLOAD,
@@ -270,8 +277,19 @@ enum {
        ETT_CLIP,
        ETT_BOOTP,
        ETT_BOOTP_OPTION,
+       ETT_BOOTPARAMS,
        ETT_IPv6,
        ETT_BGP,
+       ETT_BGP_OPEN,
+       ETT_BGP_UPDATE,
+       ETT_BGP_NOTIFICATION,
+       ETT_BGP_ATTRS,
+       ETT_BGP_ATTR,
+       ETT_BGP_ATTR_FLAGS,
+       ETT_BGP_UNFEAS,
+       ETT_BGP_NLRI,
+       ETT_BGP_MP_REACH_NLRI,
+       ETT_BGP_MP_UNREACH_NLRI,
        ETT_CLNP,
        ETT_COTP,
        ETT_VINES_FRP,
@@ -313,6 +331,7 @@ enum {
        ETT_ICMPv6OPT,
        ETT_ICMPv6FLAG,
        ETT_POP,
+       ETT_IMAP,
        ETT_FTP,
        ETT_TELNET,
        ETT_TELNET_SUBOPT,
@@ -397,8 +416,11 @@ enum {
        ETT_RADIUS,
        ETT_RADIUS_AVP,
        ETT_LAPB,
+       ETT_LAPD,
+       ETT_LAPD_ADDRESS,
        ETT_X25,
        ETT_XDLC_CONTROL,
+       ETT_Q931,
        ETT_ATM,
        ETT_ATM_LANE,
        ETT_ATM_LANE_LC_FLAGS,
@@ -418,6 +440,29 @@ enum {
        ETT_SNA_RH_2,
        ETT_SNA_RU,
        ETT_YHOO,
+       ETT_RPC,
+       ETT_RPC_STRING,
+       ETT_RPC_CRED,
+       ETT_RPC_VERF,
+       ETT_RPC_GIDS,
+       ETT_MOUNT,
+       ETT_NFS,
+       ETT_NFS_FHANDLE,
+       ETT_NFS_TIMEVAL,
+       ETT_NFS_MODE,
+       ETT_NFS_FATTR,
+       ETT_NFS_MODE3,
+       ETT_NFS_SPECDATA3,
+       ETT_NFS_FH3,
+       ETT_NFS_NFSTIME3,
+       ETT_NFS_FATTR3,
+       ETT_NLM,
+       ETT_PORTMAP,
+       ETT_STAT,
+       ETT_YPBIND,
+       ETT_YPSERV,
+       ETT_YPXFR,
+       ETT_DDP,
        NUM_TREE_TYPES  /* last item number plus one */
 };
 
@@ -464,6 +509,7 @@ void       col_append_str(frame_data *, gint, gchar *);
 void blank_packetinfo(void);
 
 void afs_init_protocol(void);
+void rpc_init_protocol(void);
 void smb_init_protocol(void);
 
 void dissect_packet(const u_char *, frame_data *, proto_tree *);
@@ -500,6 +546,7 @@ void dissect_ascend(const u_char *, frame_data *, proto_tree *);
 void dissect_atm(const u_char *, frame_data *, proto_tree *);
 void dissect_clip(const u_char *, frame_data *, proto_tree *);
 void dissect_lapb(const u_char *, frame_data *, proto_tree *);
+void dissect_lapd(const u_char *, frame_data *, proto_tree *);
 void dissect_null(const u_char *, frame_data *, proto_tree *);
 void dissect_ppp(const u_char *, frame_data *, proto_tree *);
 void dissect_raw(const u_char *, frame_data *, proto_tree *);
@@ -532,6 +579,7 @@ void dissect_cotp(const u_char *, int, frame_data *, proto_tree *);
 void dissect_data(const u_char *, int, frame_data *, proto_tree *);
 void dissect_ddp(const u_char *, int, frame_data *, proto_tree *);
 void dissect_dns(const u_char *, int, frame_data *, proto_tree *);
+void dissect_eigrp(const u_char *, int, frame_data *, proto_tree *);            
 void dissect_esp(const u_char *, int, frame_data *, proto_tree *);
 void dissect_eth(const u_char *, int, frame_data *, proto_tree *);
 void dissect_ftp(const u_char *, int, frame_data *, proto_tree *);
@@ -565,8 +613,11 @@ void dissect_pop(const u_char *, int, frame_data *, proto_tree *);
 void dissect_pppoed(const u_char *, int, frame_data *, proto_tree *);
 void dissect_pppoes(const u_char *, int, frame_data *, proto_tree *);
 void dissect_icp(const u_char *,int, frame_data *, proto_tree *);
+void dissect_icq(const u_char *,int, frame_data *, proto_tree *);
+void dissect_imap(const u_char *,int, frame_data *, proto_tree *);
 void dissect_isakmp(const u_char *, int, frame_data *, proto_tree *);
 void dissect_pim(const u_char *, int, frame_data *, proto_tree *);
+void dissect_q931(const u_char *, int, frame_data *, proto_tree *);
 void dissect_radius(const u_char *, int, frame_data *, proto_tree *);
 void dissect_rip(const u_char *, int, frame_data *, proto_tree *);
 void dissect_ripng(const u_char *, int, frame_data *, proto_tree *);
@@ -598,6 +649,9 @@ void dissect_smb(const u_char *, int, frame_data *, proto_tree *, int);
 void dissect_pptp(const u_char *, int, frame_data *, proto_tree *);
 void dissect_gre(const u_char *, int, frame_data *, proto_tree *);
 
+void dissect_rpc(const u_char *, int, frame_data *, proto_tree *, guint32, void*);
+
+void init_dissect_rpc(void);
 void init_dissect_udp(void);
 void init_dissect_x25(void);