Searched refs:DNS__16BIT (Results 1 – 7 of 7) sorted by relevance
32 #define DNS__16BIT(p) ((unsigned short)((unsigned int) 0xffff & \ macro56 #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 …]
131 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()
141 uri_curr->priority = DNS__16BIT(vptr); in ares_parse_uri_reply()143 uri_curr->weight = DNS__16BIT(vptr); in ares_parse_uri_reply()
133 naptr_curr->order = DNS__16BIT(vptr); in ares_parse_naptr_reply()135 naptr_curr->preference = DNS__16BIT(vptr); in ares_parse_naptr_reply()
131 mx_curr->priority = DNS__16BIT(vptr); in ares_parse_mx_reply()
627 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()
4204 - ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitions