Home
last modified time | relevance | path

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

123

/libuv/src/unix/
H A Dudp.c45 static void uv__udp_recvmsg(uv_udp_t* handle);
46 static void uv__udp_sendmsg(uv_udp_t* handle);
52 void uv__udp_close(uv_udp_t* handle) { in uv__udp_close()
63 void uv__udp_finish_close(uv_udp_t* handle) { in uv__udp_finish_close()
136 uv_udp_t* handle; in uv__udp_io()
514 int uv__udp_bind(uv_udp_t* handle, in uv__udp_bind()
625 int uv__udp_connect(uv_udp_t* handle, in uv__udp_connect()
722 uv_udp_t* handle, in uv__udp_send()
787 int uv__udp_try_send(uv_udp_t* handle, in uv__udp_try_send()
1027 uv_udp_t* handle, in uv__udp_init_ex()
[all …]
/libuv/src/win/
H A Dudp.c34 int uv_udp_getpeername(const uv_udp_t* handle, in uv_udp_getpeername()
46 int uv_udp_getsockname(const uv_udp_t* handle, in uv_udp_getsockname()
124 uv_udp_t* handle, in uv__udp_init_ex()
344 int uv__udp_recv_stop(uv_udp_t* handle) { in uv__udp_recv_stop()
355 uv_udp_t* handle, in uv__send()
899 int uv__udp_is_bound(uv_udp_t* handle) { in uv__udp_is_bound()
1002 int uv__udp_bind(uv_udp_t* handle, in SOCKOPT_SETTER()
1016 int uv__udp_connect(uv_udp_t* handle, in uv__udp_connect()
1045 int uv__udp_disconnect(uv_udp_t* handle) { in uv__udp_disconnect()
1064 uv_udp_t* handle, in uv__udp_send()
[all …]
/libuv/test/
H A Dtest-udp-mmsg.c30 ASSERT_NE((uv_udp_t*)(handle) == &recver || (uv_udp_t*)(handle) == &sender, 0)
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()
H A Dtest-udp-try-send.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
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()
H A Dtest-udp-multicast-ttl.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
32 static uv_udp_t server;
33 static uv_udp_t client;
H A Dtest-udp-alloc-cb-fail.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
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()
H A Dtest-udp-send-immediate.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
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()
H A Dtest-udp-multicast-interface.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
32 static uv_udp_t server;
33 static uv_udp_t client;
H A Dtest-udp-multicast-interface6.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
32 static uv_udp_t server;
33 static uv_udp_t client;
H A Dtest-udp-send-and-recv.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
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()
H A Dtest-udp-multicast-join.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
34 static uv_udp_t server;
35 static uv_udp_t client;
91 static void cl_recv_cb(uv_udp_t* handle, in cl_recv_cb()
H A Dtest-udp-reuseport.c35 uv_udp_t handle1, handle2, handle3; in TEST_IMPL()
77 static uv_udp_t udp_send_handles[MAX_UDP_DATAGRAMS];
92 static uv_udp_t thread_handle1;
93 static uv_udp_t thread_handle2;
124 static void on_recv(uv_udp_t* handle, in on_recv()
164 static void bind_socket_and_prepare_recv(uv_loop_t* loop, uv_udp_t* handle) { in bind_socket_and_prepare_recv()
187 uv_udp_t* handle; in run_event_loop()
H A Dtest-udp-ipv6.c34 ASSERT_NE((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()
H A Dtest-udp-send-unreachable.c30 ASSERT_NE((uv_udp_t*)(handle) == &client || (uv_udp_t*)(handle) == &client2, 0)
32 static uv_udp_t client;
33 static uv_udp_t client2;
77 static void recv_cb(uv_udp_t* handle, in recv_cb()
H A Dtest-udp-multicast-join6.c31 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
45 static uv_udp_t server;
46 static uv_udp_t client;
103 static void cl_recv_cb(uv_udp_t* handle, in cl_recv_cb()
H A 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()
H A Dtest-udp-connect.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
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()
H A Dtest-udp-connect6.c30 ASSERT_NE((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client, 0)
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()
H A Dtest-watcher-cross-stop.c32 static uv_udp_t sockets[1250];
34 static uv_udp_t sockets[2500];
48 static void recv_cb(uv_udp_t* handle, in recv_cb()
H A Dtest-udp-recv-in-a-row.c29 static uv_udp_t server;
30 static uv_udp_t client;
48 static void sv_recv_cb(uv_udp_t* handle, in sv_recv_cb()
H A Dtest-udp-create-socket-early.c37 uv_udp_t client; in TEST_IMPL()
80 uv_udp_t client; in TEST_IMPL()
126 uv_udp_t client; in TEST_IMPL()
H A Dtest-udp-options.c33 uv_udp_t h; in udp_options_test()
116 uv_udp_t h; in TEST_IMPL()
117 uv_udp_t h2; in TEST_IMPL()
/libuv/src/
H A Duv-common.h163 uv_udp_t* handle,
167 int uv__udp_bind(uv_udp_t* handle,
172 int uv__udp_connect(uv_udp_t* handle,
176 int uv__udp_disconnect(uv_udp_t* handle);
178 int uv__udp_is_connected(uv_udp_t* handle);
181 uv_udp_t* handle,
188 int uv__udp_try_send(uv_udp_t* handle,
194 int uv__udp_recv_start(uv_udp_t* handle, uv_alloc_cb alloccb,
197 int uv__udp_recv_stop(uv_udp_t* handle);
/libuv/docs/src/
H A Dudp.rst4 :c:type:`uv_udp_t` --- UDP handle
13 .. c:type:: uv_udp_t
138 .. c:member:: size_t uv_udp_t.send_queue_size
143 .. c:member:: size_t uv_udp_t.send_queue_count
147 .. c:member:: uv_udp_t* uv_udp_send_t.handle
157 .. c:function:: int uv_udp_init(uv_loop_t* loop, uv_udp_t* handle)
176 .. c:function:: int uv_udp_open(uv_udp_t* handle, uv_os_sock_t sock)
349 .. c:function:: int uv_udp_set_broadcast(uv_udp_t* handle, int on)
362 .. c:function:: int uv_udp_set_ttl(uv_udp_t* handle, int ttl)
459 .. c:function:: int uv_udp_using_recvmmsg(uv_udp_t* handle)
[all …]
/libuv/docs/code/udp-dhcp/
H A Dmain.c9 uv_udp_t send_socket;
10 uv_udp_t recv_socket;
17 void on_read(uv_udp_t *req, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsign… in on_read()

Completed in 55 milliseconds

123