# Makefile.am
# Automake file for Ethereal
#
-# $Id: Makefile.am,v 1.305 2001/04/11 21:34:25 gram Exp $
+# $Id: Makefile.am,v 1.306 2001/04/17 06:29:12 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@zing.org>
in_cksum.c \
in_cksum.h \
ipproto.c \
+ ipproto.h \
llcsaps.h \
nlpid.h \
oui.h \
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.30 2001/04/01 07:32:35 hagbard Exp $
+ * $Id: packet.h,v 1.31 2001/04/17 06:29:14 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
int etype_id, int trailer_id);
extern const value_string etype_vals[];
-/* ipproto.c */
-extern const char *ipprotostr(int proto);
-
#endif /* packet.h */
/* ipproto.c
* Routines for converting IPv4 protocol/v6 nxthdr field into string
*
- * $Id: ipproto.c,v 1.12 2001/04/15 03:37:13 guy Exp $
+ * $Id: ipproto.c,v 1.13 2001/04/17 06:29:12 guy Exp $
*
* Gilbert Ramirez <gram@xiexie.org>
*
# include "snprintf.h"
#endif
-#include "globals.h"
+#include "ipproto.h"
#include "packet.h"
#include "prefs.h"
-#include "resolv.h"
#include "packet-ip.h"
-#include "packet-ipv6.h"
static const value_string ipproto_val[] = {
{ IP_PROTO_ICMP, "ICMP" },
--- /dev/null
+/* ipproto.h
+ * Declarations of outines for converting IPv4 protocol/v6 nxthdr field into string
+ *
+ * $Id: ipproto.h,v 1.1 2001/04/17 06:29:12 guy Exp $
+ *
+ * Gilbert Ramirez <gram@xiexie.org>
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * Copyright 1998 Gerald Combs
+ *
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __IPPROTO_H__
+#define __IPPROTO_H__
+
+extern const char *ipprotostr(int proto);
+
+#endif /* ipproto.h */
/* packet-dns.c
* Routines for DNS packet disassembly
*
- * $Id: packet-dns.c,v 1.64 2001/02/20 16:25:52 nneul Exp $
+ * $Id: packet-dns.c,v 1.65 2001/04/17 06:29:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include <glib.h>
#include "packet.h"
+#include "ipproto.h"
#include "resolv.h"
#include "packet-dns.h"
#include "packet-ip.h"
/* packet-ip.c
* Routines for IP and miscellaneous IP protocol packet disassembly
*
- * $Id: packet-ip.c,v 1.129 2001/03/28 21:33:31 guy Exp $
+ * $Id: packet-ip.c,v 1.130 2001/04/17 06:29:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet.h"
#include "resolv.h"
+#include "ipproto.h"
#include "prefs.h"
#include "etypes.h"
#include "greproto.h"
/* packet-ipsec.c
* Routines for IPsec/IPComp packet disassembly
*
- * $Id: packet-ipsec.c,v 1.27 2001/02/28 06:37:29 guy Exp $
+ * $Id: packet-ipsec.c,v 1.28 2001/04/17 06:29:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet-ipsec.h"
#include "packet-ip.h"
#include "resolv.h"
+#include "ipproto.h"
#include "prefs.h"
/* Place AH payload in sub tree */
/* packet-ipv6.c
* Routines for IPv6 packet disassembly
*
- * $Id: packet-ipv6.c,v 1.51 2001/01/23 02:49:55 gerald Exp $
+ * $Id: packet-ipv6.c,v 1.52 2001/04/17 06:29:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include "packet-tcp.h"
#include "packet-udp.h"
#include "resolv.h"
+#include "ipproto.h"
/*
* NOTE: ipv6.nxt is not very useful as we will have chained header.
* (ISAKMP) (RFC 2408)
* Brad Robel-Forrest <brad.robel-forrest@watchguard.com>
*
- * $Id: packet-isakmp.c,v 1.37 2001/04/04 02:52:04 guy Exp $
+ * $Id: packet-isakmp.c,v 1.38 2001/04/17 06:29:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#endif
#include "packet.h"
+#include "ipproto.h"
static int proto_isakmp = -1;
/* packet-portmap.c
* Routines for portmap dissection
*
- * $Id: packet-portmap.c,v 1.28 2001/02/09 07:59:00 guy Exp $
+ * $Id: packet-portmap.c,v 1.29 2001/04/17 06:29:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "packet-rpc.h"
#include "packet-portmap.h"
+#include "ipproto.h"
/*
* See: