[PATCH 1/3] hdlc: allow for scanning and escaping

Marcel Holtmann marcel at holtmann.org
Sat Apr 17 15:34:14 PDT 2010


Hi Kristen,

> PPP needs to inspect the packet protocol to see if a character
> should be escaped.  Additionally, it needs to be able to compare
> against recv and xmit accm.

can we just set the ACCM values instead of having an extra function
call. I think that calling an extra function for every single byte is a
really bad idea and the compiler can not optimize it at all.

Regards

Marcel




More information about the ofono mailing list