Home
last modified time | relevance | path

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

/openbmc/linux/tools/usb/usbip/src/
H A Dusbipd.c381 int ret, nsockfd = 0; in listen_all_addrinfo() local
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()
562 r = ppoll(fds, nsockfd, &timeout, &sigmask); in do_standalone_mode()
[all …]