Wireshark 4.5.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Classes | |
struct | _mmdb_lookup_t |
Typedefs | |
typedef struct _mmdb_lookup_t | mmdb_lookup_t |
Functions | |
WS_DLL_LOCAL void | maxmind_db_pref_init (module_t *nameres) |
WS_DLL_LOCAL void | maxmind_db_pref_cleanup (void) |
WS_DLL_LOCAL void | maxmind_db_pref_apply (void) |
WS_DLL_PUBLIC WS_RETNONNULL const mmdb_lookup_t * | maxmind_db_lookup_ipv4 (const ws_in4_addr *addr) |
WS_DLL_PUBLIC WS_RETNONNULL const mmdb_lookup_t * | maxmind_db_lookup_ipv6 (const ws_in6_addr *addr) |
WS_DLL_PUBLIC char * | maxmind_db_get_paths (void) |
WS_DLL_LOCAL bool | maxmind_db_lookup_process (void) |
WS_DLL_PUBLIC void | maxmind_db_set_synchrony (bool synchronous) |
Maxmind database support
Copyright 2018, Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
WS_DLL_PUBLIC char * maxmind_db_get_paths | ( | void | ) |
Get all configured paths
WS_DLL_PUBLIC WS_RETNONNULL const mmdb_lookup_t * maxmind_db_lookup_ipv4 | ( | const ws_in4_addr * | addr | ) |
Look up an IPv4 address in a database
addr | IPv4 address to look up |
WS_DLL_PUBLIC WS_RETNONNULL const mmdb_lookup_t * maxmind_db_lookup_ipv6 | ( | const ws_in6_addr * | addr | ) |
Look up an IPv6 address in a database
addr | IPv6 address to look up |
WS_DLL_LOCAL bool maxmind_db_lookup_process | ( | void | ) |
Process outstanding requests.
WS_DLL_LOCAL void maxmind_db_pref_cleanup | ( | void | ) |
Cleanup function called from prefs_cleanup
WS_DLL_LOCAL void maxmind_db_pref_init | ( | module_t * | nameres | ) |
Init / reset function called from prefs_reset
WS_DLL_PUBLIC void maxmind_db_set_synchrony | ( | bool | synchronous | ) |
Select whether lookups should be performed synchronously. Default is asynchronous lookups.
synchronous | Whether maxmind lookups should be synchronous. |
XXX - if we ever have per-session host name etc. information, we should probably have the "resolve synchronously or asynchronously" flag be per-session, set with an epan API.