Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-getsockname.c83 struct sockaddr_in compare_addr; in check_sockname() local
87 ASSERT_OK(uv_ip4_addr(compare_ip, compare_port, &compare_addr)); in check_sockname()
91 ASSERT_EQ(compare_addr.sin_family, AF_INET); in check_sockname()
95 &compare_addr.sin_addr, in check_sockname()
96 sizeof compare_addr.sin_addr)); in check_sockname()
99 ASSERT(compare_port == 0 || check_addr.sin_port == compare_addr.sin_port); in check_sockname()

Completed in 6 milliseconds