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

/external/ppp/pppd/plugins/pppoatm/
H A Dans.c38 #define GET16(pos) (((pos)[0] << 8) | (pos)[1]) macro
58 questions = GET16(answer+4);
60 answers = GET16(answer+6);
68 if (GET16(pos) != wanted || GET16(pos+2) != C_IN) return TRY_OTHER;
83 data_len = GET16(pos+8);
86 if (GET16(data-10) != wanted || GET16(data-8) != C_IN || !--data_len)
/external/chromium/third_party/libevent/
H A Devdns.c761 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&_t, packet + j, 2); j += 2; x = ntohs(_t); } while(0) macro
826 GET16(trans_id);
827 GET16(flags);
828 GET16(questions);
829 GET16(answers);
830 GET16(authority);
831 GET16(additional);
886 GET16(type);
887 GET16(class);
889 GET16(datalengt
1037 #undef GET16 macro
[all...]

Completed in 488 milliseconds