Searched refs:nfrontp (Results 1 – 8 of 8) sorted by relevance
/freebsd/crypto/heimdal/appl/telnet/telnetd/ |
H A D | authenc.c | 43 if (nfrontp + len < netobuf + BUFSIZ) { in telnet_net_write() 44 memmove(nfrontp, str, len); in telnet_net_write() 45 nfrontp += len; in telnet_net_write() 56 if (s < nfrontp && encrypt_output) { in net_encrypt() 57 (*encrypt_output)((unsigned char *)s, nfrontp - s); in net_encrypt() 59 nclearto = nfrontp; in net_encrypt()
|
H A D | global.c | 66 char netobuf[BUFSIZ+NETSLOP], *nfrontp, *nbackp; variable 99 remaining = BUFSIZ - (nfrontp - netobuf); in output_data() 100 ret = vsnprintf (nfrontp, in output_data() 104 nfrontp += min(ret, remaining-1); in output_data()
|
H A D | utility.c | 60 if (nfrontp-nbackp) in ttloop() 196 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \ in netclear() 217 while (nfrontp > thisitem) { in netclear() 224 } while (wewant(next) && (nfrontp > next)); in netclear() 235 nfrontp = good; /* next byte to be sent */ in netclear() 251 if ((n = nfrontp - nbackp) > 0) { in netflush() 258 if (nfrontp - s > 0) { in netflush() 259 (*encrypt_output)((unsigned char *)s, nfrontp-s); in netflush() 260 nclearto = nfrontp; in netflush() 305 if (nbackp == nfrontp) { in netflush() [all …]
|
H A D | telnetd.c | 159 nfrontp = nbackp = netobuf; in main() 1021 if (nfrontp - nbackp || pcc > 0) { in my_telnet() 1163 neturg = nfrontp-1; /* off by one XXX */ in my_telnet() 1182 (unsigned char *)nfrontp-4, in my_telnet() 1192 if ((&netobuf[BUFSIZ] - nfrontp) < 3) in my_telnet() 1196 *nfrontp++ = c; in my_telnet() 1197 *nfrontp++ = c; in my_telnet() 1200 *nfrontp++ = *ptyip++ & 0377; in my_telnet() 1203 *nfrontp++ = '\0'; in my_telnet() 1207 if (FD_ISSET(f, &obits) && (nfrontp - nbackp) > 0) in my_telnet()
|
H A D | ext.h | 69 extern char netobuf[BUFSIZ+NETSLOP], *nfrontp, *nbackp;
|
H A D | state.c | 183 neturg = nfrontp-1; /* off by one XXX */ in telrcv()
|
/freebsd/crypto/heimdal/appl/telnet/telnet/ |
H A D | telnet.c | 2183 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \ in netclear() 2203 } while (wewant(next) && (nfrontp > next)); in netclear()
|
/freebsd/crypto/heimdal/appl/telnet/ |
H A D | ChangeLog | 361 `nfrontp' too far, thereby allowing writes after the end of
|