Home
last modified time | relevance | path

Searched refs:sockname (Results 1 – 3 of 3) sorted by relevance

/libuv/test/
H A Dtest-getsockname.c131 namelen = sizeof sockname; in on_connection()
154 namelen = sizeof sockname; in on_connect()
196 memset(&sockname, -1, sizeof sockname); in tcp_listener()
197 namelen = sizeof sockname; in tcp_listener()
203 namelen = sizeof sockname; in tcp_listener()
214 struct sockaddr sockname; in tcp_connector() local
230 namelen = sizeof sockname; in tcp_connector()
244 struct sockaddr sockname; in udp_recv() local
255 memset(&sockname, -1, sizeof sockname); in udp_recv()
274 struct sockaddr sockname; in udp_listener() local
[all …]
H A Dtest-udp-create-socket-early.c36 struct sockaddr_in sockname; in TEST_IMPL() local
52 namelen = sizeof sockname; in TEST_IMPL()
53 r = uv_udp_getsockname(&client, (struct sockaddr*) &sockname, &namelen); in TEST_IMPL()
55 ASSERT_EQ(sockname.sin_family, AF_INET); in TEST_IMPL()
63 namelen = sizeof sockname; in TEST_IMPL()
64 r = uv_udp_getsockname(&client, (struct sockaddr*) &sockname, &namelen); in TEST_IMPL()
67 &sockname.sin_addr, in TEST_IMPL()
100 struct sockaddr_in6 sockname; in TEST_IMPL() local
101 namelen = sizeof sockname; in TEST_IMPL()
102 r = uv_udp_getsockname(&client, (struct sockaddr*) &sockname, &namelen); in TEST_IMPL()
[all …]
H A Dtest-tcp-create-socket-early.c96 struct sockaddr_in sockname; in TEST_IMPL() local
112 namelen = sizeof sockname; in TEST_IMPL()
113 r = uv_tcp_getsockname(&client, (struct sockaddr*) &sockname, &namelen); in TEST_IMPL()
115 ASSERT_EQ(sockname.sin_family, AF_INET); in TEST_IMPL()
123 namelen = sizeof sockname; in TEST_IMPL()
124 r = uv_tcp_getsockname(&client, (struct sockaddr*) &sockname, &namelen); in TEST_IMPL()
127 &sockname.sin_addr, in TEST_IMPL()
160 struct sockaddr_in6 sockname; in TEST_IMPL() local
161 namelen = sizeof sockname; in TEST_IMPL()
162 r = uv_tcp_getsockname(&client, (struct sockaddr*) &sockname, &namelen); in TEST_IMPL()
[all …]

Completed in 7 milliseconds