Home
last modified time | relevance | path

Searched refs:uv_udp_bind (Results 1 – 25 of 34) sorted by relevance

12

/third_party/libuv/test/
Dtest-udp-bind.c46 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
49 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
79 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
82 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
Dtest-udp-create-socket-early.c58 r = uv_udp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
106 r = uv_udp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-send-unreachable.c131 r = uv_udp_bind(&client, (const struct sockaddr*) &addr2, 0); in TEST_IMPL()
162 r = uv_udp_bind(&client2, in TEST_IMPL()
Dtest-socket-buffer-size.c67 ASSERT(0 == uv_udp_bind(&udp, (struct sockaddr*) &addr, 0)); in TEST_IMPL()
Dtest-udp-multicast-ttl.c66 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-multicast-interface6.c77 r = uv_udp_bind(&server, (const struct sockaddr*)&baddr, 0); in TEST_IMPL()
Dtest-udp-multicast-interface.c74 r = uv_udp_bind(&server, (const struct sockaddr*)&baddr, 0); in TEST_IMPL()
Dtest-udp-open.c156 r = uv_udp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
277 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-watcher-cross-stop.c85 ASSERT(0 == uv_udp_bind(&sockets[i], in TEST_IMPL()
Dtest-udp-try-send.c92 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-send-immediate.c108 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-mmsg.c118 ASSERT_EQ(0, uv_udp_bind(&recver, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
Dtest-udp-options.c43 r = uv_udp_bind(&h, addr, 0); in udp_options_test()
Dbenchmark-ping-udp.c129 r = uv_udp_bind(&pinger->udp, (const struct sockaddr*) &pinger->server_addr, 0); in udp_pinger_new()
Dtest-udp-multicast-join.c153 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-handle-fileno.c83 r = uv_udp_bind(&udp, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-alloc-cb-fail.c160 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-send-and-recv.c171 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-multicast-join6.c185 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
Dtest-udp-connect.c116 r = uv_udp_bind(&server, (const struct sockaddr*) &lo_addr, 0); in TEST_IMPL()
Dtest-udp-connect6.c119 r = uv_udp_bind(&server, (const struct sockaddr*) &lo_addr, 0); in TEST_IMPL()
Dbenchmark-udp-pummel.c177 ASSERT(0 == uv_udp_bind(&s->udp_handle, (const struct sockaddr*) &addr, 0)); in pummel()
Dtest-udp-ipv6.c159 r = uv_udp_bind(&server, (const struct sockaddr*) &addr6, bind_flags); in do_test()
/third_party/libuv/docs/code/udp-dhcp/
Dmain.c110 uv_udp_bind(&recv_socket, (const struct sockaddr *)&recv_addr, UV_UDP_REUSEADDR); in main()
116 uv_udp_bind(&send_socket, (const struct sockaddr *)&broadcast_addr, 0); in main()
/third_party/libuv/docs/src/
Dudp.rst23 Flags used in :c:func:`uv_udp_bind` and :c:type:`uv_udp_recv_cb`..
37 * uv_udp_bind.
178 .. c:function:: int uv_udp_bind(uv_udp_t* handle, const struct sockaddr* addr, unsigned int flags)
341 with :c:func:`uv_udp_bind` it will be bound to 0.0.0.0
395 with :c:func:`uv_udp_bind` it is bound to 0.0.0.0 (the "all interfaces"

12