Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c152 hints.ai_family = pf; in sock_listen_mptcp()
158 hints.ai_family = pf; in sock_listen_mptcp()
161 sock = socket(a->ai_family, a->ai_socktype, cfg_sock_proto); in sock_listen_mptcp()
204 hints.ai_family = AF_INET; in sock_test_tcpulp()
208 sock = socket(a->ai_family, a->ai_socktype, IPPROTO_TCP); in sock_test_tcpulp()
240 hints.ai_family = pf; in sock_connect_mptcp()
244 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
/kernel/linux/linux-5.10/tools/usb/usbip/src/
Dusbipd.c390 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in listen_all_addrinfo()
426 static struct addrinfo *do_getaddrinfo(char *host, int ai_family) in do_getaddrinfo() argument
432 hints.ai_family = ai_family; in do_getaddrinfo()
Dusbip_network.c268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
281 sockfd = socket(rp->ai_family, rp->ai_socktype, in usbip_net_tcp_connect()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtxtimestamp.c808 struct addrinfo hints = { .ai_family = do_ipv4 ? AF_INET : AF_INET6 }; in resolve_hostname()
818 if (!have_ipv4 && cur->ai_family == AF_INET) { in resolve_hostname()
823 else if (!have_ipv6 && cur->ai_family == AF_INET6) { in resolve_hostname()
833 if (do_ipv6 && hints.ai_family != AF_INET6) { in resolve_hostname()
834 hints.ai_family = AF_INET6; in resolve_hostname()
/kernel/linux/linux-5.10/tools/testing/vsock/
Dcontrol.c55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init()
/kernel/liteos_m/kal/libc/newlib/porting/include/
Dnetdb.h92 int ai_family; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dxdping.c90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_user.c553 dsthints.ai_family = AF_INET6; in user_init_socket_fds()
555 dsthints.ai_family = AF_INET; in user_init_socket_fds()
585 fd = socket(gairesult->ai_family, in user_init_socket_fds()
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
Dtest_memcontrol.c891 sk = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in tcp_client()
/kernel/linux/linux-5.10/tools/hv/
Dhv_kvp_daemon.c1339 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dapi_shell.c2487 hints_structure.ai_family = AF_INET6; in parse_args_ping6()