Home
last modified time | relevance | path

Searched refs:uv_udp_t (Results 1 – 25 of 74) sorted by relevance

123

/third_party/node/deps/uv/src/unix/
Dudp.c49 static void uv__udp_run_completed(uv_udp_t* handle);
51 static void uv__udp_recvmsg(uv_udp_t* handle);
52 static void uv__udp_sendmsg(uv_udp_t* handle);
53 static int uv__udp_maybe_deferred_bind(uv_udp_t* handle,
61 static int uv__udp_recvmmsg(uv_udp_t* handle, uv_buf_t* buf);
62 static void uv__udp_sendmmsg(uv_udp_t* handle);
88 void uv__udp_close(uv_udp_t* handle) { in uv__udp_close()
99 void uv__udp_finish_close(uv_udp_t* handle) { in uv__udp_finish_close()
127 static void uv__udp_run_completed(uv_udp_t* handle) { in uv__udp_run_completed()
172 uv_udp_t* handle; in uv__udp_io()
[all …]
/third_party/libuv/src/unix/
Dudp.c49 static void uv__udp_run_completed(uv_udp_t* handle);
51 static void uv__udp_recvmsg(uv_udp_t* handle);
52 static void uv__udp_sendmsg(uv_udp_t* handle);
53 static int uv__udp_maybe_deferred_bind(uv_udp_t* handle,
61 static int uv__udp_recvmmsg(uv_udp_t* handle, uv_buf_t* buf);
62 static void uv__udp_sendmmsg(uv_udp_t* handle);
88 void uv__udp_close(uv_udp_t* handle) { in uv__udp_close()
99 void uv__udp_finish_close(uv_udp_t* handle) { in uv__udp_finish_close()
127 static void uv__udp_run_completed(uv_udp_t* handle) { in uv__udp_run_completed()
172 uv_udp_t* handle; in uv__udp_io()
[all …]
/third_party/libuv/src/win/
Dudp.c39 int uv_udp_getpeername(const uv_udp_t* handle, in uv_udp_getpeername()
51 int uv_udp_getsockname(const uv_udp_t* handle, in uv_udp_getsockname()
63 static int uv__udp_set_socket(uv_loop_t* loop, uv_udp_t* handle, SOCKET socket, in uv__udp_set_socket()
129 uv_udp_t* handle, in uv__udp_init_ex()
170 void uv__udp_close(uv_loop_t* loop, uv_udp_t* handle) { in uv__udp_close()
183 void uv__udp_endgame(uv_loop_t* loop, uv_udp_t* handle) { in uv__udp_endgame()
192 int uv_udp_using_recvmmsg(const uv_udp_t* handle) { in uv_udp_using_recvmmsg()
197 static int uv__udp_maybe_bind(uv_udp_t* handle, in uv__udp_maybe_bind()
267 static void uv__udp_queue_recv(uv_loop_t* loop, uv_udp_t* handle) { in uv__udp_queue_recv()
361 int uv__udp_recv_start(uv_udp_t* handle, uv_alloc_cb alloc_cb, in uv__udp_recv_start()
[all …]
/third_party/node/deps/uv/src/win/
Dudp.c39 int uv_udp_getpeername(const uv_udp_t* handle, in uv_udp_getpeername()
51 int uv_udp_getsockname(const uv_udp_t* handle, in uv_udp_getsockname()
63 static int uv__udp_set_socket(uv_loop_t* loop, uv_udp_t* handle, SOCKET socket, in uv__udp_set_socket()
129 uv_udp_t* handle, in uv__udp_init_ex()
170 void uv__udp_close(uv_loop_t* loop, uv_udp_t* handle) { in uv__udp_close()
183 void uv__udp_endgame(uv_loop_t* loop, uv_udp_t* handle) { in uv__udp_endgame()
192 int uv_udp_using_recvmmsg(const uv_udp_t* handle) { in uv_udp_using_recvmmsg()
197 static int uv__udp_maybe_bind(uv_udp_t* handle, in uv__udp_maybe_bind()
267 static void uv__udp_queue_recv(uv_loop_t* loop, uv_udp_t* handle) { in uv__udp_queue_recv()
361 int uv__udp_recv_start(uv_udp_t* handle, uv_alloc_cb alloc_cb, in uv__udp_recv_start()
[all …]
/third_party/libuv/test/
Dtest-udp-mmsg.c30 ASSERT((uv_udp_t*)(handle) == &recver || (uv_udp_t*)(handle) == &sender)
37 static uv_udp_t recver;
38 static uv_udp_t sender;
53 if (uv_udp_using_recvmmsg((uv_udp_t*)handle)) in alloc_cb()
71 static void recv_cb(uv_udp_t* handle, in recv_cb()
Dtest-udp-alloc-cb-fail.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
68 static void cl_recv_cb(uv_udp_t* handle, in cl_recv_cb()
109 static void sv_recv_cb(uv_udp_t* handle, in sv_recv_cb()
Dtest-udp-try-send.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
58 static void sv_recv_cb(uv_udp_t* handle, in sv_recv_cb()
Dtest-udp-send-and-recv.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
62 static void cl_recv_cb(uv_udp_t* handle, in cl_recv_cb()
116 static void sv_recv_cb(uv_udp_t* handle, in sv_recv_cb()
Dtest-udp-send-immediate.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
67 static void sv_recv_cb(uv_udp_t* handle, in sv_recv_cb()
Dtest-udp-multicast-ttl.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
Dtest-udp-multicast-interface6.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
Dtest-udp-multicast-interface.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
Dtest-udp-multicast-join.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
34 static uv_udp_t server;
35 static uv_udp_t client;
92 static void cl_recv_cb(uv_udp_t* handle, in cl_recv_cb()
Dtest-udp-ipv6.c34 ASSERT((uv_udp_t*)(handle) == &server \
35 || (uv_udp_t*)(handle) == &client \
41 static uv_udp_t client;
42 static uv_udp_t server;
109 static void ipv6_recv_fail(uv_udp_t* handle, in ipv6_recv_fail()
121 static void ipv6_recv_ok(uv_udp_t* handle, in ipv6_recv_ok()
Dtest-udp-multicast-join6.c31 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
46 static uv_udp_t server;
47 static uv_udp_t client;
104 static void cl_recv_cb(uv_udp_t* handle, in cl_recv_cb()
Dtest-udp-open.c99 static void recv_cb(uv_udp_t* handle, in recv_cb()
141 uv_udp_t client, client2; in TEST_IMPL()
197 uv_udp_t client; in TEST_IMPL()
224 uv_udp_t client; in TEST_IMPL()
255 uv_udp_t client; in TEST_IMPL()
256 uv_udp_t server; in TEST_IMPL()
307 uv_udp_t handle; in TEST_IMPL()
Dtest-udp-send-unreachable.c30 ASSERT((uv_udp_t*)(handle) == &client || (uv_udp_t*)(handle) == &client2)
32 static uv_udp_t client;
33 static uv_udp_t client2;
77 static void recv_cb(uv_udp_t* handle, in recv_cb()
Dtest-udp-connect.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
83 static void sv_recv_cb(uv_udp_t* handle, in sv_recv_cb()
Dtest-udp-connect6.c30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
32 static uv_udp_t server;
33 static uv_udp_t client;
83 static void sv_recv_cb(uv_udp_t* handle, in sv_recv_cb()
/third_party/node/deps/uv/src/
Duv-common.h159 uv_udp_t* handle,
163 int uv__udp_bind(uv_udp_t* handle,
168 int uv__udp_connect(uv_udp_t* handle,
172 int uv__udp_disconnect(uv_udp_t* handle);
174 int uv__udp_is_connected(uv_udp_t* handle);
177 uv_udp_t* handle,
184 int uv__udp_try_send(uv_udp_t* handle,
190 int uv__udp_recv_start(uv_udp_t* handle, uv_alloc_cb alloccb,
193 int uv__udp_recv_stop(uv_udp_t* handle);
/third_party/libuv/src/
Duv-common.h159 uv_udp_t* handle,
163 int uv__udp_bind(uv_udp_t* handle,
168 int uv__udp_connect(uv_udp_t* handle,
172 int uv__udp_disconnect(uv_udp_t* handle);
174 int uv__udp_is_connected(uv_udp_t* handle);
177 uv_udp_t* handle,
184 int uv__udp_try_send(uv_udp_t* handle,
190 int uv__udp_recv_start(uv_udp_t* handle, uv_alloc_cb alloccb,
193 int uv__udp_recv_stop(uv_udp_t* handle);
/third_party/libuv/docs/src/
Dudp.rst4 :c:type:`uv_udp_t` --- UDP handle
13 .. c:type:: uv_udp_t
75 .. c:type:: void (*uv_udp_recv_cb)(uv_udp_t* handle, ssize_t nread, const uv_buf_t* buf, const stru…
124 .. c:member:: size_t uv_udp_t.send_queue_size
129 .. c:member:: size_t uv_udp_t.send_queue_count
133 .. c:member:: uv_udp_t* uv_udp_send_t.handle
143 .. c:function:: int uv_udp_init(uv_loop_t* loop, uv_udp_t* handle)
148 .. c:function:: int uv_udp_init_ex(uv_loop_t* loop, uv_udp_t* handle, unsigned int flags)
162 .. c:function:: int uv_udp_open(uv_udp_t* handle, uv_os_sock_t sock)
178 .. c:function:: int uv_udp_bind(uv_udp_t* handle, const struct sockaddr* addr, unsigned int flags)
[all …]
/third_party/libuv/include/
Duv.h218 typedef struct uv_udp_s uv_udp_t; typedef
652 typedef void (*uv_udp_recv_cb)(uv_udp_t* handle,
677 uv_udp_t* handle;
682 UV_EXTERN int uv_udp_init(uv_loop_t*, uv_udp_t* handle);
683 UV_EXTERN int uv_udp_init_ex(uv_loop_t*, uv_udp_t* handle, unsigned int flags);
684 UV_EXTERN int uv_udp_open(uv_udp_t* handle, uv_os_sock_t sock);
685 UV_EXTERN int uv_udp_bind(uv_udp_t* handle,
688 UV_EXTERN int uv_udp_connect(uv_udp_t* handle, const struct sockaddr* addr);
690 UV_EXTERN int uv_udp_getpeername(const uv_udp_t* handle,
693 UV_EXTERN int uv_udp_getsockname(const uv_udp_t* handle,
[all …]
/third_party/node/deps/uv/include/
Duv.h218 typedef struct uv_udp_s uv_udp_t; typedef
652 typedef void (*uv_udp_recv_cb)(uv_udp_t* handle,
677 uv_udp_t* handle;
682 UV_EXTERN int uv_udp_init(uv_loop_t*, uv_udp_t* handle);
683 UV_EXTERN int uv_udp_init_ex(uv_loop_t*, uv_udp_t* handle, unsigned int flags);
684 UV_EXTERN int uv_udp_open(uv_udp_t* handle, uv_os_sock_t sock);
685 UV_EXTERN int uv_udp_bind(uv_udp_t* handle,
688 UV_EXTERN int uv_udp_connect(uv_udp_t* handle, const struct sockaddr* addr);
690 UV_EXTERN int uv_udp_getpeername(const uv_udp_t* handle,
693 UV_EXTERN int uv_udp_getsockname(const uv_udp_t* handle,
[all …]
/third_party/libuv/include/uv_ndk/
Duv.h218 typedef struct uv_udp_s uv_udp_t; typedef
640 typedef void (*uv_udp_recv_cb)(uv_udp_t* handle,
665 uv_udp_t* handle;
670 UV_EXTERN int uv_udp_init(uv_loop_t*, uv_udp_t* handle);
671 UV_EXTERN int uv_udp_init_ex(uv_loop_t*, uv_udp_t* handle, unsigned int flags);
672 UV_EXTERN int uv_udp_open(uv_udp_t* handle, uv_os_sock_t sock);
673 UV_EXTERN int uv_udp_bind(uv_udp_t* handle,
676 UV_EXTERN int uv_udp_connect(uv_udp_t* handle, const struct sockaddr* addr);
678 UV_EXTERN int uv_udp_getpeername(const uv_udp_t* handle,
681 UV_EXTERN int uv_udp_getsockname(const uv_udp_t* handle,
[all …]

123