Searched refs:ncc (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dglobal.c69 int pcc, ncc; variable
H A Dtelnetd.c1006 if (ncc < 0 && pcc < 0)
1026 if (pfrontp - pbackp || ncc > 0) {
1096 ncc = recv(net, netibuf, sizeof (netibuf), MSG_OOB);
1097 if ((ncc == -1) && (errno == EINVAL)) {
1098 ncc = read(net, netibuf, sizeof (netibuf));
1104 ncc = read(net, netibuf, sizeof (netibuf));
1107 ncc = read(net, netibuf, sizeof (netibuf));
1111 ncc = read(net, netibuf, sizeof (netibuf));
1113 if (ncc < 0 && errno == EWOULDBLOCK)
1114 ncc
[all...]
H A Ddefs.h79 ncc++; \
H A Dext.h72 extern int pcc, ncc;
H A Dutility.c62 ncc = read(net, netibuf, sizeof netibuf);
63 if (ncc < 0) {
68 } else if (ncc == 0) {
73 output_data("td: ttloop read %d chars\r\n", ncc);
77 if (ncc > 0) {
H A Dstate.c85 while (ncc > 0) {
88 c = *netip++ & 0377, ncc--;
/freebsd-13-stable/contrib/telnet/telnetd/
H A Dtelnetd.c961 if (ncc < 0 && pcc < 0)
976 if (pfrontp - pbackp || ncc > 0) {
1046 ncc = recv(net, netibuf, sizeof (netibuf), MSG_OOB);
1047 if ((ncc == -1) && (errno == EINVAL)) {
1048 ncc = read(net, netibuf, sizeof (netibuf));
1054 ncc = read(net, netibuf, sizeof (netibuf));
1057 ncc = read(net, netibuf, sizeof (netibuf));
1061 ncc = read(net, netibuf, sizeof (netibuf));
1063 if (ncc < 0 && errno == EWOULDBLOCK)
1064 ncc
[all...]
H A Dext.h77 EXTERN int pcc, ncc; variable
H A Dutility.c74 ncc = read(net, netibuf, sizeof netibuf);
75 if (ncc < 0) {
78 } else if (ncc == 0) {
82 DIAG(TD_REPORT, output_data("td: ttloop read %d chars\r\n", ncc));
85 if (ncc > 0) {
H A Ddefs.h136 ncc++; \
H A Dstate.c96 while (ncc > 0) {
99 c = *netip++ & 0377, ncc--;
141 if (linemode && (ncc > 0) && (('\n' == nc) ||
143 netip++; ncc--;

Completed in 64 milliseconds