Home
last modified time | relevance | path

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

/tools/usb/usbip/src/
Dusbipd.c348 static void addrinfo_to_text(struct addrinfo *ai, char buf[], in addrinfo_to_text() argument
357 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text()
368 struct addrinfo *ai; in listen_all_addrinfo() local
373 for (ai = ai_head; ai && nsockfd < maxsockfd; ai = ai->ai_next) { in listen_all_addrinfo()
376 addrinfo_to_text(ai, ai_buf, ai_buf_size); in listen_all_addrinfo()
378 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in listen_all_addrinfo()
398 ret = bind(sock, ai->ai_addr, ai->ai_addrlen); in listen_all_addrinfo()