Searched refs:sstorage (Results 1 – 1 of 1) sorted by relevance
202 struct sockaddr_storage sstorage; in test_fd_tfo() local273 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 5 milliseconds