Home
last modified time | relevance | path

Searched refs:dns_rr (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares_dns_record.c541 static void *ares_dns_rr_data_ptr(ares_dns_rr_t *dns_rr, ares_dns_rr_key_t key, in ares_dns_rr_data_ptr() argument
544 if (dns_rr == NULL || dns_rr->type != ares_dns_rr_key_to_rec_type(key)) { in ares_dns_rr_data_ptr()
550 return &dns_rr->r.a.addr; in ares_dns_rr_data_ptr()
553 return &dns_rr->r.ns.nsdname; in ares_dns_rr_data_ptr()
556 return &dns_rr->r.cname.cname; in ares_dns_rr_data_ptr()
559 return &dns_rr->r.soa.mname; in ares_dns_rr_data_ptr()
562 return &dns_rr->r.soa.rname; in ares_dns_rr_data_ptr()
565 return &dns_rr->r.soa.serial; in ares_dns_rr_data_ptr()
568 return &dns_rr->r.soa.refresh; in ares_dns_rr_data_ptr()
571 return &dns_rr->r.soa.retry; in ares_dns_rr_data_ptr()
[all …]
Dares_dns_private.h38 ares_status_t ares_dns_rr_set_str_own(ares_dns_rr_t *dns_rr,
40 ares_status_t ares_dns_rr_set_bin_own(ares_dns_rr_t *dns_rr,
43 ares_status_t ares_dns_rr_set_opt_own(ares_dns_rr_t *dns_rr,
/third_party/node/deps/cares/include/
Dares_dns_record.h730 CARES_EXTERN ares_status_t ares_dns_rr_set_addr(ares_dns_rr_t *dns_rr,
743 ares_dns_rr_set_addr6(ares_dns_rr_t *dns_rr, ares_dns_rr_key_t key,
754 CARES_EXTERN ares_status_t ares_dns_rr_set_str(ares_dns_rr_t *dns_rr,
766 CARES_EXTERN ares_status_t ares_dns_rr_set_u8(ares_dns_rr_t *dns_rr,
778 CARES_EXTERN ares_status_t ares_dns_rr_set_u16(ares_dns_rr_t *dns_rr,
790 CARES_EXTERN ares_status_t ares_dns_rr_set_u32(ares_dns_rr_t *dns_rr,
803 CARES_EXTERN ares_status_t ares_dns_rr_set_bin(ares_dns_rr_t *dns_rr,
817 CARES_EXTERN ares_status_t ares_dns_rr_set_opt(ares_dns_rr_t *dns_rr,
831 ares_dns_rr_get_addr(const ares_dns_rr_t *dns_rr, ares_dns_rr_key_t key);
841 ares_dns_rr_get_addr6(const ares_dns_rr_t *dns_rr, ares_dns_rr_key_t key);
[all …]