Searched refs:ai_family (Results 1 – 13 of 13) sorted by relevance
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_inq.c | 99 hints.ai_family = pf; in sock_listen_mptcp() 105 hints.ai_family = pf; in sock_listen_mptcp() 108 sock = socket(a->ai_family, a->ai_socktype, proto_rx); in sock_listen_mptcp() 145 hints.ai_family = pf; in sock_connect_mptcp() 149 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
|
H A D | mptcp_sockopt.c | 186 hints.ai_family = pf; in sock_listen_mptcp() 192 hints.ai_family = pf; in sock_listen_mptcp() 195 sock = socket(a->ai_family, a->ai_socktype, IPPROTO_MPTCP); in sock_listen_mptcp() 232 hints.ai_family = pf; in sock_connect_mptcp() 236 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
|
H A D | mptcp_connect.c | 298 hints.ai_family = pf; in sock_listen_mptcp() 304 hints.ai_family = pf; in sock_listen_mptcp() 307 sock = socket(a->ai_family, a->ai_socktype, cfg_sock_proto); in sock_listen_mptcp() 364 hints.ai_family = pf; in sock_connect_mptcp() 368 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
|
/linux/tools/usb/usbip/src/ |
H A 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()
|
H A D | usbip_network.c | 268 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/tools/testing/selftests/net/ |
H A D | txtimestamp.c | 837 struct addrinfo hints = { .ai_family = do_ipv4 ? AF_INET : AF_INET6 }; in resolve_hostname() 847 if (!have_ipv4 && cur->ai_family == AF_INET) { in resolve_hostname() 852 else if (!have_ipv6 && cur->ai_family == AF_INET6) { in resolve_hostname() 862 if (do_ipv6 && hints.ai_family != AF_INET6) { in resolve_hostname() 863 hints.ai_family = AF_INET6; in resolve_hostname()
|
H A D | cmsg_sender.c | 452 hints.ai_family = opt.sock.family; in main() 462 if (ai->ai_family == AF_INET6 && opt.sock.proto == IPPROTO_ICMP) in main() 465 fd = socket(ai->ai_family, opt.sock.type, opt.sock.proto); in main()
|
H A D | bind_bhash.c | 42 hint.ai_family = domain; in bind_socket()
|
/linux/tools/testing/vsock/ |
H A D | control.c | 55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init()
|
/linux/tools/testing/selftests/bpf/ |
H A D | xdping.c | 90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
|
/linux/arch/um/drivers/ |
H A D | vector_user.c | 635 dsthints.ai_family = AF_INET6; in user_init_socket_fds() 637 dsthints.ai_family = AF_INET; in user_init_socket_fds() 667 fd = socket(gairesult->ai_family, in user_init_socket_fds()
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 1250 sk = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in tcp_client()
|
/linux/tools/hv/ |
H A D | hv_kvp_daemon.c | 1646 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()
|