diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-11-17 09:44:41 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-11-17 09:44:41 +0000 |
commit | 4469052ec34d352f908d0494fbc91e77e6b162c9 (patch) | |
tree | 7c4737b119d2f4852999ec1b9a934feec62bdb8a /epan/addr_resolv.h | |
parent | 366ff47474d051503bd76518b92d84b79e3b087f (diff) | |
download | wireshark-4469052ec34d352f908d0494fbc91e77e6b162c9.tar.gz |
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.
svn path=/trunk/; revision=12537
Diffstat (limited to 'epan/addr_resolv.h')
-rw-r--r-- | epan/addr_resolv.h | 3 |
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); |