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
|
1d392f0e76
|
removed useless flags from ppp_settings
|
2012-06-19 17:54:29 +02:00 |
|
Sylvain Rochet
|
08cbc1b22b
|
idle time limit and connect time limit are now compile time options
|
2012-06-19 17:50:02 +02:00 |
|
Sylvain Rochet
|
f744d7a789
|
reduced ppp_settings types size
|
2012-06-19 17:42:13 +02:00 |
|
Sylvain Rochet
|
ff2a737094
|
ppp_settings.remote_name is now a compile time option
|
2012-06-19 17:38:02 +02:00 |
|
Sylvain Rochet
|
111a1cef52
|
moved ppp_settings.lax_recv and ppp_settings.noendpoint bool types (so char) to the ppp_settings bitfield
|
2012-06-19 17:07:02 +02:00 |
|
Sylvain Rochet
|
a44b56dc61
|
pcb->nak_buffer replaced with a pbuf
|
2012-06-19 15:36:53 +02:00 |
|
Sylvain Rochet
|
1b586b69bc
|
do not allocated pbuf of more than pcb->peer_mru instead of PPP_MRU, to save some memory
|
2012-06-18 15:07:48 +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
|
503162ec54
|
CHAP is now using pbuf instead of pcb->outpacket_buf
|
2012-06-18 01:18:24 +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
|
3120487243
|
cleanified old style C function declaration from utils.c
|
2012-06-17 01:47:45 +02:00 |
|
Sylvain Rochet
|
4404ef0281
|
prevent conflict with existing (md4|md5|sha1|des) object file if polarssl is already used elsewhere in the project
|
2012-06-17 00:55:11 +02:00 |
|
Sylvain Rochet
|
0c68fc409e
|
fixed pppoe_find_softc_by_session() when we have the same PPPoE session id on 2 ethif
|
2012-06-17 00:33:02 +02:00 |
|
Sylvain Rochet
|
ea7bf19057
|
fixed most "unit 0" used instead of pcb pointer
|
2012-06-17 00:17:22 +02:00 |
|
Sylvain Rochet
|
99bf9775d9
|
NUM_PPP is defined is opt.h, clearing from ppp_impl.h
|
2012-06-16 18:45:53 +02:00 |
|
Sylvain Rochet
|
0e2d5f9d0e
|
removed unused inpacket_buf in ppp_pcb
|
2012-06-16 14:53:13 +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
|
cce5fbc7b1
|
fixed PPPoS xmit_accm ppp_pcb variable access
|
2012-06-16 03:58:48 +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
|
708147625f
|
FSM global variables moved to ppp_pcb
|
2012-06-16 03:30:36 +02:00 |
|
Sylvain Rochet
|
93559a54e9
|
IPCP global variables moved to ppp_pcb
|
2012-06-16 03:25:31 +02:00 |
|
Sylvain Rochet
|
f10ddea305
|
removed fsm->unit
|
2012-06-16 03:14:26 +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
|
2deb13df43
|
EAP is now using ppp_pcb as well
|
2012-06-15 01:06:27 +02:00 |
|
Sylvain Rochet
|
1ece33e79a
|
PAP and CHAP are now using ppp_pcb*
|
2012-06-15 00:24:39 +02:00 |
|
Sylvain Rochet
|
844f5e5af1
|
moved auth.c global variables to ppp_pcb
|
2012-06-14 00:25:45 +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
|
fed76f29d0
|
added missing EAP_SUPPORT macro
|
2012-06-09 23:38:26 +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 |
|