Home
last modified time | relevance | path

Searched refs:GET16 (Results 1 – 2 of 2) sorted by relevance

/external/ppp/pppd/plugins/pppoatm/
Dans.c38 #define GET16(pos) (((pos)[0] << 8) | (pos)[1]) macro
58 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()
/external/libevent/
Devdns.c965 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&t_, packet + j, 2); j += 2; x = ntohs(t… in name_parse() macro
1033 GET16(trans_id); in reply_parse()
1034 GET16(flags); in reply_parse()
1035 GET16(questions); in reply_parse()
1036 GET16(answers); in reply_parse()
1037 GET16(authority); in reply_parse()
1038 GET16(additional); in reply_parse()
1103 GET16(type); in reply_parse()
1104 GET16(class); in reply_parse()
1106 GET16(datalength); in reply_parse()
[all …]