aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.h
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2023-11-30 19:35:28 -0500
committerJohn Thacker <johnthacker@gmail.com>2023-12-01 10:24:28 +0000
commit1ca9a8d872fd38daa05d2823d7af99f17911d098 (patch)
treec16314e0872fbbd6c8afdd2a9e71e22703e6746a /epan/addr_resolv.h
parent0a6887565751311cc70f9a60a2d9bb96c8521296 (diff)
Resolved Addresses: Only show wka actually used in the capture
For well-known addresses, store whether the address has actually been used in a lookup or is just present in the global file. In the Resolved Addresses dialog, only display the well known addresses that have actually been looked up. Part of #13857
Diffstat (limited to 'epan/addr_resolv.h')
-rw-r--r--epan/addr_resolv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/addr_resolv.h b/epan/addr_resolv.h
index 0a62dbbfe9..317a6448ec 100644
--- a/epan/addr_resolv.h
+++ b/epan/addr_resolv.h
@@ -65,6 +65,9 @@ typedef struct _e_addr_resolve {
struct hashether;
typedef struct hashether hashether_t;
+struct hashwka;
+typedef struct hashwka hashwka_t;
+
struct hashmanuf;
typedef struct hashmanuf hashmanuf_t;
@@ -292,6 +295,8 @@ WS_DLL_PUBLIC char* get_hash_ether_resolved_name(hashether_t* ether);
WS_DLL_PUBLIC char* get_hash_manuf_resolved_name(hashmanuf_t* manuf);
+WS_DLL_PUBLIC bool get_hash_wka_used(hashwka_t* wka);
+WS_DLL_PUBLIC char* get_hash_wka_resolved_name(hashwka_t* wka);
/* adds a hostname/IPv4 in the hash table */
WS_DLL_PUBLIC void add_ipv4_name(const guint addr, const gchar *name, const gboolean static_entry);