Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c98 hints.ai_family = pf; in sock_listen_mptcp()
104 hints.ai_family = pf; in sock_listen_mptcp()
107 sock = socket(a->ai_family, a->ai_socktype, proto_rx); in sock_listen_mptcp()
144 hints.ai_family = pf; in sock_connect_mptcp()
148 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
Dmptcp_sockopt.c146 hints.ai_family = pf; in sock_listen_mptcp()
152 hints.ai_family = pf; in sock_listen_mptcp()
155 sock = socket(a->ai_family, a->ai_socktype, IPPROTO_MPTCP); in sock_listen_mptcp()
192 hints.ai_family = pf; in sock_connect_mptcp()
196 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
Dmptcp_connect.c281 hints.ai_family = pf; in sock_listen_mptcp()
287 hints.ai_family = pf; in sock_listen_mptcp()
290 sock = socket(a->ai_family, a->ai_socktype, cfg_sock_proto); in sock_listen_mptcp()
342 hints.ai_family = pf; in sock_connect_mptcp()
346 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
/linux-6.1.9/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()
/linux-6.1.9/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()
Dcmsg_sender.c431 hints.ai_family = opt.sock.family; in main()
441 if (ai->ai_family == AF_INET6 && opt.sock.proto == IPPROTO_ICMP) in main()
444 fd = socket(ai->ai_family, opt.sock.type, opt.sock.proto); in main()
Dbind_bhash.c42 hint.ai_family = domain; in bind_socket()
/linux-6.1.9/tools/testing/vsock/
Dcontrol.c55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init()
/linux-6.1.9/tools/testing/selftests/bpf/
Dxdping.c90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
/linux-6.1.9/arch/um/drivers/
Dvector_user.c554 dsthints.ai_family = AF_INET6; in user_init_socket_fds()
556 dsthints.ai_family = AF_INET; in user_init_socket_fds()
586 fd = socket(gairesult->ai_family, in user_init_socket_fds()
/linux-6.1.9/tools/testing/selftests/cgroup/
Dtest_memcontrol.c962 sk = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in tcp_client()
/linux-6.1.9/tools/hv/
Dhv_kvp_daemon.c1339 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()