Searched refs:GET16 (Results 1 – 2 of 2) sorted by relevance
38 #define GET16(pos) (((pos)[0] << 8) | (pos)[1]) macro58 questions = GET16(answer+4); in ans()60 answers = GET16(answer+6); in ans()68 if (GET16(pos) != wanted || GET16(pos+2) != C_IN) return TRY_OTHER; in ans()83 data_len = GET16(pos+8); in ans()86 if (GET16(data-10) != wanted || GET16(data-8) != C_IN || !--data_len) in ans()
982 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&t_, packet + j, 2); j += 2; x = ntohs(t… in name_parse() macro1050 GET16(trans_id); in reply_parse()1051 GET16(flags); in reply_parse()1052 GET16(questions); in reply_parse()1053 GET16(answers); in reply_parse()1054 GET16(authority); in reply_parse()1055 GET16(additional); in reply_parse()1120 GET16(type); in reply_parse()1121 GET16(class); in reply_parse()1123 GET16(datalength); in reply_parse()[all …]