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()
761 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&_t, packet + j, 2); j += 2; x = ntohs(_… in name_parse() macro826 GET16(trans_id); in reply_parse()827 GET16(flags); in reply_parse()828 GET16(questions); in reply_parse()829 GET16(answers); in reply_parse()830 GET16(authority); in reply_parse()831 GET16(additional); in reply_parse()886 GET16(type); in reply_parse()887 GET16(class); in reply_parse()889 GET16(datalength); in reply_parse()[all …]