Sylvain Rochet
|
25c6278000
|
fixed some endianess issues with PPPoS
|
2012-06-23 02:27:03 +02:00 |
|
Sylvain Rochet
|
5033e0e752
|
display IPV6CP packets
|
2012-06-23 01:44:52 +02:00 |
|
Sylvain Rochet
|
295eeef9b6
|
"ISO C forbids conversion of function pointer to object pointer type" - removed callback function pointer display in debug messages. Anyway, this is quite a meaningless information.
|
2012-06-22 21:48:21 +02:00 |
|
Sylvain Rochet
|
f63b87e28b
|
setting tot_len before using it, oops
|
2012-06-22 21:43:22 +02:00 |
|
Sylvain Rochet
|
1f780e86d5
|
PPP timeouts required depend on the number of allowed PPP sessions
Furthermore we need up to 6 timeouts per PPP (AUTH + PAP|CHAP|EAP + LCP + IPCP + IP6CP + PPPoE)
This can be improved with more conditions.
|
2012-06-22 21:29:12 +02:00 |
|
Sylvain Rochet
|
408a56ffaf
|
phase must be set to initalize each time we try to reconnect
|
2012-06-22 20:48:08 +02:00 |
|
Sylvain Rochet
|
a84f5d52ff
|
added ppp_pcb to ppp callback
|
2012-06-22 19:59:46 +02:00 |
|
Sylvain Rochet
|
fb6eed0087
|
set LL addresses before bringing the interface up for IPv6
|
2012-06-22 19:45:45 +02:00 |
|
Sylvain Rochet
|
dc242a01b4
|
don't build ppp_netif_output_ip6() if PPP IPV6 support is disabled
|
2012-06-22 19:29:55 +02:00 |
|
Sylvain Rochet
|
074d3dd2b1
|
moved ipv6cp global variables to ppp_pcb
|
2012-06-22 19:27:03 +02:00 |
|
Sylvain Rochet
|
807afbc879
|
improved FSM structure size
|
2012-06-22 18:50:09 +02:00 |
|
Sylvain Rochet
|
8f1eeb1025
|
improved ipv6cp_options struct size
|
2012-06-22 18:23:07 +02:00 |
|
Sylvain Rochet
|
dd288f70ec
|
fixed sent PPPoE dump packet and copy everything we need after pppoe_xmit() free'd the pbuf
|
2012-06-22 18:07:59 +02:00 |
|
Sylvain Rochet
|
6a11134a18
|
fixed PPPoS suppport compilation
|
2012-06-22 17:53:39 +02:00 |
|
Sylvain Rochet
|
9b60b55f03
|
SNMP prefers tot_len
|
2012-06-22 17:48:31 +02:00 |
|
Sylvain Rochet
|
77aa06df64
|
improved ppp_write_over_ethernet(), don't MEMCPY the entire packet into a new pbuf
|
2012-06-22 17:03:59 +02:00 |
|
Sylvain Rochet
|
9b7860d6ec
|
merged ppp_write and ppp_write_pbuf
|
2012-06-22 14:17:35 +02:00 |
|
Sylvain Rochet
|
bda73b1bc9
|
replaced call from ppp_write to ppp_write_pbuf
|
2012-06-21 23:31:23 +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
|
cd7894dfc9
|
added compilation macro to eui64.[ch] and cleaned unix-dependant code
|
2012-06-20 13:39:08 +02:00 |
|
Sylvain Rochet
|
c36d73f42a
|
added raw IPv6 PPP files
|
2012-06-20 13:29:21 +02:00 |
|
Sylvain Rochet
|
9871c4ff06
|
improved IPCP control structure size
|
2012-06-20 00:10:08 +02:00 |
|
Sylvain Rochet
|
e330983408
|
improved lcp_options structure size
|
2012-06-20 00:03:08 +02:00 |
|
Sylvain Rochet
|
4bbf443ba2
|
improved CHAP structure size, however there is not much we can do
|
2012-06-19 23:42:41 +02:00 |
|
Sylvain Rochet
|
0234c62c3e
|
improved PAP control structure size
|
2012-06-19 23:37:33 +02:00 |
|
Sylvain Rochet
|
0bdc27186d
|
some more improvements to ppp_pcb
|
2012-06-19 23:31:20 +02:00 |
|
Sylvain Rochet
|
c51c55b782
|
LCP and IPCP variable size improved
|
2012-06-19 23:25:57 +02:00 |
|
Sylvain Rochet
|
26250f1953
|
removed pcb->chap_mdtype_all
|
2012-06-19 23:14:31 +02:00 |
|
Sylvain Rochet
|
7ecfe6304a
|
reduced MTU/MRU variables
|
2012-06-19 23:03:47 +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
|
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 |
|