Searched refs:nsockfd (Results 1 – 1 of 1) sorted by relevance
356 int ret, nsockfd = 0; in listen_all_addrinfo() local358 for (ai = ai_head; ai && nsockfd < MAXSOCKFD; ai = ai->ai_next) { in listen_all_addrinfo()359 sockfdlist[nsockfd] = socket(ai->ai_family, ai->ai_socktype, in listen_all_addrinfo()361 if (sockfdlist[nsockfd] < 0) in listen_all_addrinfo()364 usbip_net_set_reuseaddr(sockfdlist[nsockfd]); in listen_all_addrinfo()365 usbip_net_set_nodelay(sockfdlist[nsockfd]); in listen_all_addrinfo()367 if (sockfdlist[nsockfd] >= FD_SETSIZE) { in listen_all_addrinfo()368 close(sockfdlist[nsockfd]); in listen_all_addrinfo()369 sockfdlist[nsockfd] = -1; in listen_all_addrinfo()373 ret = bind(sockfdlist[nsockfd], ai->ai_addr, ai->ai_addrlen); in listen_all_addrinfo()[all …]