• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/

Lines Matching defs:trans_id

189 	u16 trans_id;  /* the transaction id */
280 u16 trans_id; /* Transaction id. */
304 * Each inflight request req is in req_heads[req->trans_id % n_req_heads].
479 request_find_from_trans_id(struct evdns_base *base, u16 trans_id) {
480 struct request *req = REQ_HEAD(base, trans_id);
487 if (req->trans_id == trans_id) return req;
638 request_trans_id_set(struct request *const req, const u16 trans_id) {
639 req->trans_id = trans_id;
640 *((u16 *) req->request) = htons(trans_id);
747 evdns_request_insert(req, &REQ_HEAD(base, req->trans_id));
924 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1);
931 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1);
1000 u16 trans_id, questions, answers, authority, additional, datalength;
1009 GET16(trans_id);
1018 req = request_find_from_trans_id(base, trans_id);
1201 u16 trans_id, flags, questions, answers, authority, additional;
1207 GET16(trans_id);
1224 server_req->trans_id = trans_id;
1299 u16 trans_id;
1300 evutil_secure_rng_get_bytes(&trans_id, sizeof(trans_id));
1302 if (trans_id == 0xffff) continue;
1304 if (request_find_from_trans_id(base, trans_id) == NULL)
1305 return trans_id;
1659 const u16 trans_id, const u16 type, const u16 class,
1664 APPEND16(trans_id);
1888 APPEND16(req->trans_id);
2160 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1);
2216 EVUTIL_ASSERT(req->trans_id != 0xffff);
2397 req->trans_id = 0;
2688 const u16 trans_id = issuing_now ? transaction_id_pick(base) : 0xffff;
2730 rlen = evdns_request_data_build(name, name_len, trans_id,
2736 req->trans_id = trans_id;
2763 evdns_request_insert(req, &REQ_HEAD(base, req->trans_id));
2800 request_finished(req, &REQ_HEAD(base, req->trans_id), 1);
3215 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 0);
3329 evdns_request_insert(req, &new_heads[req->trans_id % n_heads]);
3948 request_finished(base->req_heads[i], &REQ_HEAD(base, base->req_heads[i]->trans_id), 1);