aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-11-17 09:44:41 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-11-17 09:44:41 +0000
commitaaa80765b2699acabea1a759fde541b7e9323d48 (patch)
tree7c4737b119d2f4852999ec1b9a934feec62bdb8a /epan/addr_resolv.h
parentcc6e6e85835ec10259da58953d58e061fb2cda9c (diff)
Add a hash table for IPv6 addresses, and add an "add_ipv6_name()"
routine to add IPv6-address/name pairings to that table; use that when reading the hosts file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12537 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/addr_resolv.h')
-rw-r--r--epan/addr_resolv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/addr_resolv.h b/epan/addr_resolv.h
index f0b3574bea..05b6877e28 100644
--- a/epan/addr_resolv.h
+++ b/epan/addr_resolv.h
@@ -116,6 +116,9 @@ guint32 get_ipxnet_addr(const gchar *name, gboolean *known);
/* adds a hostname/IPv4 in the hash table */
extern void add_ipv4_name(guint addr, const gchar *name);
+/* adds a hostname/IPv6 in the hash table */
+extern void add_ipv6_name(struct e_in6_addr *addr, const gchar *name);
+
/* add ethernet address / name corresponding to IP address */
extern void add_ether_byip(guint ip, const guint8 *eth);