Lines Matching refs:escape
113 static unsigned len = 0, escape = 0;
169 escape = 0;
180 * packet marker). Copy to 'copy', un-escape and checksum as we go.
195 if (buffer[start] == HDLC_ESCAPE && !escape)
196 escape = 1;
198 if (escape) {
200 escape = 0;
217 if ((len < 4) || (escape == 1)) {
223 if (escape)
244 escape = 0;
285 /* escape the payload */