dns_cache_query

March 26, 2020 Contributors

This struct is defined as follows:

typedef struct _dns_cache_query {
  u_int8_t query_type;
  union _dns_cache_query_query {
    char *name;
    struct in_addr ip4;
    struct in6_addr ip6;
  } query;
} dns_cache_query;

To use this struct, include the file dns-cache.h.

See Also

“dns_cache_cachenode”, dns_cache_free_node, dns_cache_lookup_wait, dns_cache_submit2, dns_cache_lookup, and dns_get_domain.