Searched refs:ai_family (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/tools/usb/usbip/src/ |
D | usbipd.c | 390 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()
|
D | usbip_network.c | 260 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/ |
D | txtimestamp.c | 663 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/ |
D | vector_user.c | 465 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/ |
D | control.c | 55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init()
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | xdping.c | 90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
|
/Linux-v5.4/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 891 sk = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in tcp_client()
|
/Linux-v5.4/tools/hv/ |
D | hv_kvp_daemon.c | 1339 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()
|