This page provides access to example PPP code that I've written. You may use these sources for any purpose you like, including selling them or giving them away free, provided that you retain my copyright notice on any distributed copies or derivative works. If distribute copies of this work which are modified in any way, you must also indicate that yours is a modified version and reference my web site for the original.
These are just demonstration materials and are not supported in any way. If you're looking for a real implementation of PPP, see Paul Mackerras' pppd instead.
See also the references page for other sites with source code.
Legal mumbo-jumbo: These sources are provided AS-IS, with NO WARRANTY whatsoever. The author DISCLAIMS ALL IMPLIED WARRANTIES; including FITNESS FOR A PARTICULAR PURPOSE and MERCHANTABILITY. Hey, what do you expect for free source code?
README.TXT | Overview |
ahdlc.c
ahdlc.h | AHDLC Implementation |
ahdlc-test.c | AHDLC test driver |
lapb.c
lapb.h | LAP-B (Numbered Mode) Implementation |
lapb-test.c | LAP-B test driver |
mp.c
mp.h | MP Implementation |
mp-test.c | MP test driver |
util.c
util.h | Utility functions |
sysdep.h | System-dependent definitions |
minimal-ppp.c | A (very) minimal implementation of PPP |
Makefile | Make description file |
carlson-ppp-2.0.tar.gz | Tarred and gzipped copy of all above files. |