aboutsummaryrefslogtreecommitdiffstats
path: root/packet.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@itojun.org>1999-10-14 03:50:51 +0000
committerJun-ichiro itojun Hagino <itojun@itojun.org>1999-10-14 03:50:51 +0000
commit810a67a6d047552ef5a023e05064b634151ed1ad (patch)
tree212255bd6b2aa91e791440a3ecd8c0557731a0bb /packet.h
parent92907001c39020cbd99ceffe5c8a75c3213ea581 (diff)
implement ipprotostr() in ipproto.c, which basically does ipprotobynumber()
for ip.ip_p and ip6.ip6_nxt (and other IPv6 header chain). use val_to_str() as much as possible in dissect_{ipv6,pim,ripng}(). make --disable-zlib a default for netbsd (temporary workaround). svn path=/trunk/; revision=827
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 9c35b9ef46..da0078ee23 100644
--- a/packet.h
+++ b/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.107 1999/10/14 01:28:28 guy Exp $
+ * $Id: packet.h,v 1.108 1999/10/14 03:50:31 itojun Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -499,6 +499,7 @@ 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_isakmp(const u_char *, int, frame_data *, proto_tree *);
+void dissect_pim(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 *);
@@ -543,6 +544,9 @@ extern const value_string etype_vals[];
gchar *arphrdaddr_to_str(guint8 *ad, int ad_len, guint16 type);
gchar *arphrdtype_to_str(guint16 hwtype, const char *fmt);
+/* ipproto.c */
+extern const char *ipprotostr(int proto);
+
/*
* All of the possible columns in summary listing.
*