Lines Matching defs:rev
1039 dns_dispatchevent_t *rev;
1254 rev = allocate_devent(resp->disp);
1255 if (rev == NULL) {
1261 * At this point, rev contains the event we want to fill in, and
1265 isc_buffer_init(&rev->buffer, ev->region.base, ev->region.length);
1266 isc_buffer_add(&rev->buffer, ev->n);
1267 rev->result = ev->result;
1268 rev->id = id;
1269 rev->addr = ev->address;
1270 rev->pktinfo = ev->pktinfo;
1271 rev->attributes = ev->attributes;
1273 ISC_LIST_APPEND(resp->items, rev, ev_link);
1275 ISC_EVENT_INIT(rev, sizeof(*rev), 0, NULL,
1280 rev, rev->buffer.base, rev->buffer.length,
1283 isc_task_send(resp->task, ISC_EVENT_PTR(&rev));
1330 dns_dispatchevent_t *rev;
1451 rev = allocate_devent(disp);
1452 if (rev == NULL)
1456 * At this point, rev contains the event we want to fill in, and
1460 dns_tcpmsg_keepbuffer(tcpmsg, &rev->buffer);
1462 rev->result = ISC_R_SUCCESS;
1463 rev->id = id;
1464 rev->addr = tcpmsg->address;
1466 ISC_LIST_APPEND(resp->items, rev, ev_link);
1468 ISC_EVENT_INIT(rev, sizeof(*rev), 0, NULL, DNS_EVENT_DISPATCH,
1472 rev, rev->buffer.base, rev->buffer.length,
1475 isc_task_send(resp->task, ISC_EVENT_PTR(&rev));
3223 dns_dispatchevent_t *rev;
3232 rev = allocate_devent(oldestresp->disp);
3233 if (rev != NULL) {
3234 rev->buffer.base = NULL;
3235 rev->result = ISC_R_CANCELED;
3236 rev->id = oldestresp->id;
3237 ISC_EVENT_INIT(rev, sizeof(*rev), 0,
3244 ISC_EVENT_PTR(&rev));