Home
last modified time | relevance | path

Searched refs:DNS__16BIT (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/cares/include/
Dares_dns.h32 #define DNS__16BIT(p) ((unsigned short)((unsigned int) 0xffff & \ macro
56 #define DNS__16BIT(p) ntohs(*(unsigned short*)(p))
63 #define DNS_HEADER_QID(h) DNS__16BIT(h)
72 #define DNS_HEADER_QDCOUNT(h) DNS__16BIT((h) + 4)
73 #define DNS_HEADER_ANCOUNT(h) DNS__16BIT((h) + 6)
74 #define DNS_HEADER_NSCOUNT(h) DNS__16BIT((h) + 8)
75 #define DNS_HEADER_ARCOUNT(h) DNS__16BIT((h) + 10)
93 #define DNS_QUESTION_TYPE(q) DNS__16BIT(q)
94 #define DNS_QUESTION_CLASS(q) DNS__16BIT((q) + 2)
101 #define DNS_RR_TYPE(r) DNS__16BIT(r)
[all …]
/third_party/node/deps/cares/src/lib/
Dares_parse_srv_reply.c131 srv_curr->priority = DNS__16BIT(vptr); in ares_parse_srv_reply()
133 srv_curr->weight = DNS__16BIT(vptr); in ares_parse_srv_reply()
135 srv_curr->port = DNS__16BIT(vptr); in ares_parse_srv_reply()
Dares_parse_uri_reply.c141 uri_curr->priority = DNS__16BIT(vptr); in ares_parse_uri_reply()
143 uri_curr->weight = DNS__16BIT(vptr); in ares_parse_uri_reply()
Dares_parse_naptr_reply.c133 naptr_curr->order = DNS__16BIT(vptr); in ares_parse_naptr_reply()
135 naptr_curr->preference = DNS__16BIT(vptr); in ares_parse_naptr_reply()
Dares_parse_mx_reply.c131 mx_curr->priority = DNS__16BIT(vptr); in ares_parse_mx_reply()
/third_party/node/deps/cares/src/tools/
Dadig.c627 printf("\t%d", (int)DNS__16BIT(aptr)); in display_rr()
730 printf("\t%d", (int)DNS__16BIT(aptr)); in display_rr()
731 printf(" %d", (int)DNS__16BIT(aptr + 2)); in display_rr()
732 printf(" %d", (int)DNS__16BIT(aptr + 4)); in display_rr()
746 printf("\t%d ", (int)DNS__16BIT(aptr)); in display_rr()
747 printf("%d \t\t", (int)DNS__16BIT(aptr+2)); in display_rr()
755 printf("\t%d", (int)DNS__16BIT(aptr)); /* order */ in display_rr()
756 printf(" %d\n", (int)DNS__16BIT(aptr + 2)); /* preference */ in display_rr()
/third_party/node/deps/cares/
DCHANGES4204 - ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitions