Home
last modified time | relevance | path

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

/freebsd/tools/tools/netrate/netreceive/
H A Dnetreceive.c125 make_threads(int *s, int nsock, int nthreads) in make_threads() argument
127 int i, si, nt = nsock * nthreads; in make_threads()
146 if (++si == nsock) in make_threads()
157 main_thread(struct td_desc **tp, int nsock, int nthreads) in main_thread() argument
166 int i, nt = nsock * nthreads; in main_thread()
203 int nsock; in main() local
235 nsock = 0; in main()
236 for (res = res0; res && nsock < MAXSOCK; res = res->ai_next) { in main()
237 s[nsock] = socket(res->ai_family, res->ai_socktype, in main()
239 if (s[nsock] < 0) { in main()
[all …]
/freebsd/usr.bin/logger/
H A Dlogger.c88 ssize_t nsock; in main() local
155 nsock = socksetup(src, host, svcname, &socks); in main()
156 if (nsock <= 0) in main()
161 nsock = 0; in main()
169 if (nsock == 0) { in main()
207 socks, nsock, buf); in main()
212 socks, nsock, *argv++); in main()
221 logmessage(pri, timestamp, hostname, tag, socks, nsock, in main()
229 logmessage(pri, timestamp, hostname, tag, socks, nsock, in main()
242 ssize_t nsock = 0; in socksetup() local
[all …]
/freebsd/usr.sbin/inetd/
H A Dinetd.c267 static int nsock; variable
552 nsock++; in main()
561 if (nsock == 0) { in main()
1532 nsock++; in enable()
1560 if (nsock == 0) { in disable()
1564 nsock--; in disable()