Searched refs:udp (Results 1 – 11 of 11) sorted by relevance
/libuv/test/ |
H A D | benchmark-ping-udp.c | 34 uv_udp_t udp; member 82 r = uv_udp_try_send(&pinger->udp, &buf, 1, in pinger_write_ping() 88 static void pinger_read_cb(uv_udp_t* udp, in pinger_read_cb() argument 95 pinger = (pinger_t*)udp->data; in pinger_read_cb() 107 uv_close((uv_handle_t*)udp, pinger_close_cb); in pinger_read_cb() 127 r = uv_udp_init(loop, &pinger->udp); in udp_pinger_new() 129 r = uv_udp_bind(&pinger->udp, (const struct sockaddr*) &pinger->server_addr, 0); in udp_pinger_new() 132 pinger->udp.data = pinger; in udp_pinger_new() 135 if (0 != uv_udp_recv_start(&pinger->udp, buf_alloc, pinger_read_cb)) { in udp_pinger_new()
|
H A D | test-socket-buffer-size.c | 29 static uv_udp_t udp; variable 66 ASSERT_OK(uv_udp_init(uv_default_loop(), &udp)); in TEST_IMPL() 67 ASSERT_OK(uv_udp_bind(&udp, (struct sockaddr*) &addr, 0)); in TEST_IMPL() 68 check_buffer_size((uv_handle_t*) &udp); in TEST_IMPL() 69 uv_close((uv_handle_t*) &udp, close_cb); in TEST_IMPL()
|
H A D | test-handle-fileno.c | 52 uv_udp_t udp; in TEST_IMPL() local 79 r = uv_udp_init(loop, &udp); in TEST_IMPL() 81 r = uv_fileno((uv_handle_t*) &udp, &fd); in TEST_IMPL() 83 r = uv_udp_bind(&udp, (const struct sockaddr*) &addr, 0); in TEST_IMPL() 85 r = uv_fileno((uv_handle_t*) &udp, &fd); in TEST_IMPL() 87 uv_close((uv_handle_t*) &udp, NULL); in TEST_IMPL() 88 r = uv_fileno((uv_handle_t*) &udp, &fd); in TEST_IMPL()
|
H A D | test-getsockname.c | 39 static uv_udp_t udp; variable 257 r = uv_udp_getsockname(&udp, &sockname, &namelen); in udp_recv() 262 uv_close((uv_handle_t*) &udp, NULL); in udp_recv() 311 r = uv_udp_init(loop, &udp); in udp_sender() 318 &udp, in udp_sender() 357 ASSERT_OK(udp.send_queue_size); in TEST_IMPL()
|
/libuv/ |
H A D | Makefile.am | 88 src/win/udp.c \ 117 src/unix/udp.c 308 test/test-udp-bind.c \ 309 test/test-udp-connect.c \ 310 test/test-udp-connect6.c \ 313 test/test-udp-ipv6.c \ 314 test/test-udp-mmsg.c \ 320 test/test-udp-open.c \ 321 test/test-udp-options.c \ 327 test/test-udp-try-send.c \ [all …]
|
H A D | CMakeLists.txt | 222 src/win/udp.c 254 src/unix/udp.c) 511 test/benchmark-ping-udp.c 518 test/benchmark-udp-pummel.c 681 test/test-udp-bind.c 682 test/test-udp-connect.c 683 test/test-udp-connect6.c 686 test/test-udp-ipv6.c 687 test/test-udp-mmsg.c 693 test/test-udp-open.c [all …]
|
H A D | ChangeLog | 66 * udp,unix: fix sendmsg use-after-free (Geddy) 168 * test: handle zero-length udp datagram (Ben Noordhuis) 242 * darwin: add udp mmsg support (Raihaan Shouhell) 593 * win: optimize udp receive performance (ywave620) 906 * udp,win: fix UDP compiler warning (Jameson Nash) 1003 * test: fix benchmark-ping-udp (Ryan Liptak) 1140 * bsd,windows,zos: fix udp disconnect EINVAL (deal) 1173 * test: fix test-udp-send-unreachable (Ondřej Surý) 1433 * test: add udp-mmsg test (Ryan Liptak) 1965 * unix,udp: ensure addr is non-null (Jameson Nash) [all …]
|
/libuv/docs/src/ |
H A D | api.rst | 26 udp
|
/libuv/docs/code/ |
H A D | CMakeLists.txt | 25 udp-dhcp
|
/libuv/docs/src/guide/ |
H A D | networking.rst | 108 You will have to run `udp-dhcp` as **root** since it uses well known port 111 .. rubric:: udp-dhcp/main.c - Setup and send UDP packets 112 .. literalinclude:: ../../code/udp-dhcp/main.c 147 .. rubric:: udp-dhcp/main.c - Reading packets 148 .. literalinclude:: ../../code/udp-dhcp/main.c
|
/libuv/include/ |
H A D | uv.h | 177 XX(UDP, udp) \
|
Completed in 33 milliseconds