diff options
Diffstat (limited to 'epan/addr_resolv.h')
-rw-r--r-- | epan/addr_resolv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/addr_resolv.h b/epan/addr_resolv.h index c60e2c5180..10f5cd6a94 100644 --- a/epan/addr_resolv.h +++ b/epan/addr_resolv.h @@ -60,6 +60,12 @@ typedef struct _e_addr_resolve { gboolean load_hosts_file_from_profile_only; /**< Whether to only load the hosts in the current profile, not hosts files */ } e_addr_resolve; +#define ADDR_RESOLV_MACADDR(at) \ + (((at)->type == AT_ETHER)) + +#define ADDR_RESOLV_NETADDR(at) \ + (((at)->type == AT_IPv4) || ((at)->type == AT_IPv6) || ((at)->type == AT_IPX)) + struct hashether; typedef struct hashether hashether_t; |