minix/lib/liblwip/netif/ppp
Ambarisha B 7e55dbac33 LIBLWIP - updated to LwIP trunk
commit a4a41b9023ef5b3a7c4a1cd82fb167fc63e706df
Author: goldsimon <goldsimon@gmx.de>
Date:   Wed Sep 26 21:50:42 2012 +0200

- This also brings in LwIP's IPv6 codebase

Signed-off-by: Tomas Hruby <tom@minix3.org>
2013-03-25 16:51:24 +01:00
..
auth.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
auth.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
chap.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
chap.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
chpms.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
chpms.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
fsm.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
fsm.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
ipcp.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
ipcp.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
lcp.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
lcp.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
magic.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
magic.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
md5.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
md5.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
pap.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
pap.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
ppp.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
ppp.h LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
ppp_impl.h LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
ppp_oe.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
pppdebug.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
randm.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
randm.h LWIP - liblwip 2011-04-07 07:43:36 +00:00
readme.txt LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
vj.c LIBLWIP - updated to LwIP trunk 2013-03-25 16:51:24 +01:00
vj.h LWIP - liblwip 2011-04-07 07:43:36 +00:00

About the PPP code:

The PPP code is not our "own" code - we just copied it from pppd (http://ppp.samba.org/) and adapted it to lwIP.
Unfortunately, not many here know their way around it too well. Back in 2009, we took the effort to see which
version of pppd our code relates to and we're pretty much on 2.3.11 with some bugs from 2.4.x backported.

Aside from simple code adaptions, there are some files that are different, however:
- chpms.c/.h are named chap_ms.c/.h in the original pppd 2.3.11 sources
- pap.c/.h are named upap.c/.h in the original pppd 2.3.11 sources
- randm.c is a random generator not included in the original pppd
- magic.c does not use the C library's random functions, but uses randm.c instead
- vj.c/.h is an implementation of the Van Jacobson header compression algorithm adapted to lwIP pbufs,
  probably copied from one of the vjcompress.c files from pppd.
- ppp.c, ppp.h and ppp_impl.h contain the adaption from pppd to lwIP. This is the "OS"-dependent part like there
  is an implementation for linux, xBSD etc. in the pppd sources.
- ppp_oe.c is Marc Boucher's implementation based on NetBSD's if_pppoe.c

There is of course potential for bugs in it, but when analyzing of reporting bugs, it is strongly encouraged to
compare the code in question to pppd 2.3.11 (our basis) and newer versions (perhaps it's already fixed?) and to
share this knowledge with us when reporting a bug.