Home
last modified time | relevance | path

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

/openssl/test/
H A Dbio_tfo_test.c202 struct sockaddr_storage sstorage; in test_fd_tfo() local
273 slen = sizeof(sstorage); in test_fd_tfo()
274 if (!TEST_int_ge(getsockname(afd, (struct sockaddr *)&sstorage, &slen), 0)) in test_fd_tfo()
277 switch (sstorage.ss_family) { in test_fd_tfo()
279 port = ((struct sockaddr_in *)&sstorage)->sin_port; in test_fd_tfo()
280 addr = &((struct sockaddr_in *)&sstorage)->sin_addr; in test_fd_tfo()
281 addrlen = sizeof(((struct sockaddr_in *)&sstorage)->sin_addr); in test_fd_tfo()
284 port = ((struct sockaddr_in6 *)&sstorage)->sin6_port; in test_fd_tfo()
285 addr = &((struct sockaddr_in6 *)&sstorage)->sin6_addr; in test_fd_tfo()
286 addrlen = sizeof(((struct sockaddr_in6 *)&sstorage)->sin6_addr); in test_fd_tfo()
[all …]

Completed in 24 milliseconds