Searched refs:sscop_fd (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/ngatm/sscop/
H A Dsscop_main.c153 sscop_fd = 0;
195 sscop_fd = 1;
250 if ((sscop_h = poll_register(sscop_fd, proto_infunc,
254 if (evSelectFD(evctx, sscop_fd, EV_READ, proto_infunc, sscop, &sscop_h))
267 while (sscop_fd >= 0 && !ready) {
282 if (sscop_fd < 0) {
298 while (!sigusr1 && sscop_fd >= 0) {
310 if (sigusr1 && sscop_fd >= 0) {
315 while (!finished && sscop_fd >= 0) {
376 (void)close(sscop_fd);
[all...]
H A Dcommon.c61 int sscop_fd; variable
127 if ((size = read(sscop_fd, &flen, 4)) == -1)
138 size = read(sscop_fd, m->b_rptr + got, flen - got);
150 if ((size = read(sscop_fd, m->b_rptr, MAXMSG)) == -1)
162 (void)close(sscop_fd);
163 sscop_fd = -1;
269 if ((fl = fcntl(sscop_fd, F_GETFL, 0)) == -1)
272 if (fcntl(sscop_fd, F_SETFL, fl) == -1)
275 if ((size = writev(sscop_fd, iov, 2)) == -1)
282 if (fcntl(sscop_fd, F_SETF
[all...]
H A Dcommon.h55 extern int sscop_fd; /* file descriptor for SSCOP protocol */

Completed in 64 milliseconds