Home | History | Annotate | Download | only in telnetd

Lines Matching defs:slcptr

50 static unsigned char	*slcptr;	/* pointer into slc buffer */
136 if ((*slcptr++ = (unsigned char)func) == 0xff)
137 *slcptr++ = 0xff;
139 if ((*slcptr++ = (unsigned char)flag) == 0xff)
140 *slcptr++ = 0xff;
142 if ((*slcptr++ = (unsigned char)val) == 0xff)
143 *slcptr++ = 0xff;
164 slcptr = slcbuf + 4;
196 if (slcptr > (slcbuf + 4)) {
199 return(slcptr - slcbuf - 4);
201 (void) snprintf((char *)slcptr,
202 sizeof(slcbuf) - (slcptr - slcbuf), "%c%c",
204 slcptr += 2;
205 len = slcptr - slcbuf;