Commit Graph

  • ea7bf19057 fixed most "unit 0" used instead of pcb pointer Sylvain Rochet 2012-06-17 00:17:22 +02:00
  • 99bf9775d9 NUM_PPP is defined is opt.h, clearing from ppp_impl.h Sylvain Rochet 2012-06-16 18:45:53 +02:00
  • 0e2d5f9d0e removed unused inpacket_buf in ppp_pcb Sylvain Rochet 2012-06-16 14:53:13 +02:00
  • 3065b9f968 no more pcb->unit, new user selectable pcb->num for debugging purpose (like netif does) Sylvain Rochet 2012-06-16 04:12:10 +02:00
  • cce5fbc7b1 fixed PPPoS xmit_accm ppp_pcb variable access Sylvain Rochet 2012-06-16 03:58:48 +02:00
  • 82a4d4ec65 LCP global variables moved to ppp_pcb as well as input/output buffers Sylvain Rochet 2012-06-16 03:53:05 +02:00
  • 708147625f FSM global variables moved to ppp_pcb Sylvain Rochet 2012-06-16 03:30:36 +02:00
  • 93559a54e9 IPCP global variables moved to ppp_pcb Sylvain Rochet 2012-06-16 03:25:31 +02:00
  • f10ddea305 removed fsm->unit Sylvain Rochet 2012-06-16 03:14:26 +02:00
  • 4a8ff6d824 protent prototype switched from unit to ppp_pcb Sylvain Rochet 2012-06-16 02:43:13 +02:00
  • 4b7e3af77c IPCP and LCP structures moved to ppp_pcb Sylvain Rochet 2012-06-16 02:13:50 +02:00
  • 19238a910c global variables removed from chap support Sylvain Rochet 2012-06-15 01:22:01 +02:00
  • 2deb13df43 EAP is now using ppp_pcb as well Sylvain Rochet 2012-06-15 01:06:27 +02:00
  • 1ece33e79a PAP and CHAP are now using ppp_pcb* Sylvain Rochet 2012-06-15 00:24:39 +02:00
  • 844f5e5af1 moved auth.c global variables to ppp_pcb Sylvain Rochet 2012-06-14 00:25:45 +02:00
  • 51bfac71b0 auth.c functions now use ppp_pcb* as first argument Sylvain Rochet 2012-06-14 00:08:56 +02:00
  • 81a0fd782f removed unit from ppp_ioctl() Sylvain Rochet 2012-06-13 00:12:55 +02:00
  • 3a30e5bf78 removed ppp_input_header, replaced using 2 chained pbuf the only area we need it Sylvain Rochet 2012-06-12 23:28:09 +02:00
  • a87096cdc9 fixed PPPoS support, improved ppp_input() Sylvain Rochet 2012-06-12 00:59:02 +02:00
  • 527d99fd39 removed all PPP unit in ppp.c except pih->unit and unit used in debugging output Sylvain Rochet 2012-06-12 00:55:53 +02:00
  • 6e2722a6d3 started the unit to ppp_pcb replacement Sylvain Rochet 2012-06-11 01:39:03 +02:00
  • 8694deaabb don't add ppp_pcb_rx to ppp_pcb struct if PPPOS support is disabled Sylvain Rochet 2012-06-10 21:06:02 +02:00
  • a226099b04 ppp_close() on PPPoE actually works, Sylvain Rochet 2012-06-10 01:45:29 +02:00
  • 336ba8f419 pppoe now have access to the ppp_pcb structure, removed "persist" option copy Sylvain Rochet 2012-06-10 01:08:37 +02:00
  • 5abdc99f3e no more PPP unit number in PPPoE, now using ppp_pcb Sylvain Rochet 2012-06-10 01:00:50 +02:00
  • f7ef9887d7 improved ppp_set_auth() mschap support Sylvain Rochet 2012-06-09 23:38:38 +02:00
  • fed76f29d0 added missing EAP_SUPPORT macro Sylvain Rochet 2012-06-09 23:38:26 +02:00
  • a3cfbfc6ba ppp_set_auth() modified to handle new handled authtype (mschap + eap) Sylvain Rochet 2012-06-09 23:32:31 +02:00
  • 444646b65e renamed ppp_control to ppp_pcb, replaced unit number to ppp_pcb in all ppp.h declared functions Sylvain Rochet 2012-06-09 23:06:45 +02:00
  • 8bd508a73d moved ppp_settings to ppp_control, improved PPP API to really allow multiple PPP sessions Sylvain Rochet 2012-06-09 18:06:55 +02:00
  • 1cceb4e0ad moved hide_password global variable to ppp_options Sylvain Rochet 2012-06-09 17:05:19 +02:00
  • c2d2034ae8 PPPoE persist is working, removing FIXME comments about that Sylvain Rochet 2012-06-09 16:56:32 +02:00
  • f94ed922e5 moved exit status global variable to ppp_control Sylvain Rochet 2012-06-09 16:43:12 +02:00
  • 7a57d28db4 moved listen_time global variable to ppp_settings Sylvain Rochet 2012-06-09 16:18:01 +02:00
  • ce5121e659 removed unused "unsuccess" global variable Sylvain Rochet 2012-06-09 16:00:22 +02:00
  • a7d7158b05 removed useless error_count global variable from ppp.c Sylvain Rochet 2012-06-09 15:58:51 +02:00
  • 6b8c78bacc moved remote_name and explicit_remote global variable to ppp_settings Sylvain Rochet 2012-06-09 15:55:01 +02:00
  • 2da930ba4c removed some useless extern Sylvain Rochet 2012-06-09 15:45:52 +02:00
  • 772cac7946 removed useless error_count global variable Sylvain Rochet 2012-06-09 15:42:57 +02:00
  • 42f672d85d phase global variable moved to ppp_control structure Sylvain Rochet 2012-06-09 15:39:16 +02:00
  • 945f2912a7 using PPP_DEBUG instead of debug global variable Sylvain Rochet 2012-06-09 15:09:00 +02:00
  • 1ccf516c5e options.c is now empty, removed Sylvain Rochet 2012-06-09 14:43:56 +02:00
  • fb396b8fac moved debug option from options.c to ppp.c Sylvain Rochet 2012-06-09 14:42:31 +02:00
  • 6db3026d47 using our_name from ppp_settings (only used in server mode and disabled by default) Sylvain Rochet 2012-06-09 14:39:44 +02:00
  • becc306300 using idle_time_limit from ppp_settings Sylvain Rochet 2012-06-09 14:35:06 +02:00
  • 4e7ce11684 removed holdoff support, can be handled without persist mode outside lwIP Sylvain Rochet 2012-06-09 14:31:45 +02:00
  • 6589cf9d8e removed useless options Sylvain Rochet 2012-06-09 14:16:59 +02:00
  • 552589f098 removed multilink option when multilink support is not compiled Sylvain Rochet 2012-06-09 14:14:06 +02:00
  • 2ec79c03a0 unused ifunit global variable removed Sylvain Rochet 2012-06-09 01:26:21 +02:00
  • 21653f0f91 pr_log is unused, don't even try to build it Sylvain Rochet 2012-06-09 01:20:01 +02:00
  • b922eaa754 print packet is working back, at least for PPPoE Sylvain Rochet 2012-06-09 00:52:20 +02:00
  • d27da93c33 now using maxconnect from ppp_settings Sylvain Rochet 2012-06-07 23:34:06 +02:00
  • 2e6fa7f8a3 dns server support is done, clearing FIXME entries Sylvain Rochet 2012-06-07 23:05:19 +02:00
  • 302184938a removed malloc() from ms chap Sylvain Rochet 2012-06-07 23:02:08 +02:00
  • e5355cc45f PPP server support is now optional (disabled by default, not working until PPP have a "listen" support) Sylvain Rochet 2012-06-07 22:22:57 +02:00
  • 2fe778507a fixed randm if random MD5 support is not enabled Sylvain Rochet 2012-06-07 22:19:25 +02:00
  • 4077422ae2 fixed pbuf leaks in ppp_input() in case of packets not expected Sylvain Rochet 2012-06-07 20:41:21 +02:00
  • a9ac45c5f0 added PPPoE persist support (don't timeout sending PADI packets) Sylvain Rochet 2012-06-07 01:48:12 +02:00
  • 7ef99ee6f3 added a persist option (enabled by default for now until we add a way for users to pass a ppp_settings structure) Sylvain Rochet 2012-06-07 00:46:19 +02:00
  • e44aada634 improved PPPoE callback with state values, so that PPP know exactly what is happening on the PPPoE side Sylvain Rochet 2012-06-06 23:42:20 +02:00
  • ac0a864e14 fixed typos s/parms/params/g Sylvain Rochet 2012-06-06 22:36:23 +02:00
  • 3c3331d5ed fixed some debug strings Sylvain Rochet 2012-06-06 22:34:16 +02:00
  • 6f21f48937 added MTU support (using MRU from the peer) Sylvain Rochet 2012-06-05 23:10:38 +02:00
  • 2e227f868b PPPoE is now guessing its MTU from the underlying netif MTU (in most cases 1500 minus 8 = 1492, which is the most common PPPoE MTU) Sylvain Rochet 2012-06-05 22:22:35 +02:00
  • 7d7513c71c re-enabled DNS support Sylvain Rochet 2012-06-04 23:19:23 +02:00
  • d95f1e9913 added missing initialisation in ppp_init.c Sylvain Rochet 2012-06-04 22:48:12 +02:00
  • 1013b49ab7 disabled ppp_over_ethernet_close(), which is not exported and probably bogus, until we fix it Sylvain Rochet 2012-06-04 22:23:10 +02:00
  • dc0e15a74e we should reduce nak_buffer[] size Sylvain Rochet 2012-06-04 22:22:37 +02:00
  • d6e5ca722f setting default route by default Sylvain Rochet 2012-06-04 19:00:36 +02:00
  • cd3ba00479 get_mask now returns "255.255.255.255" by default, which is what we want in almost all cases on a PPP link Sylvain Rochet 2012-06-04 18:58:05 +02:00
  • c549dba725 re-enabled LCP echo interval / echo fail Sylvain Rochet 2012-06-04 16:25:16 +02:00
  • ca1ad99bea PPPoE reauth bug fixed Sylvain Rochet 2012-06-04 15:31:29 +02:00
  • 2c7bd7e591 fixed print_string() prototype Sylvain Rochet 2012-06-04 01:45:33 +02:00
  • bea45b3c30 cleared IDE warnings Sylvain Rochet 2012-06-04 00:59:24 +02:00
  • 093c7b4386 cleaned depreacted __P() and __V() macros, removed the legacy varargs.h header Sylvain Rochet 2012-06-04 00:34:28 +02:00
  • 8332a5aa53 disabled all plugins hooks Sylvain Rochet 2012-06-04 00:12:45 +02:00
  • eb020656d2 disabled all plugins hooks Sylvain Rochet 2012-06-04 00:12:17 +02:00
  • 31456a6dfe removed CamelCase in ppp.c and ppp_impl.h, added compat macro in ppp.h (but disabled for now) Sylvain Rochet 2012-06-03 23:56:56 +02:00
  • 03fda0f803 removed CamelCase for all ppp.h declared functions Sylvain Rochet 2012-06-03 21:48:10 +02:00
  • c09f03f6e8 VJ support is back! Sylvain Rochet 2012-06-03 20:44:47 +02:00
  • 3bad9ff50a ppp_impl.h is back! Sylvain Rochet 2012-06-03 20:25:32 +02:00
  • 0663421d01 re-added PPPoS code from the previous port, it builds, maybe it works Sylvain Rochet 2012-06-03 20:05:40 +02:00
  • 10175caa38 fixed MD5 Random enabling conditions Sylvain Rochet 2012-06-03 16:59:50 +02:00
  • 103ad75c50 automatically enable MD5 Random support if CHAP or EAP is enabled Sylvain Rochet 2012-06-03 16:51:03 +02:00
  • 2f5f86d6fc don't build any PPP file if PPP support is disabled Sylvain Rochet 2012-06-03 16:38:26 +02:00
  • 89d2c2917f more ppp.[ch] cleaning Sylvain Rochet 2012-06-03 16:24:33 +02:00
  • 05817aa3b9 LQR (Link Quality Report) support is now optional Sylvain Rochet 2012-06-03 14:02:25 +02:00
  • 5464ed6661 removed all useless header files, merged ppp_defs.h to ppp.h Sylvain Rochet 2012-06-03 13:53:45 +02:00
  • 05c84a147d added ECP_SUPPORT in opt.h (disabled by default); renamed MD5_SUPPORT to PPP_MD5_RANDM, which is more meaningful Sylvain Rochet 2012-06-03 13:07:46 +02:00
  • 9c35403b98 clarified a bit more ppp.[ch] Sylvain Rochet 2012-06-03 01:46:46 +02:00
  • b5b075eb04 demystified a bit the PPP impl, renamed output() to ppp_output() to prevent conflict Sylvain Rochet 2012-06-03 00:30:12 +02:00
  • e1261c9620 removed all system headers except the strict minimum Sylvain Rochet 2012-06-02 23:29:40 +02:00
  • 5531bca078 make it build with avr32-gcc Sylvain Rochet 2012-06-02 23:04:03 +02:00
  • 28b9dd50ff build PolarSSL MD5 if MD5_SUPPORT is enabled (for randm) Sylvain Rochet 2012-06-02 21:31:13 +02:00
  • 44c2a0a7fc fixed most PPP compilation warnings with -pedantic Sylvain Rochet 2012-06-02 21:25:58 +02:00
  • d143acfc76 fixed all PPP compilation warnings with -Wall Sylvain Rochet 2012-06-02 20:46:52 +02:00
  • b4d59fd52d removed headers that were initially copied but not used (yet) Sylvain Rochet 2012-06-02 19:37:40 +02:00
  • 2ee2a1b730 removed sys-linux.c Sylvain Rochet 2012-06-02 19:34:37 +02:00
  • 86ebc8e46c removed pppd.h and ppp.c, renamed pppmy.c to ppp.c and pppmy.h to ppp.h Sylvain Rochet 2012-06-02 19:30:31 +02:00
  • 29c5ee6b19 pppd.h disabled, renamed MAX() to LWIP_MAX() Sylvain Rochet 2012-06-02 19:19:51 +02:00