Lines Matching refs:sstorage
202 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()
292 if(!TEST_true(BIO_ADDR_rawmake(baddr, sstorage.ss_family, addr, addrlen, port))) in test_fd_tfo()
359 (struct sockaddr *)&sstorage, slen), 0)) { in test_fd_tfo()