]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
add standard-based PPP framing (RFC1661, RFC1662) as reference points
authorDaniel Lenski <dlenski@gmail.com>
Tue, 19 May 2020 17:54:22 +0000 (10:54 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Wed, 20 May 2020 00:02:40 +0000 (17:02 -0700)
commitd774e57e13bbe14e773e4518a2575118f6559418
treed1b1541835ab0ac8b6371c88a94c9e55c70a0269
parent294534d5a2574cbe8b8054a0fa627cb72c10acd8
add standard-based PPP framing (RFC1661, RFC1662) as reference points

- PPP_ENCAP_RFC1661: Plain PPP. “Synchronous” in the ’90s-era language,
  because the start and end of the frame are known from external means.

  In modern instances, this is because they arrive in a complete packet with
  a known length from its lower-level encapsulation. (TLS or DTLS records in
  our expected use cases.)

  This is what `pppd sync` does.

- PPP_ENCAP_RFC1662: “PPP in HDLC-like framing.”

  This is what `pppd` without `sync` does.

At some point, we will be able to add automated testing of our PPP
implementation's ability to communicate with `pppd`.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
openconnect-internal.h
ppp.c