Home
last modified time | relevance | path

Searched refs:uv_ip4_addr (Results 1 – 25 of 98) sorted by relevance

1234

/libuv/test/
H A Dtest-ip4-addr.c38 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
39 ASSERT_OK(uv_ip4_addr("255.255.255.255", TEST_PORT, &addr)); in TEST_IMPL()
40 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("255.255.255*000", TEST_PORT, &addr)); in TEST_IMPL()
41 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("255.255.255.256", TEST_PORT, &addr)); in TEST_IMPL()
42 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("2555.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
43 ASSERT_EQ(UV_EINVAL, uv_ip4_addr("255", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-bind-error.c57 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
60 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT + 1, &addr)); in TEST_IMPL()
85 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
118 ASSERT_OK(uv_ip4_addr("127.255.255.255", TEST_PORT, &addr)); in TEST_IMPL()
143 ASSERT_OK(uv_ip4_addr("4.4.4.4", TEST_PORT, &addr)); in TEST_IMPL()
193 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr1)); in TEST_IMPL()
194 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT_2, &addr2)); in TEST_IMPL()
219 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
236 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
270 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-udp-reuseport.c38 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr1)); in TEST_IMPL()
39 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT_2, &addr2)); in TEST_IMPL()
40 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT_3, &addr3)); in TEST_IMPL()
168 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in bind_socket_and_prepare_recv()
246 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-udp-connect.c110 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &lo_addr)); in TEST_IMPL()
127 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &tmp_addr)); in TEST_IMPL()
137 ASSERT_OK(uv_ip4_addr("8.8.8.8", TEST_PORT, &ext_addr)); in TEST_IMPL()
138 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &lo_addr)); in TEST_IMPL()
H A Dtest-tcp-create-socket-early.c64 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in tcp_listener()
81 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in tcp_connector()
101 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
147 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-getnameinfo.c56 r = uv_ip4_addr(address_ip4, port, &addr4); in TEST_IMPL()
79 ASSERT_OK(uv_ip4_addr(address_ip4, port, &addr4)); in TEST_IMPL()
H A Dtest-udp-multicast-ttl.c65 ASSERT_OK(uv_ip4_addr("0.0.0.0", 0, &addr)); in TEST_IMPL()
74 ASSERT_OK(uv_ip4_addr("239.255.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-getsockname.c87 ASSERT_OK(uv_ip4_addr(compare_ip, compare_port, &compare_addr)); in check_sockname()
176 ASSERT_OK(uv_ip4_addr("0.0.0.0", server_port, &addr)); in tcp_listener()
217 ASSERT_OK(uv_ip4_addr("127.0.0.1", server_port, &server_addr)); in tcp_connector()
278 ASSERT_OK(uv_ip4_addr("0.0.0.0", server_port, &addr)); in udp_listener()
315 ASSERT_OK(uv_ip4_addr("127.0.0.1", server_port, &server_addr)); in udp_sender()
H A Dtest-udp-multicast-interface.c68 ASSERT_OK(uv_ip4_addr("239.255.0.1", TEST_PORT, &addr)); in TEST_IMPL()
73 ASSERT_OK(uv_ip4_addr("0.0.0.0", 0, &baddr)); in TEST_IMPL()
H A Dtest-udp-bind.c36 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
69 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-multiple-listen.c51 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
81 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in client_connect()
H A Dtest-udp-send-unreachable.c118 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
119 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT_2, &addr2)); in TEST_IMPL()
120 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT_3, &addr3)); in TEST_IMPL()
H A Dtest-connection-fail.c92 ASSERT_OK(uv_ip4_addr("0.0.0.0", 0, &client_addr)); in connection_fail()
95 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in connection_fail()
H A Dtest-tcp-try-write-error.c77 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
91 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-try-write.c103 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
117 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-alloc-cb-fail.c93 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
107 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-close.c83 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in start_server()
107 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-write-queue-order.c102 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
117 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-udp-send-immediate.c103 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
114 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-reuseport.c38 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
137 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in create_listener()
208 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-open.c242 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
320 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
341 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
380 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-read-stop-start.c110 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
122 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-udp-create-socket-early.c41 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
87 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
H A Dtest-tcp-write-in-a-row.c107 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
125 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
/libuv/docs/code/udp-dhcp/
H A Dmain.c110 uv_ip4_addr("0.0.0.0", 68, &recv_addr); in main()
116 uv_ip4_addr("0.0.0.0", 0, &broadcast_addr); in main()
124 uv_ip4_addr("255.255.255.255", 67, &send_addr); in main()

Completed in 75 milliseconds

1234