aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipv6.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@itojun.org>1999-10-14 05:41:33 +0000
committerJun-ichiro itojun Hagino <itojun@itojun.org>1999-10-14 05:41:33 +0000
commit831497b33e358305b8f409882ec61097335b772d (patch)
tree70de51573eace737c5d829570dc33bd6b5261020 /packet-ipv6.h
parent5ed4011c300a8c1688ee5aa1b184aa0d2fc54bc7 (diff)
use inet_pton() and inet_ntop(), which are RFC2553 standard function
for converting IPv[46] numeric notation to/from binary form. recent BIND includes those functions so fallback is not necessary on most of the platforms. sorry if it raises any portability problem on other platforms. remove partial inclusion of inet_ntop() in packet-ipv6.c. move ip6_to_str() to packet.c, it fits better there than packet-ipv6.c. svn path=/trunk/; revision=829
Diffstat (limited to 'packet-ipv6.h')
-rw-r--r--packet-ipv6.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/packet-ipv6.h b/packet-ipv6.h
index c41c4c5748..f451de7b53 100644
--- a/packet-ipv6.h
+++ b/packet-ipv6.h
@@ -1,7 +1,7 @@
/* packet-ipv6.h
* Definitions for IPv6 packet disassembly
*
- * $Id: packet-ipv6.h,v 1.5 1999/09/10 07:19:40 guy Exp $
+ * $Id: packet-ipv6.h,v 1.6 1999/10/14 05:41:30 itojun Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -517,7 +517,4 @@ struct rr_result { /* router renumbering result message */
};
#endif /* BYTE_ORDER */
-struct e_in6_addr;
-gchar* ip6_to_str(struct e_in6_addr *);
-
#endif /* __PACKET_IPV6_H_DEFINED__ */