Lines Matching refs:peer_addr
72 struct sockaddr peer_addr; variable
493 &peer_addr); in test_address_setup()
709 params.family = peer_addr.sa_family; in ZTEST()
712 &net_sin(&peer_addr)->sin_addr); in ZTEST()
715 &net_sin6(&peer_addr)->sin6_addr); in ZTEST()
761 zassert_equal(params.family, peer_addr.sa_family, in ZTEST()
763 peer_addr.sa_family, params.family); in ZTEST()
766 &net_sin(&peer_addr)->sin_addr, in ZTEST()
771 &net_sin6(&peer_addr)->sin6_addr, in ZTEST()
825 params.family = peer_addr.sa_family; in ZTEST()
828 &net_sin(&peer_addr)->sin_addr); in ZTEST()
833 &net_sin(&peer_addr)->sin_addr); in ZTEST()
837 &net_sin6(&peer_addr)->sin6_addr); in ZTEST()
842 &net_sin6(&peer_addr)->sin6_addr); in ZTEST()
956 memcpy(&dst_addr, &peer_addr, sizeof(dst_addr)); in test_virtual_recv_data_from_tunnel()
957 memcpy(&src_addr, &peer_addr, sizeof(src_addr)); in test_virtual_recv_data_from_tunnel()
960 if (peer_addr.sa_family == AF_INET) { in test_virtual_recv_data_from_tunnel()
963 outerv4 = &net_sin(&peer_addr)->sin_addr; in test_virtual_recv_data_from_tunnel()
967 outerv6 = &net_sin6(&peer_addr)->sin6_addr; in test_virtual_recv_data_from_tunnel()
980 if (peer_addr.sa_family == AF_INET) { in test_virtual_recv_data_from_tunnel()
1047 if (peer_addr.sa_family == AF_INET) { in test_virtual_recv_data_from_tunnel()
1071 if (peer_addr.sa_family == AF_INET) { in test_virtual_recv_data_from_tunnel()