Sylvain Rochet
|
9b7860d6ec
|
merged ppp_write and ppp_write_pbuf
|
2012-06-22 14:17:35 +02:00 |
|
Sylvain Rochet
|
8576ee0981
|
randomized seed when using MD5 random support and PPPoE
|
2012-06-21 23:08:20 +02:00 |
|
Sylvain Rochet
|
8093b55e86
|
don't destroy and create the PPP interface each time sifup() is called (it is actually called twice with IPv4 + IPv6 enabled)
|
2012-06-21 22:28:52 +02:00 |
|
Sylvain Rochet
|
b6db4a0e2e
|
PPP IPv6 local link support added
|
2012-06-21 18:05:17 +02:00 |
|
Sylvain Rochet
|
b7be03801c
|
improved much more ppp_pcb entry size
|
2012-06-19 22:53:38 +02:00 |
|
Sylvain Rochet
|
b21cb8a396
|
removed pcb->num if PPP debug is not compiled
|
2012-06-19 22:08:14 +02:00 |
|
Sylvain Rochet
|
eadd56a376
|
replaced exit code (pcb->status) with ppp_ioctl()
|
2012-06-19 22:00:12 +02:00 |
|
Sylvain Rochet
|
2aa9a66c57
|
don't duplicate user and password anymore, anyway, the PPP user will have them already allocated as static strings or from configuration flash/file
|
2012-06-19 21:26:52 +02:00 |
|
Sylvain Rochet
|
8e9c07df39
|
more idle time limit macros
|
2012-06-19 18:02:23 +02:00 |
|
Sylvain Rochet
|
4a7f2ffc5e
|
pcb->outpacket_buf replaced by pbuf everywhere it was used
|
2012-06-18 02:21:18 +02:00 |
|
Sylvain Rochet
|
22fad86453
|
PAP is now using pbuf instead of pcb->outpacket_buf
|
2012-06-18 01:10:21 +02:00 |
|
Sylvain Rochet
|
8641b8a36e
|
PPP_PCB are now allocated using memp_alloc()
|
2012-06-17 23:48:55 +02:00 |
|
Sylvain Rochet
|
be2d3b5886
|
moved back temporarily moved structure definitions from various headers to ppp.h during unit to ppp_pcb transition
|
2012-06-17 02:33:47 +02:00 |
|
Sylvain Rochet
|
3065b9f968
|
no more pcb->unit, new user selectable pcb->num for debugging purpose (like netif does)
|
2012-06-16 04:12:10 +02:00 |
|
Sylvain Rochet
|
82a4d4ec65
|
LCP global variables moved to ppp_pcb as well as input/output buffers
|
2012-06-16 03:53:05 +02:00 |
|
Sylvain Rochet
|
4a8ff6d824
|
protent prototype switched from unit to ppp_pcb
|
2012-06-16 02:43:13 +02:00 |
|
Sylvain Rochet
|
4b7e3af77c
|
IPCP and LCP structures moved to ppp_pcb
|
2012-06-16 02:13:50 +02:00 |
|
Sylvain Rochet
|
19238a910c
|
global variables removed from chap support
|
2012-06-15 01:22:01 +02:00 |
|
Sylvain Rochet
|
51bfac71b0
|
auth.c functions now use ppp_pcb* as first argument
|
2012-06-14 00:08:56 +02:00 |
|
Sylvain Rochet
|
81a0fd782f
|
removed unit from ppp_ioctl()
|
2012-06-13 00:12:55 +02:00 |
|
Sylvain Rochet
|
3a30e5bf78
|
removed ppp_input_header, replaced using 2 chained pbuf the only area we need it
|
2012-06-12 23:28:09 +02:00 |
|
Sylvain Rochet
|
a87096cdc9
|
fixed PPPoS support, improved ppp_input()
|
2012-06-12 00:59:02 +02:00 |
|
Sylvain Rochet
|
527d99fd39
|
removed all PPP unit in ppp.c except pih->unit and unit used in debugging output
|
2012-06-12 00:55:53 +02:00 |
|
Sylvain Rochet
|
6e2722a6d3
|
started the unit to ppp_pcb replacement
|
2012-06-11 01:39:03 +02:00 |
|
Sylvain Rochet
|
8694deaabb
|
don't add ppp_pcb_rx to ppp_pcb struct if PPPOS support is disabled
|
2012-06-10 21:06:02 +02:00 |
|
Sylvain Rochet
|
a226099b04
|
ppp_close() on PPPoE actually works,
clear persist mode if user asked the connection to shutdown
|
2012-06-10 01:45:29 +02:00 |
|
Sylvain Rochet
|
336ba8f419
|
pppoe now have access to the ppp_pcb structure, removed "persist" option copy
|
2012-06-10 01:08:37 +02:00 |
|
Sylvain Rochet
|
5abdc99f3e
|
no more PPP unit number in PPPoE, now using ppp_pcb
|
2012-06-10 01:00:50 +02:00 |
|
Sylvain Rochet
|
f7ef9887d7
|
improved ppp_set_auth() mschap support
|
2012-06-09 23:38:38 +02:00 |
|
Sylvain Rochet
|
a3cfbfc6ba
|
ppp_set_auth() modified to handle new handled authtype (mschap + eap)
|
2012-06-09 23:32:31 +02:00 |
|
Sylvain Rochet
|
444646b65e
|
renamed ppp_control to ppp_pcb, replaced unit number to ppp_pcb in all ppp.h declared functions
|
2012-06-09 23:06:45 +02:00 |
|
Sylvain Rochet
|
8bd508a73d
|
moved ppp_settings to ppp_control, improved PPP API to really allow multiple PPP sessions
|
2012-06-09 18:06:55 +02:00 |
|
Sylvain Rochet
|
1cceb4e0ad
|
moved hide_password global variable to ppp_options
|
2012-06-09 17:05:19 +02:00 |
|
Sylvain Rochet
|
c2d2034ae8
|
PPPoE persist is working, removing FIXME comments about that
|
2012-06-09 16:56:32 +02:00 |
|
Sylvain Rochet
|
f94ed922e5
|
moved exit status global variable to ppp_control
|
2012-06-09 16:43:12 +02:00 |
|
Sylvain Rochet
|
7a57d28db4
|
moved listen_time global variable to ppp_settings
|
2012-06-09 16:18:01 +02:00 |
|
Sylvain Rochet
|
ce5121e659
|
removed unused "unsuccess" global variable
|
2012-06-09 16:00:22 +02:00 |
|
Sylvain Rochet
|
a7d7158b05
|
removed useless error_count global variable from ppp.c
|
2012-06-09 15:58:51 +02:00 |
|
Sylvain Rochet
|
42f672d85d
|
phase global variable moved to ppp_control structure
|
2012-06-09 15:39:16 +02:00 |
|
Sylvain Rochet
|
945f2912a7
|
using PPP_DEBUG instead of debug global variable
|
2012-06-09 15:09:00 +02:00 |
|
Sylvain Rochet
|
fb396b8fac
|
moved debug option from options.c to ppp.c
|
2012-06-09 14:42:31 +02:00 |
|
Sylvain Rochet
|
4e7ce11684
|
removed holdoff support, can be handled without persist mode outside lwIP
|
2012-06-09 14:31:45 +02:00 |
|
Sylvain Rochet
|
2ec79c03a0
|
unused ifunit global variable removed
|
2012-06-09 01:26:21 +02:00 |
|
Sylvain Rochet
|
b922eaa754
|
print packet is working back, at least for PPPoE
|
2012-06-09 00:52:20 +02:00 |
|
Sylvain Rochet
|
4077422ae2
|
fixed pbuf leaks in ppp_input() in case of packets not expected
|
2012-06-07 20:41:21 +02:00 |
|
Sylvain Rochet
|
a9ac45c5f0
|
added PPPoE persist support (don't timeout sending PADI packets)
|
2012-06-07 01:48:12 +02:00 |
|
Sylvain Rochet
|
7ef99ee6f3
|
added a persist option (enabled by default for now until we add a way for users to pass a ppp_settings structure)
improved PPPoE state machine and added persist mode support
|
2012-06-07 00:46:19 +02:00 |
|
Sylvain Rochet
|
e44aada634
|
improved PPPoE callback with state values, so that PPP know exactly what is happening on the PPPoE side
|
2012-06-06 23:42:20 +02:00 |
|
Sylvain Rochet
|
ac0a864e14
|
fixed typos s/parms/params/g
|
2012-06-06 22:36:23 +02:00 |
|
Sylvain Rochet
|
3c3331d5ed
|
fixed some debug strings
|
2012-06-06 22:34:16 +02:00 |
|