/* 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
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);