Lines Matching refs:DNS__16BIT
32 #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)
102 #define DNS_RR_CLASS(r) DNS__16BIT((r) + 2)
104 #define DNS_RR_LEN(r) DNS__16BIT((r) + 8)