ppp: send Protocol-Reject
authorKristen Carlson Accardi <kristen@linux.intel.com>
Sat, 27 Mar 2010 01:34:28 +0000 (18:34 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 27 Mar 2010 02:19:46 +0000 (19:19 -0700)
commit5260379d98e5ea334b7d5a19448bdd0d521c0c2b
treec08c9703d68d0bedb440664d7e6f3e90a9c5c02f
parent3772a6401cf76b858fa847c0b0ece1de31426366
ppp: send Protocol-Reject

change ppp_decode to store the length of the decoded frame, so that
if we have a packet with a protocol we don't understand, we can send
Protocol-Reject packets.  Modify ppp_cp code to add support for sending
Protocol-Reject packet.
gatchat/ppp.c
gatchat/ppp.h
gatchat/ppp_cp.c
gatchat/ppp_cp.h
gatchat/ppp_lcp.c