Lines Matching refs:recv_cb
85 handle->recv_cb = NULL; in uv__udp_finish_close()
191 handle->recv_cb(handle, 0, buf, NULL, 0); in uv__udp_recvmmsg()
193 handle->recv_cb(handle, UV__ERR(errno), buf, NULL, 0); in uv__udp_recvmmsg()
196 for (k = 0; k < (size_t) nread && handle->recv_cb != NULL; k++) { in uv__udp_recvmmsg()
202 handle->recv_cb(handle, in uv__udp_recvmmsg()
210 if (handle->recv_cb != NULL) in uv__udp_recvmmsg()
211 handle->recv_cb(handle, 0, buf, NULL, UV_UDP_MMSG_FREE); in uv__udp_recvmmsg()
227 assert(handle->recv_cb != NULL); in uv__udp_recvmsg()
239 handle->recv_cb(handle, UV_ENOBUFS, &buf, NULL, 0); in uv__udp_recvmsg()
265 handle->recv_cb(handle, 0, &buf, NULL, 0); in uv__udp_recvmsg()
267 handle->recv_cb(handle, UV__ERR(errno), &buf, NULL, 0); in uv__udp_recvmsg()
274 handle->recv_cb(handle, nread, &buf, (const struct sockaddr*) &peer, flags); in uv__udp_recvmsg()
282 && handle->recv_cb != NULL); in uv__udp_recvmsg()
1041 handle->recv_cb = NULL; in uv__udp_init_ex()
1370 uv_udp_recv_cb recv_cb) { in uv__udp_recv_start() argument
1373 if (alloc_cb == NULL || recv_cb == NULL) in uv__udp_recv_start()
1384 handle->recv_cb = recv_cb; in uv__udp_recv_start()
1400 handle->recv_cb = NULL; in uv__udp_recv_stop()