/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.31 2001/04/17 06:29:14 guy Exp $
+ * $Id: packet.h,v 1.32 2001/04/17 06:43:21 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
void ethertype(guint16 etype, tvbuff_t *tvb, int offset_after_ethertype,
packet_info *pinfo, proto_tree *tree, proto_tree *fh_tree,
int etype_id, int trailer_id);
-extern const value_string etype_vals[];
#endif /* packet.h */
/* etypes.h
* Defines ethernet packet types, similar to tcpdump's ethertype.h
*
- * $Id: etypes.h,v 1.17 2001/04/03 05:42:11 guy Exp $
+ * $Id: etypes.h,v 1.18 2001/04/17 06:43:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#define ETHERTYPE_LOOP 0x9000 /* used for layer 2 testing (do i see my own frames on the wire) */
#endif
-#endif /* etypes.h */
-
+extern const value_string etype_vals[];
+#endif /* etypes.h */
/* packet-eth.c
* Routines for ethernet packet disassembly
*
- * $Id: packet-eth.c,v 1.63 2001/04/03 05:42:11 guy Exp $
+ * $Id: packet-eth.c,v 1.64 2001/04/17 06:43:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet-isl.h"
#include "packet-llc.h"
-extern const value_string etype_vals[];
-
/* protocols and header fields */
static int proto_eth = -1;
static int hf_eth_dst = -1;
*
* Copyright 2001, Paul Ionescu <paul@acorp.ro>
*
- * $Id: packet-fr.c,v 1.16 2001/03/31 10:35:54 guy Exp $
+ * $Id: packet-fr.c,v 1.17 2001/04/17 06:43:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet-llc.h"
#include "packet-chdlc.h"
#include "xdlc.h"
+#include "etypes.h"
#include "oui.h"
#include "nlpid.h"
#include "greproto.h"
* Routines for the Generic Routing Encapsulation (GRE) protocol
* Brad Robel-Forrest <brad.robel-forrest@watchguard.com>
*
- * $Id: packet-gre.c,v 1.40 2001/04/03 05:42:11 guy Exp $
+ * $Id: packet-gre.c,v 1.41 2001/04/17 06:43:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include <netinet/in.h>
#endif
#include <glib.h>
-#include "etypes.h"
-#include "greproto.h"
#include "packet.h"
#include "packet-ip.h"
#include "packet-ipx.h"
#include "packet-wccp.h"
#include "in_cksum.h"
+#include "etypes.h"
+#include "greproto.h"
static int proto_gre = -1;
static int hf_gre_proto = -1;
* Copyright 2000, Axis Communications AB
* Inquiries/bugreports should be sent to Johan.Jorgensen@axis.com
*
- * $Id: packet-ieee80211.c,v 1.15 2001/03/15 05:39:04 guy Exp $
+ * $Id: packet-ieee80211.c,v 1.16 2001/04/17 06:43:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
#include <glib.h>
#include "bitswap.h"
#include "proto.h"
-#include "etypes.h"
#include "packet.h"
#include "packet-llc.h"
#include "packet-ieee80211.h"
+#include "etypes.h"
/* ************************************************************************* */
/* Miscellaneous Constants */
/* packet-ipv6.c
* Routines for IPv6 packet disassembly
*
- * $Id: packet-ipv6.c,v 1.52 2001/04/17 06:29:12 guy Exp $
+ * $Id: packet-ipv6.c,v 1.53 2001/04/17 06:43:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include <string.h>
#include <stdio.h>
#include <glib.h>
-#include "etypes.h"
-#include "ppptypes.h"
-#include "aftypes.h"
#include "packet.h"
#include "packet-ip.h"
#include "packet-ipsec.h"
#include "packet-udp.h"
#include "resolv.h"
#include "ipproto.h"
+#include "etypes.h"
+#include "ppptypes.h"
+#include "aftypes.h"
/*
* NOTE: ipv6.nxt is not very useful as we will have chained header.
* Routines for NetWare's IPX
* Gilbert Ramirez <gram@xiexie.org>
*
- * $Id: packet-ipx.c,v 1.82 2001/04/15 07:36:52 guy Exp $
+ * $Id: packet-ipx.c,v 1.83 2001/04/17 06:43:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include <stdio.h>
#include <string.h>
#include <glib.h>
+#include "packet.h"
+#include "packet-ipx.h"
+#include "resolv.h"
#include "etypes.h"
#include "ppptypes.h"
#include "llcsaps.h"
#include "aftypes.h"
-#include "packet.h"
-#include "packet-ipx.h"
-#include "resolv.h"
/* The information in this module (IPX, SPX, NCP) comes from:
NetWare LAN Analysis, Second Edition
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: packet-mpls.c,v 1.17 2001/01/25 06:14:14 guy Exp $
+ * $Id: packet-mpls.c,v 1.18 2001/04/17 06:43:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#endif
#include <glib.h>
-#include "etypes.h"
#include "packet.h"
#include "packet-ip.h"
#include "ppptypes.h"
-#include "packet-ppp.h"
+#include "etypes.h"
static gint proto_mpls = -1;
/* packet-null.c
* Routines for null packet disassembly
*
- * $Id: packet-null.c,v 1.43 2001/03/30 06:15:47 guy Exp $
+ * $Id: packet-null.c,v 1.44 2001/04/17 06:43:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
static dissector_table_t null_dissector_table;
-extern const value_string etype_vals[];
-
/* protocols and header fields */
static int proto_null = -1;
static int hf_null_etype = -1;
/* packet-pppoe.c
* Routines for PPP Over Ethernet (PPPoE) packet disassembly (RFC2516)
*
- * $Id: packet-pppoe.c,v 1.17 2001/03/30 06:10:54 guy Exp $
+ * $Id: packet-pppoe.c,v 1.18 2001/04/17 06:43:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#endif
#include <glib.h>
-#include "etypes.h"
#include "packet.h"
#include "strutil.h"
+#include "etypes.h"
static int proto_pppoed = -1;
* Routines for Q.2931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q2931.c,v 1.14 2001/01/03 06:55:31 guy Exp $
+ * $Id: packet-q2931.c,v 1.15 2001/04/17 06:43:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet.h"
#include "oui.h"
#include "nlpid.h"
+#include "etypes.h"
#include "packet-q931.h"
#include "packet-arp.h"
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: packet-rsvp.c,v 1.35 2001/02/04 09:37:28 guy Exp $
+ * $Id: packet-rsvp.c,v 1.36 2001/04/17 06:43:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet-ip.h"
#include "packet-ipv6.h"
#include "ieee-float.h"
+#include "etypes.h"
static int proto_rsvp = -1;
/* packet-sll.c
* Routines for disassembly of packets from Linux "cooked mode" captures
*
- * $Id: packet-sll.c,v 1.8 2001/03/13 21:34:23 gram Exp $
+ * $Id: packet-sll.c,v 1.9 2001/04/17 06:43:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet-ipx.h"
#include "packet-llc.h"
#include "resolv.h"
+#include "etypes.h"
static int proto_sll = -1;
static int hf_sll_pkttype = -1;
/* packet-vines.c
* Routines for Banyan VINES protocol packet disassembly
*
- * $Id: packet-vines.c,v 1.28 2001/04/17 00:46:03 guy Exp $
+ * $Id: packet-vines.c,v 1.29 2001/04/17 06:43:19 guy Exp $
*
* Don Lafontaine <lafont02@cn.ca>
*
#include <string.h>
#include <glib.h>
-#include "etypes.h"
-#include "ppptypes.h"
#include "packet.h"
#include "packet-vines.h"
#include "packet-ip.h"
+#include "etypes.h"
+#include "ppptypes.h"
#define UDP_PORT_VINES 573