diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-04-27 06:51:16 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-04-27 06:51:16 +0000 |
commit | 32ce5316011c8ae63e3996778dd7d4178f77a2da (patch) | |
tree | 9aa88b6b0fb9cfe26fe2c33a066bc056e61fd0c8 /epan/addr_resolv.h | |
parent | 78509bdf7fbd6440ab02fd67854487d2599cfe43 (diff) |
Added Manual IP address resolve functions.
This can later be extended with ethernet and probably other addresses.
svn path=/trunk/; revision=32571
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 1031ee8bc1..701ae81abc 100644 --- a/epan/addr_resolv.h +++ b/epan/addr_resolv.h @@ -176,6 +176,9 @@ extern void add_ipv4_name(const guint addr, const gchar *name); /* adds a hostname/IPv6 in the hash table */ extern void add_ipv6_name(const struct e_in6_addr *addr, const gchar *name); +/* adds a hostname in the hash table */ +extern gboolean add_ip_name_from_string (const char *address, const char *name); + /* add ethernet address / name corresponding to IP address */ extern void add_ether_byip(const guint ip, const guint8 *eth); |