Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-getsockname.c82 struct sockaddr_in check_addr = *(struct sockaddr_in*) addr; in check_sockname() local
90 ASSERT_EQ(check_addr.sin_family, AF_INET); in check_sockname()
94 ASSERT_OK(memcmp(&check_addr.sin_addr, in check_sockname()
99 ASSERT(compare_port == 0 || check_addr.sin_port == compare_addr.sin_port); in check_sockname()
101 r = uv_ip4_name(&check_addr, (char*) check_ip, sizeof check_ip); in check_sockname()
104 printf("%s: %s:%d\n", context, check_ip, ntohs(check_addr.sin_port)); in check_sockname()

Completed in 3 milliseconds