Home
last modified time | relevance | path

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

/external/dropbear/
Ddbutil.c191 unsigned int nsock; in dropbear_listen() local
233 nsock = 0; in dropbear_listen()
234 for (res = res0; res != NULL && nsock < sockcount; in dropbear_listen()
238 socks[nsock] = socket(res->ai_family, res->ai_socktype, in dropbear_listen()
241 sock = socks[nsock]; /* For clarity */ in dropbear_listen()
275 nsock++; in dropbear_listen()
283 if (nsock == 0) { in dropbear_listen()
294 TRACE(("leave dropbear_listen: success, %d socks bound", nsock)) in dropbear_listen()
295 return nsock; in dropbear_listen()
Dsvr-main.c400 int nsock; in listensockets() local
408 nsock = dropbear_listen(svr_opts.addresses[i], svr_opts.ports[i], &sock[sockpos], in listensockets()
412 if (nsock < 0) { in listensockets()
419 sockpos += nsock; in listensockets()