Home
last modified time | relevance | path

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

/drivers/staging/usbip/userspace/src/
Dusbipd.c345 static int listen_all_addrinfo(struct addrinfo *ai_head, int sockfdlist[]) in listen_all_addrinfo() argument
350 for (ai = ai_head; ai && nsockfd < MAXSOCKFD; ai = ai->ai_next) { in listen_all_addrinfo()
393 struct addrinfo hints, *ai_head; in do_getaddrinfo() local
401 rc = getaddrinfo(host, USBIP_PORT_STRING, &hints, &ai_head); in do_getaddrinfo()
408 return ai_head; in do_getaddrinfo()
431 struct addrinfo *ai_head; in do_standalone_mode() local
456 ai_head = do_getaddrinfo(NULL, PF_UNSPEC); in do_standalone_mode()
457 if (!ai_head) { in do_standalone_mode()
464 nsockfd = listen_all_addrinfo(ai_head, sockfdlist); in do_standalone_mode()
467 freeaddrinfo(ai_head); in do_standalone_mode()
[all …]