Lines Matching refs:u16
136 #define u16 ev_uint16_t
187 u16 trans_id; /* the transaction id */
265 u16 type; /* The RR type */
266 u16 class; /* The RR class (usually CLASS_INET) */
269 u16 datalen; /* Length of data; -1 if data is a label */
282 u16 trans_id; /* Transaction id. */
403 static u16 transaction_id_pick(struct evdns_base *base);
469 request_find_from_trans_id(struct evdns_base *base, u16 trans_id) {
639 request_trans_id_set(struct request *const req, const u16 trans_id) {
641 *((u16 *) req->request) = htons(trans_id);
868 reply_handle(struct request *const req, u16 flags, u32 ttl, struct reply *reply) {
884 u16 error_code = (flags & 0x000f) - 1;
1019 u16 t_; /* used by the macros */
1024 u16 trans_id, questions, answers, authority, additional, datalength;
1025 u16 flags = 0;
1087 * <label:name><u16:type><u16:class>
1098 * <label:name><u16:type><u16:class><u32:ttl><u16:len><data...>
1102 u16 type, class;
1175 u16 type, class;
1221 u16 t_; /* used by the macros */
1225 u16 trans_id, flags, questions, answers, authority, additional;
1259 u16 type, class;
1319 static u16
1323 u16 trans_id;
1607 u16 t_;
1683 const u16 trans_id, const u16 type, const u16 class,
1686 u16 t_; /* used by the macros */
1812 item->datalen = (u16)-1;
1898 u16 t_;
1901 u16 flags;
2758 const u16 trans_id = issuing_now ? transaction_id_pick(base) : 0xffff;