Lines Matching refs:net_sin
373 net_sin(&srv_addr)->sin_port = htons(DST_PORT); in test_getpeername()
375 &net_sin(&srv_addr)->sin_addr); in test_getpeername()
462 net_sin(&srv_addr)->sin_port = htons(DST_PORT); in test_getsockname_tcp()
464 &net_sin(&srv_addr)->sin_addr); in test_getsockname_tcp()
531 net_sin(&srv_addr)->sin_port = htons(DST_PORT); in test_getsockname_udp()
533 &net_sin(&srv_addr)->sin_addr); in test_getsockname_udp()
598 net_sin(&srv_addr4)->sin_port = htons(MAPPING_PORT); in test_ipv4_mapped_to_ipv6_disabled()
600 &net_sin(&srv_addr4)->sin_addr); in test_ipv4_mapped_to_ipv6_disabled()
647 net_sin(&srv_addr4)->sin_port = htons(MAPPING_PORT); in test_ipv4_mapped_to_ipv6_enabled()
649 &net_sin(&srv_addr4)->sin_addr); in test_ipv4_mapped_to_ipv6_enabled()
731 net_sin(&srv_addr)->sin_port = htons(MAPPING_PORT); in test_ipv4_mapped_to_ipv6_server()
733 &net_sin(&srv_addr)->sin_addr); in test_ipv4_mapped_to_ipv6_server()
742 net_ipv6_addr_create_v4_mapped(&net_sin(&srv_addr)->sin_addr, in test_ipv4_mapped_to_ipv6_server()