Home
last modified time | relevance | path

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

/Linux-v5.4/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.c260 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
273 sockfd = socket(rp->ai_family, rp->ai_socktype, in usbip_net_tcp_connect()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c663 struct addrinfo hints = { .ai_family = do_ipv4 ? AF_INET : AF_INET6 }; in resolve_hostname()
673 if (!have_ipv4 && cur->ai_family == AF_INET) { in resolve_hostname()
678 else if (!have_ipv6 && cur->ai_family == AF_INET6) { in resolve_hostname()
688 if (do_ipv6 && hints.ai_family != AF_INET6) { in resolve_hostname()
689 hints.ai_family = AF_INET6; in resolve_hostname()
/Linux-v5.4/arch/um/drivers/
Dvector_user.c465 dsthints.ai_family = AF_INET6; in user_init_socket_fds()
467 dsthints.ai_family = AF_INET; in user_init_socket_fds()
497 fd = socket(gairesult->ai_family, in user_init_socket_fds()
/Linux-v5.4/tools/testing/vsock/
Dcontrol.c55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init()
/Linux-v5.4/tools/testing/selftests/bpf/
Dxdping.c90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
/Linux-v5.4/tools/testing/selftests/cgroup/
Dtest_memcontrol.c891 sk = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in tcp_client()
/Linux-v5.4/tools/hv/
Dhv_kvp_daemon.c1339 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()