Network protocols
PPP asynchronous byte escaping
Escape PPP octets using an explicit transmit ACCM mask.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Always escape 7E and 7D. Escape control octets selected by ACCM, writing 7D followed by the octet XOR 20 hex.
With ACCM 0, 7E 7D 00 becomes 7D 5E 7D 5D 00.
Limits
Octet transparency only. No frame flags, address/control compression, FCS or receive-side ACCM processing. Apply framing and FCS in the order required by PPP.