+ /* If this is a control char to be ignored, do so */
+ if (in_rmap (ppp, chr)) {
+ if (ppp->flags & SC_DEBUG)
+ printk(KERN_DEBUG "ignoring control char %x\n", chr);
+ break;
+ }
+
+ /*
+ * Modify the next character if preceded by escape.
+ * The escape character (0x7d) could be an escaped
+ * 0x5d, if it follows an escape :-)
+ */
+ if (ppp->escape) {
+ chr ^= ppp->escape;
+ ppp->escape = 0;
+ } else if (chr == PPP_ESCAPE) {
+ ppp->escape = PPP_TRANS;