Skip to main content

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

Was this page helpful?