Lines Matching defs:rev
1035 dns_dispatchevent_t *rev;
1259 rev = allocate_devent(resp->disp);
1260 if (rev == NULL) {
1266 * At this point, rev contains the event we want to fill in, and
1270 isc_buffer_init(&rev->buffer, ev->region.base, ev->region.length);
1271 isc_buffer_add(&rev->buffer, ev->n);
1272 rev->result = ev->result;
1273 rev->id = id;
1274 rev->addr = ev->address;
1275 rev->pktinfo = ev->pktinfo;
1276 rev->attributes = ev->attributes;
1278 ISC_LIST_APPEND(resp->items, rev, ev_link);
1280 ISC_EVENT_INIT(rev, sizeof(*rev), 0, NULL, DNS_EVENT_DISPATCH,
1284 rev, rev->buffer.base, rev->buffer.length,
1287 isc_task_send(resp->task, ISC_EVENT_PTR(&rev));
1335 dns_dispatchevent_t *rev;
1458 rev = allocate_devent(disp);
1459 if (rev == NULL) {
1464 * At this point, rev contains the event we want to fill in, and
1468 dns_tcpmsg_keepbuffer(tcpmsg, &rev->buffer);
1470 rev->result = ISC_R_SUCCESS;
1471 rev->id = id;
1472 rev->addr = tcpmsg->address;
1474 ISC_LIST_APPEND(resp->items, rev, ev_link);
1476 ISC_EVENT_INIT(rev, sizeof(*rev), 0, NULL, DNS_EVENT_DISPATCH,
1480 rev, rev->buffer.base, rev->buffer.length,
1483 isc_task_send(resp->task, ISC_EVENT_PTR(&rev));
2924 dns_dispatchevent_t *rev;
2933 rev = allocate_devent(oldestresp->disp);
2934 if (rev != NULL) {
2935 rev->buffer.base = NULL;
2936 rev->result = ISC_R_CANCELED;
2937 rev->id = oldestresp->id;
2938 ISC_EVENT_INIT(rev, sizeof(*rev), 0, NULL,
2945 ISC_EVENT_PTR(&rev));