Lines Matching refs:rev
1130 dns_dispatchevent_t *rev;
1344 rev = allocate_event(resp->disp);
1345 if (rev == NULL) {
1351 * At this point, rev contains the event we want to fill in, and
1355 isc_buffer_init(&rev->buffer, ev->region.base, ev->region.length);
1356 isc_buffer_add(&rev->buffer, ev->n);
1357 rev->result = ev->result;
1358 rev->id = id;
1359 rev->addr = ev->address;
1360 rev->pktinfo = ev->pktinfo;
1361 rev->attributes = ev->attributes;
1363 ISC_LIST_APPEND(resp->items, rev, ev_link);
1365 ISC_EVENT_INIT(rev, sizeof(*rev), 0, NULL,
1370 rev, rev->buffer.base, rev->buffer.length,
1373 isc_task_send(resp->task, ISC_EVENT_PTR(&rev));
1421 dns_dispatchevent_t *rev;
1542 rev = allocate_event(disp);
1543 if (rev == NULL)
1547 * At this point, rev contains the event we want to fill in, and
1551 dns_tcpmsg_keepbuffer(tcpmsg, &rev->buffer);
1553 rev->result = ISC_R_SUCCESS;
1554 rev->id = id;
1555 rev->addr = tcpmsg->address;
1557 ISC_LIST_APPEND(resp->items, rev, ev_link);
1559 ISC_EVENT_INIT(rev, sizeof(*rev), 0, NULL, DNS_EVENT_DISPATCH,
1563 rev, rev->buffer.base, rev->buffer.length,
1566 isc_task_send(resp->task, ISC_EVENT_PTR(&rev));
2996 dns_dispatchevent_t *rev;
3005 rev = allocate_event(oldestresp->disp);
3006 if (rev != NULL) {
3007 rev->buffer.base = NULL;
3008 rev->result = ISC_R_CANCELED;
3009 rev->id = oldestresp->id;
3010 ISC_EVENT_INIT(rev, sizeof(*rev), 0,
3017 ISC_EVENT_PTR(&rev));