Home
last modified time | relevance | path

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

/linux-6.1.9/tools/usb/usbip/src/
Dusbipd.c381 int ret, nsockfd = 0; in listen_all_addrinfo() local
385 for (ai = ai_head; ai && nsockfd < maxsockfd; ai = ai->ai_next) { in listen_all_addrinfo()
420 sockfdlist[nsockfd++] = sock; in listen_all_addrinfo()
423 return nsockfd; in listen_all_addrinfo()
495 int nsockfd, family; in do_standalone_mode() local
535 nsockfd = listen_all_addrinfo(ai_head, sockfdlist, in do_standalone_mode()
538 if (nsockfd <= 0) { in do_standalone_mode()
544 dbg("listening on %d address%s", nsockfd, (nsockfd == 1) ? "" : "es"); in do_standalone_mode()
546 fds = calloc(nsockfd, sizeof(struct pollfd)); in do_standalone_mode()
547 for (i = 0; i < nsockfd; i++) { in do_standalone_mode()
[all …]