Searched refs:GET_16_BIT_U_INT (Results 1 – 4 of 4) sorted by relevance
8 #define GET_16_BIT_U_INT(ptr) (ntohs(*(int16_t *)(ptr))) macro15 #define DNSGetTCPLength(dns_over_tcp_ptr) GET_16_BIT_U_INT(dns_over_tcp_ptr)17 #define DNSGetQueryIdentifier(dns_body) GET_16_BIT_U_INT((char *)(dns_body))19 #define DNSGetFlags(dns_body) GET_16_BIT_U_INT((char *)(dns_body) + 2)21 #define DNSGetQuestionCount(dns_body) GET_16_BIT_U_INT((char *)(dns_body) + 4)23 #define DNSGetAnswerCount(dns_body) GET_16_BIT_U_INT((char *)(dns_body) + 6)25 #define DNSGetNameServerCount(dns_body) GET_16_BIT_U_INT((char *)(dns_body) + 8)27 #define DNSGetAdditionalCount(dns_body) GET_16_BIT_U_INT((char *)(dns_body) + 10)33 #define DNSGetResourceDataLength(ans_start_ptr) GET_16_BIT_U_INT(DNSJumpOverName(ans_start_ptr) + 8)44 …dType(rec_start_ptr) ((rec_start_ptr) == NULL ? DNS_TYPE_UNKNOWN : GET_16_BIT_U_INT(DNSJumpOverNa…[all …]
264 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_Question()317 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_CName()370 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_A()423 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_AAAA()464 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_EDns()523 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_RawData()616 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_CopyCName()674 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_CopyA()732 GET_16_BIT_U_INT(g->NumberOfRecords) + 1 in DnsGenerator_CopyAAAA()
552 GET_16_BIT_U_INT((const char *)Address), in IPv6AddressToAsc()553 GET_16_BIT_U_INT((const char *)Address + 2), in IPv6AddressToAsc()554 GET_16_BIT_U_INT((const char *)Address + 4), in IPv6AddressToAsc()555 GET_16_BIT_U_INT((const char *)Address + 6), in IPv6AddressToAsc()556 GET_16_BIT_U_INT((const char *)Address + 8), in IPv6AddressToAsc()557 GET_16_BIT_U_INT((const char *)Address + 10), in IPv6AddressToAsc()558 GET_16_BIT_U_INT((const char *)Address + 12), in IPv6AddressToAsc()559 GET_16_BIT_U_INT((const char *)Address + 14) in IPv6AddressToAsc()
894 u = GET_16_BIT_U_INT(Data); in DnsSimpleParserIterator_Parse16Uint()