/libuv/test/ |
H A D | test-ip4-addr.c | 38 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 D | test-tcp-bind-error.c | 57 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 D | test-udp-reuseport.c | 38 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 D | test-udp-connect.c | 110 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 D | test-tcp-create-socket-early.c | 64 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 D | test-getnameinfo.c | 56 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 D | test-udp-multicast-ttl.c | 65 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 D | test-getsockname.c | 87 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 D | test-udp-multicast-interface.c | 68 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 D | test-udp-bind.c | 36 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 D | test-multiple-listen.c | 51 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 D | test-udp-send-unreachable.c | 118 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 D | test-connection-fail.c | 92 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 D | test-tcp-try-write-error.c | 77 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 D | test-tcp-try-write.c | 103 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 D | test-tcp-alloc-cb-fail.c | 93 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 D | test-tcp-close.c | 83 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 D | test-tcp-write-queue-order.c | 102 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 D | test-udp-send-immediate.c | 103 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 D | test-tcp-reuseport.c | 38 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 D | test-tcp-open.c | 242 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 D | test-tcp-read-stop-start.c | 110 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 D | test-udp-create-socket-early.c | 41 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 D | test-tcp-write-in-a-row.c | 107 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 D | main.c | 110 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()
|