Searched refs:ai_family (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/tools/testing/selftests/net/mptcp/ |
D | mptcp_inq.c | 98 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()
|
D | mptcp_sockopt.c | 146 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()
|
D | mptcp_connect.c | 281 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/ |
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 | 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-6.1.9/tools/testing/selftests/net/ |
D | txtimestamp.c | 808 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()
|
D | cmsg_sender.c | 431 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()
|
D | bind_bhash.c | 42 hint.ai_family = domain; in bind_socket()
|
/linux-6.1.9/tools/testing/vsock/ |
D | control.c | 55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | xdping.c | 90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
|
/linux-6.1.9/arch/um/drivers/ |
D | vector_user.c | 554 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/ |
D | test_memcontrol.c | 962 sk = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in tcp_client()
|
/linux-6.1.9/tools/hv/ |
D | hv_kvp_daemon.c | 1339 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()
|