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

2010-04-17 Thread Kristen Carlson Accardi
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. --- gatchat/gathdlc.c | 60 gatchat/gathdlc.h | 12 ++ 2 files changed, 67

[PATCH 0/3] HDLC fixes

2010-04-17 Thread Kristen Carlson Accardi
Fix some issues with the HDLC code, and then use it in PPP. The first 2 patches are a resend of previous patches, the last is new to this series. Kristen Carlson Accardi (3): hdlc: allow for scanning and escaping hdlc: handle wrapped buffers ppp: use GAtHDLC gatchat/gathdlc.c | 121

[PATCH 2/3] hdlc: handle wrapped buffers

2010-04-17 Thread Kristen Carlson Accardi
--- gatchat/gathdlc.c | 75 1 files changed, 40 insertions(+), 35 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index c5c02cf..13e15a1 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -59,11 +59,12 @@ static void

Re: [PATCH 0/2] hdlc fixes

2010-04-17 Thread Kristen Carlson Accardi
On Fri, 16 Apr 2010 19:31:01 -0700 Kristen Carlson Accardi kris...@linux.intel.com wrote: Kristen Carlson Accardi (2): hdlc: allow for scanning and escaping hdlc: handle wrapped buffers gatchat/gathdlc.c | 121 ++-- gatchat/gathdlc.h |

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

2010-04-17 Thread Marcel Holtmann
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

Re: [PATCH 2/3] hdlc: handle wrapped buffers

2010-04-17 Thread Marcel Holtmann
Hi Kristen, --- gatchat/gathdlc.c | 75 1 files changed, 40 insertions(+), 35 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index c5c02cf..13e15a1 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -59,11