/libuv/src/unix/ |
H A D | udp.c | 85 handle->recv_cb = NULL; in uv__udp_finish_close() 191 handle->recv_cb(handle, 0, buf, NULL, 0); in uv__udp_recvmmsg() 202 handle->recv_cb(handle, in uv__udp_recvmmsg() 210 if (handle->recv_cb != NULL) in uv__udp_recvmmsg() 227 assert(handle->recv_cb != NULL); in uv__udp_recvmsg() 265 handle->recv_cb(handle, 0, &buf, NULL, 0); in uv__udp_recvmsg() 282 && handle->recv_cb != NULL); in uv__udp_recvmsg() 1041 handle->recv_cb = NULL; in uv__udp_init_ex() 1373 if (alloc_cb == NULL || recv_cb == NULL) in uv__udp_recv_start() 1384 handle->recv_cb = recv_cb; in uv__udp_recv_start() [all …]
|
/libuv/test/ |
H A D | test-udp-send-unreachable.c | 77 static void recv_cb(uv_udp_t* handle, in recv_cb() function 134 r = uv_udp_recv_start(&client, alloc_cb, recv_cb); in TEST_IMPL() 167 r = uv_udp_recv_start(&client2, alloc_cb, recv_cb); in TEST_IMPL()
|
H A D | test-watcher-cross-stop.c | 48 static void recv_cb(uv_udp_t* handle, in recv_cb() function 88 ASSERT_OK(uv_udp_recv_start(&sockets[i], alloc_cb, recv_cb)); in TEST_IMPL()
|
H A D | test-udp-open.c | 99 static void recv_cb(uv_udp_t* handle, in recv_cb() function 159 r = uv_udp_recv_start(&client, alloc_cb, recv_cb); in TEST_IMPL() 242 r = uv_udp_recv_start(&client, alloc_cb, recv_cb); in TEST_IMPL() 280 r = uv_udp_recv_start(&server, alloc_cb, recv_cb); in TEST_IMPL()
|
H A D | test-udp-mmsg.c | 71 static void recv_cb(uv_udp_t* handle, in recv_cb() function 120 ASSERT_OK(uv_udp_recv_start(&recver, alloc_cb, recv_cb)); in TEST_IMPL()
|
H A D | benchmark-udp-pummel.c | 109 static void recv_cb(uv_udp_t* handle, in recv_cb() function 178 ASSERT_OK(uv_udp_recv_start(&s->udp_handle, alloc_cb, recv_cb)); in pummel()
|
H A D | test-udp-ipv6.c | 145 static void do_test(uv_udp_recv_cb recv_cb, int bind_flags) { in do_test() argument 172 r = uv_udp_recv_start(&server, alloc_cb, recv_cb); in do_test()
|
H A D | test-ipc-send-recv.c | 88 static void recv_cb(uv_stream_t* handle, in recv_cb() function 168 r = uv_read_start((uv_stream_t*)&ctx.channel, alloc_cb, recv_cb); in connect_cb()
|
/libuv/src/win/ |
H A D | udp.c | 314 uv_udp_recv_cb recv_cb) { in uv__udp_recv_start() argument 332 handle->recv_cb = recv_cb; in uv__udp_recv_start() 432 handle->recv_cb(handle, uv_translate_sys_error(err), &buf, NULL, 0); in uv__process_udp_recv_req() 441 handle->recv_cb(handle, in uv__process_udp_recv_req() 461 handle->recv_cb(handle, UV_ENOBUFS, &buf, NULL, 0); in uv__process_udp_recv_req() 482 handle->recv_cb(handle, bytes, &buf, (const struct sockaddr*) &from, 0); in uv__process_udp_recv_req() 487 handle->recv_cb(handle, in uv__process_udp_recv_req() 494 handle->recv_cb(handle, 0, &buf, NULL, 0); in uv__process_udp_recv_req() 499 handle->recv_cb(handle, 0, &buf, NULL, 0); in uv__process_udp_recv_req() 503 handle->recv_cb(handle, uv_translate_sys_error(err), &buf, NULL, 0); in uv__process_udp_recv_req()
|
/libuv/docs/src/ |
H A D | migration_010_100.rst | 160 void recv_cb(uv_udp_t* handle, 178 void recv_cb(uv_udp_t* handle,
|
H A D | udp.rst | 49 * must not be freed by the recv_cb callback. 54 * that it should now be freed by the recv_cb callback. When this flag is set 429 … c:function:: int uv_udp_recv_start(uv_udp_t* handle, uv_alloc_cb alloc_cb, uv_udp_recv_cb recv_cb) 440 :param recv_cb: Callback to invoke with received data.
|
/libuv/src/ |
H A D | uv-common.c | 519 uv_udp_recv_cb recv_cb) { in uv_udp_recv_start() argument 520 if (handle->type != UV_UDP || alloc_cb == NULL || recv_cb == NULL) in uv_udp_recv_start() 523 return uv__udp_recv_start(handle, alloc_cb, recv_cb); in uv_udp_recv_start()
|
H A D | uv-common.h | 195 uv_udp_recv_cb recv_cb);
|
/libuv/include/uv/ |
H A D | unix.h | 301 uv_udp_recv_cb recv_cb; \
|
H A D | win.h | 471 uv_udp_recv_cb recv_cb; \
|
/libuv/include/ |
H A D | uv.h | 781 uv_udp_recv_cb recv_cb);
|
/libuv/ |
H A D | ChangeLog | 1381 * udp: add UV_UDP_MMSG_FREE recv_cb flag (Ryan Liptak)
|