Lines Matching defs:current
140 * the current address is a user data character, or it will
142 * if the current address is a TELNET IAC ("I Am a Command")
146 nextitem(char *current, const char *endp)
148 if (current >= endp) {
151 if ((*current&0xff) != IAC) {
152 return current+1;
154 if (current+1 >= endp) {
157 switch (*(current+1)&0xff) {
162 return current+3 <= endp ? current+3 : NULL;
165 char *look = current+2;
177 return current+2 <= endp ? current+2 : NULL;