Add support for "--with-plugindir=<plugin install dir>" to configure.
[metze/wireshark/wip.git] / packet-ospf.h
index fec845cd66b6fc7020fe81a5bd5a98a5f029af07..8acbef40379a3bd04980340604a7a2a759e40af7 100644 (file)
@@ -1,5 +1,7 @@
 /* packet-ospf.h (c) 1998 Hannes Boehm */
 
+/* $Id: packet-ospf.h,v 1.5 1999/10/19 15:59:04 gram Exp $ */
+
 #define OSPF_HEADER_LENGTH     24
 
 #define OSPF_HELLO     1
@@ -121,15 +123,22 @@ typedef struct _e_ospf_asexternal_lsa {
     guint32    external_tag;
 } e_ospf_asexternal_lsa;
 
+typedef struct _e_ospf_crypto {
+    guint16   mbz;
+    guint8      key_id;
+    guint8      length;
+    guint32   sequence_num;
+} e_ospf_crypto;
+
 
-void dissect_ospf_hello(const u_char*, int, frame_data*, GtkTree*);
-void dissect_ospf_db_desc(const u_char*, int, frame_data*, GtkTree*); 
-void dissect_ospf_ls_req(const u_char*, int, frame_data*, GtkTree*); 
-void dissect_ospf_ls_upd(const u_char*, int, frame_data*, GtkTree*); 
-void dissect_ospf_ls_ack(const u_char*, int, frame_data*, GtkTree*); 
+void dissect_ospf_hello(const u_char*, int, frame_data*, proto_tree*);
+void dissect_ospf_db_desc(const u_char*, int, frame_data*, proto_tree*); 
+void dissect_ospf_ls_req(const u_char*, int, frame_data*, proto_tree*); 
+void dissect_ospf_ls_upd(const u_char*, int, frame_data*, proto_tree*); 
+void dissect_ospf_ls_ack(const u_char*, int, frame_data*, proto_tree*); 
 
 /* dissect_ospf_lsa returns the length of the LSA 
  * if disassemble_body is set to FALSE (e.g. in LSA ACK 
  * packets), the LSA-header length is returned (20)
  */
-int dissect_ospf_lsa(const u_char*, int, frame_data*, GtkTree*, int disassemble_body); 
+int dissect_ospf_lsa(const u_char*, int, frame_data*, proto_tree*, int disassemble_body);