|
#define | GETSHORT(s, cp) |
|
#define | GETLONG(l, cp) |
|
#define | RES_USE_DNSSEC 0 |
|
#define | RES_USE_EDNS0 0 |
|
#define | T_TLSA 52 |
|
#define | T_RRSIG 46 /* Avoid unknown RR in logs */ |
|
#define | T_DNAME 39 /* [RFC6672] */ |
|
#define | DNS_TLSA_USAGE_CA_CONSTRAINT 0 |
|
#define | DNS_TLSA_USAGE_SERVICE_CERTIFICATE_CONSTRAINT 1 |
|
#define | DNS_TLSA_USAGE_TRUST_ANCHOR_ASSERTION 2 |
|
#define | DNS_TLSA_USAGE_DOMAIN_ISSUED_CERTIFICATE 3 |
|
#define | DNS_TLSA_SELECTOR_FULL_CERTIFICATE 0 |
|
#define | DNS_TLSA_SELECTOR_SUBJECTPUBLICKEYINFO 1 |
|
#define | DNS_TLSA_MATCHING_TYPE_NO_HASH_USED 0 |
|
#define | DNS_TLSA_MATCHING_TYPE_SHA256 1 |
|
#define | DNS_TLSA_MATCHING_TYPE_SHA512 2 |
|
#define | T_TXT 16 |
|
#define | DNS_RR_EQ_SA(rr, sa) |
|
#define | dns_lookup(name, type, rflags, list, fqdn, why) |
|
#define | dns_lookup_r(name, type, rflags, list, fqdn, why, rcode) |
|
#define | dns_lookup_l(name, rflags, list, fqdn, why, lflags, ...) |
|
#define | dns_lookup_v(name, rflags, list, fqdn, why, lflags, ltype) |
|
#define | DNS_REQ_FLAG_STOP_OK (1<<0) |
|
#define | DNS_REQ_FLAG_STOP_INVAL (1<<1) |
|
#define | DNS_REQ_FLAG_STOP_NULLMX (1<<2) |
|
#define | DNS_REQ_FLAG_STOP_MX_POLICY (1<<3) |
|
#define | DNS_REQ_FLAG_NCACHE_TTL (1<<4) |
|
#define | DNS_REQ_FLAG_NONE (0) |
|
#define | DNS_RECURSE (-7) /* internal only: recursion needed */ |
|
#define | DNS_NOTFOUND (-6) /* query ok, data not found */ |
|
#define | DNS_NULLMX (-5) /* query ok, service unavailable */ |
|
#define | DNS_FAIL (-4) /* query failed, don't retry */ |
|
#define | DNS_INVAL (-3) /* query ok, malformed reply */ |
|
#define | DNS_RETRY (-2) /* query failed, try again */ |
|
#define | DNS_POLICY (-1) /* query ok, all records dropped */ |
|
#define | DNS_OK 0 /* query succeeded */ |
|
#define | DNS_NAME_LEN 1024 |
|
|
const char * | dns_strerror (unsigned) |
|
const char * | dns_strtype (unsigned) |
|
unsigned | dns_type (const char *) |
|
char * | dns_strrecord (VSTRING *, DNS_RR *) |
|
DNS_RR * | dns_rr_create (const char *, const char *, ushort, ushort, unsigned, unsigned, const char *, size_t) |
|
void | dns_rr_free (DNS_RR *) |
|
DNS_RR * | dns_rr_copy (DNS_RR *) |
|
DNS_RR * | dns_rr_append (DNS_RR *, DNS_RR *) |
|
DNS_RR * | dns_rr_sort (DNS_RR *, int(*)(DNS_RR *, DNS_RR *)) |
|
int | dns_rr_compare_pref_ipv6 (DNS_RR *, DNS_RR *) |
|
int | dns_rr_compare_pref_ipv4 (DNS_RR *, DNS_RR *) |
|
int | dns_rr_compare_pref_any (DNS_RR *, DNS_RR *) |
|
int | dns_rr_compare_pref (DNS_RR *, DNS_RR *) |
|
DNS_RR * | dns_rr_shuffle (DNS_RR *) |
|
DNS_RR * | dns_rr_remove (DNS_RR *, DNS_RR *) |
|
const char * | dns_rr_to_pa (DNS_RR *, MAI_HOSTADDR_STR *) |
|
DNS_RR * | dns_sa_to_rr (const char *, unsigned, struct sockaddr *) |
|
int | dns_rr_to_sa (DNS_RR *, unsigned, struct sockaddr *, SOCKADDR_SIZE *) |
|
int | dns_rr_eq_sa (DNS_RR *, struct sockaddr *) |
|
int | dns_lookup_x (const char *, unsigned, unsigned, DNS_RR **, VSTRING *, VSTRING *, int *, unsigned) |
|
int | dns_lookup_rl (const char *, unsigned, DNS_RR **, VSTRING *, VSTRING *, int *, int,...) |
|
int | dns_lookup_rv (const char *, unsigned, DNS_RR **, VSTRING *, VSTRING *, int *, int, unsigned *) |
|
void | dns_rr_filter_compile (const char *, const char *) |
|
const char * | dns_str_resflags (unsigned long) |
|