Searched refs:ai (Results 1 – 4 of 4) sorted by relevance
/tools/testing/vsock/ |
D | control.c | 42 struct addrinfo *ai; in control_init() local 51 for (ai = result; ai; ai = ai->ai_next) { in control_init() 55 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in control_init() 60 if (connect(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init() 74 if (bind(fd, ai->ai_addr, ai->ai_addrlen) < 0) in control_init()
|
/tools/usb/usbip/src/ |
D | usbipd.c | 360 static void addrinfo_to_text(struct addrinfo *ai, char buf[], in addrinfo_to_text() argument 369 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text() 380 struct addrinfo *ai; in listen_all_addrinfo() local 385 for (ai = ai_head; ai && nsockfd < maxsockfd; ai = ai->ai_next) { in listen_all_addrinfo() 388 addrinfo_to_text(ai, ai_buf, ai_buf_size); in listen_all_addrinfo() 390 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in listen_all_addrinfo() 403 ret = bind(sock, ai->ai_addr, ai->ai_addrlen); in listen_all_addrinfo()
|
/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 881 struct addrinfo *ai; in tcp_client() local 887 ret = getaddrinfo(server, servport, NULL, &ai); in tcp_client() 891 sk = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in tcp_client() 895 ret = connect(sk, ai->ai_addr, ai->ai_addrlen); in tcp_client() 925 freeaddrinfo(ai); in tcp_client()
|
/tools/include/uapi/linux/ |
D | kvm.h | 644 #define KVM_S390_INT_IO(ai,cssid,ssid,schid) \ argument 648 ((ai) << 26))
|