Lines Matching defs:dev
48 isc_socketevent_t *dev;
51 dev = (isc_socketevent_t *)event;
56 dev->region.base, dev->region.length,
57 dev->n, dev->result);
59 if (dev->result != ISC_R_SUCCESS) {
64 isc_mem_put(mctx, dev->region.base, dev->region.length);
72 isc_socketevent_t *dev;
78 dev = (isc_socketevent_t *)event;
82 dev->region.base, dev->region.length,
83 dev->n, dev->result);
84 if (dev->address.type.sa.sa_family == AF_INET6) {
85 inet_ntop(AF_INET6, &dev->address.type.sin6.sin6_addr,
88 ntohs(dev->address.type.sin6.sin6_port));
90 inet_ntop(AF_INET, &dev->address.type.sin.sin_addr,
93 ntohs(dev->address.type.sin.sin_port));
96 if (dev->result != ISC_R_SUCCESS) {
99 isc_mem_put(mctx, dev->region.base,
100 dev->region.length);
111 region = dev->region;
113 (int)dev->n, (char *)region.base);
119 region = dev->region;
121 (int)dev->n, (char *)region.base);
124 isc_socket_recv(sock, &dev->region, 1, task, my_recv, event->ev_arg);
132 isc_socketevent_t *dev;
135 dev = (isc_socketevent_t *)event;
140 dev->region.base, dev->region.length,
141 dev->n, dev->result);
143 if (dev->result != ISC_R_SUCCESS) {
150 isc_socket_recv(sock, &dev->region, 1, task, my_recv, event->ev_arg);
158 isc_socket_connev_t *dev;
163 dev = (isc_socket_connev_t *)event;
166 dev->result);
168 if (dev->result != ISC_R_SUCCESS) {
193 isc_socket_newconnev_t *dev;
198 dev = (isc_socket_newconnev_t *)event;
201 name, task, event->ev_sender, dev->newsocket, dev->result);
204 if (dev->result == ISC_R_SUCCESS) {
222 isc_socket_recv(dev->newsocket, ®ion, 1,