Home
last modified time | relevance | path

Searched refs:recv_cb (Results 1 – 17 of 17) sorted by relevance

/libuv/src/unix/
H A Dudp.c85 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 Dtest-udp-send-unreachable.c77 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 Dtest-watcher-cross-stop.c48 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 Dtest-udp-open.c99 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 Dtest-udp-mmsg.c71 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 Dbenchmark-udp-pummel.c109 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 Dtest-udp-ipv6.c145 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 Dtest-ipc-send-recv.c88 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 Dudp.c314 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 Dmigration_010_100.rst160 void recv_cb(uv_udp_t* handle,
178 void recv_cb(uv_udp_t* handle,
H A Dudp.rst49 * 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 Duv-common.c519 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 Duv-common.h195 uv_udp_recv_cb recv_cb);
/libuv/include/uv/
H A Dunix.h301 uv_udp_recv_cb recv_cb; \
H A Dwin.h471 uv_udp_recv_cb recv_cb; \
/libuv/include/
H A Duv.h781 uv_udp_recv_cb recv_cb);
/libuv/
H A DChangeLog1381 * udp: add UV_UDP_MMSG_FREE recv_cb flag (Ryan Liptak)

Completed in 60 milliseconds