Commit Graph

  • de9054cb7a memp: cleaned up MEMP_MEM_MALLOC: - support memp stats when MEMP_MEM_MALLOC==1 (bug #48442); - hide MEMP_MEM_MALLOC in memp.c instead of messing up the header file; - make MEMP_OVERFLOW_CHECK work when MEMP_MEM_MALLOC==1 sg 2016-07-21 22:17:32 +02:00
  • 413eeef5fa minor: moved sanity check from mem.c to init.c sg 2016-07-21 22:16:05 +02:00
  • 6e6ce4fb78 Make SYS_LIGHTWEIGHT_PROT==1 the default since it's more often used like that and it's more safe as default; improved some option's comments sg 2016-07-21 22:10:02 +02:00
  • f98c3dd4b5 LWIP_MPU_COMPATIBLE: help dumb compilers to see 'msg' is used (MSVC :( sg 2016-07-21 21:54:13 +02:00
  • 806298583b Filelists.mk: make init.c the first file compiled, to have the sanity checks first sg 2016-07-21 20:47:43 +02:00
  • 764343ebc7 Revert "PPP: restore PPPoE devices without Ethernet ARP support, i.e. PPPoE only devices" Sylvain Rochet 2016-07-21 13:47:40 +02:00
  • 523b11e664 fixed bug #48543 (TCP sent callback may prematurely report sent data when only part of a segment is acked) and don't include SYN/FIN in snd_buf counter (patch by Ambroz Bizjak) goldsimon 2016-07-21 13:47:52 +02:00
  • d43c092f17 PPP: restore PPPoE devices without Ethernet ARP support, i.e. PPPoE only devices Sylvain Rochet 2016-07-21 13:19:04 +02:00
  • 9cc3fb2e63 Fix comment in opt.h Dirk Ziegelmeier 2016-07-21 12:58:03 +02:00
  • 802a4f2a14 Fix compiling of snmp_mib2_ip.c when ARP is not enabled Dirk Ziegelmeier 2016-07-21 12:54:15 +02:00
  • 3ad2ad2329 Remove reference to PPPOE_SUPPORT in opt.h - leads to compile errors because it has no default definition (only in ppp_opts.h) Dirk Ziegelmeier 2016-07-21 12:53:33 +02:00
  • 299a19e135 Add travis-ci Continous integration to docs Dirk Ziegelmeier 2016-07-20 20:06:45 +02:00
  • e8ffac852e Fixed bug #48551 (autoip_supplied_address() does not work when address is first assigned); fixed AutoIP timeouts goldsimon 2016-07-20 08:28:16 +02:00
  • 98d58ffd59 minor: fixed wrong indentation sg 2016-07-19 22:38:34 +02:00
  • 97b8e88e69 netif_set_addr(): when removing an address (setting address to ANY), we have to remove it *before* changing netmask/gw to ensure that tcp RST segment can be sent correctly sg 2016-07-19 22:34:22 +02:00
  • 24a339a609 autoip: made private things private, use etharp_* shortcuts instead of etharp_raw() sg 2016-07-19 22:27:20 +02:00
  • 86e419425b minor: code layout only sg 2016-07-19 22:06:59 +02:00
  • d0a79ff085 fixed bug #48477 (ARP input packet might update static entry) sg 2016-07-19 22:01:42 +02:00
  • dff46e3816 Fixed bug #48539 (possible crash when packet received in SYN_SENT state) sg 2016-07-19 21:23:21 +02:00
  • b06f14c11f worked on UPGRADING for 2.0.0 sg 2016-07-19 20:38:08 +02:00
  • 579fffd2ec fixed task #14084: make dhcp_supplied_address() usable in netif change callbacks triggered by changing the netif address assigned by dhcp goldsimon 2016-07-19 12:58:21 +02:00
  • 5d4c1432c2 Fix bug #48436: Naming clash for timers.c (with FreeRTOS) Rename timers.* to timeouts.* Dirk Ziegelmeier 2016-07-19 12:44:12 +02:00
  • 6adeb706a6 change tcp_pcb->acked to be a global variable: used in one call stack only (idea by Ambroz Bizjak) goldsimon 2016-07-19 10:38:01 +02:00
  • c641ae3d3d minor: tabs->spaces goldsimon 2016-07-19 10:36:43 +02:00
  • 72208cddfa Rename ip_frag.* to ip4_frag.* Dirk Ziegelmeier 2016-07-19 10:12:56 +02:00
  • 7037b340c1 Move etharp to core/ipv4, which is a more appropriate place for it Dirk Ziegelmeier 2016-07-19 09:29:51 +02:00
  • 06c7404461 Fix bug #48510, DHCP requires ARP Use solution 2 proposed by Jens Nielsen Dirk Ziegelmeier 2016-07-19 09:09:57 +02:00
  • 6c0d78caaa Fixed trying to send RST for unconnected (but bound) pcb goldsimon 2016-07-19 09:05:48 +02:00
  • 4ec3d29168 Fix bug #48504: tcp_debug_print_pcbs reads nonexisting tcp_pcb fields Dirk Ziegelmeier 2016-07-19 08:54:44 +02:00
  • 09636c5b92 Let lwip_stats appear in docs Dirk Ziegelmeier 2016-07-19 08:32:13 +02:00
  • cb99ca099e docs: RTF manual does not look good, deactivate it in lwip.Doxyfile Dirk Ziegelmeier 2016-07-19 08:24:59 +02:00
  • 2f950a7dcc Some documentation updates Dirk Ziegelmeier 2016-07-18 23:00:41 +02:00
  • a324c7a8e4 Update #defines in lwip.Doxyfile to generate meaningful memp.c docs Dirk Ziegelmeier 2016-07-16 19:04:12 +02:00
  • 4ea1d62d45 Update some doxygen comments Dirk Ziegelmeier 2016-07-16 17:56:29 +02:00
  • 421dab87e8 fixed bug #48476 (TCP sent callback called wrongly due to picking up old pcb->acked sg 2016-07-11 21:43:39 +02:00
  • 01e5d6d819 memp.c: No need to init variables located in BSS section Dirk Ziegelmeier 2016-07-08 11:44:28 +02:00
  • 18c332ae51 fixed bug #48402 (Bug in skipping over TCP options) Ambroz Bizjak 2016-07-08 11:27:50 +02:00
  • 9a355502e1 snmp: fix compiling traps :-( goldsimon 2016-07-08 10:56:24 +02:00
  • 52da49cd81 snmp: changed name (snmp_length_outbound_varbind -> snmp_varbind_length) goldsimon 2016-07-08 10:24:06 +02:00
  • 288fc8ede3 fixed unit tests after changing memp stats goldsimon 2016-07-08 10:20:04 +02:00
  • 6293a835e9 fixed compiling: forgot to move one line :-( goldsimon 2016-07-08 10:16:46 +02:00
  • 6af4215f27 Next try to fix test_udp.c (can't compile it at my current machine) Dirk Ziegelmeier 2016-07-08 10:12:05 +02:00
  • 2df636fe77 memp: fixed STATS initialization goldsimon 2016-07-08 10:06:01 +02:00
  • e302b1bbd2 httpd: fixed using pools, fixed missing default value of LWIP_HTTPD_SSI_RAW, fixed typo goldsimon 2016-07-08 10:05:23 +02:00
  • c483520081 Fix compile of UDP unit test Dirk Ziegelmeier 2016-07-08 08:22:21 +02:00
  • 959042aa88 memp: fixed compiling various combinations of memp stats (display etc.) goldsimon 2016-07-08 08:21:57 +02:00
  • a463119597 Revert "MEMP memory can now be declared static since LWIP_DECLARE_MEMORY_ALIGNED was introduced today" Dirk Ziegelmeier 2016-07-08 08:18:37 +02:00
  • e0918d706e Re-add a few MEMP stats accessors - users may want to access/display MEMP stats Dirk Ziegelmeier 2016-07-08 08:17:46 +02:00
  • b939e9536d Minor: move some macros from memp.h to memp_priv.h Dirk Ziegelmeier 2016-07-07 22:05:30 +02:00
  • e9b0003085 MEMP memory can now be declared static since LWIP_DECLARE_MEMORY_ALIGNED was introduced today Dirk Ziegelmeier 2016-07-07 22:01:41 +02:00
  • 087ecab891 Add some comments to places where we cast through a void* to get rid of alignment warnings Dirk Ziegelmeier 2016-07-07 21:56:43 +02:00
  • 212eacd9d6 Fix bug #48356: private memp pools have no statistic counters Implement struct stats_mem instance for each pool, let lwip_stats.mem[] point to these instances Dirk Ziegelmeier 2016-07-07 21:55:51 +02:00
  • dcd52510ce Reduce code duplication in SNMP agent traps implementation. See patch #9038: SNMP Traps with varbinds, file #37748 by Marco Veeneman Marco Veeneman 2016-07-07 21:00:07 +02:00
  • 98e92f6550 Move alignment related #defines from mem.h to a better place: arch.h. mem.h should only describe heap API, not architecture/port specific alignment helper macros. Dirk Ziegelmeier 2016-07-07 13:51:34 +02:00
  • b91e47b518 Implement portable and overridable allocation of memory buffers Fixes bug #48300 (Private mempools allocate foreign memory), bug #48354 (Portable alignment defines/include required for static allocation) and bug #47092 (Tag memory buffers like memp_memory_xxx and ram_heap with a macro so that attributes can be attached to their definitions) Dirk Ziegelmeier 2016-07-07 13:35:13 +02:00
  • 811b237bd7 dns: fixed declaration and usage of DNS_LOOKUP_LOCAL_EXTERN() goldsimon 2016-07-07 13:02:47 +02:00
  • 7e3de89646 minor: coding style goldsimon 2016-07-07 13:02:18 +02:00
  • 4b136d631a Fix (correct) clang warning about increased alignment requirements in netifapi.c and pppapi.c Dirk Ziegelmeier 2016-07-05 08:59:25 +02:00
  • 5a1b9bf808 SNMP traps quick fix: Do not return err_t as u16_t in snmp_varbind_len. This need further cleanup. Dirk Ziegelmeier 2016-07-05 08:48:59 +02:00
  • 14ca418ac0 minor: coding style fixes goldsimon 2016-07-05 07:36:51 +02:00
  • cb5f7859fd Apply patch #9038: SNMP Traps with varbinds Applied with modifications. Original patch from Marco Veeneman. Dirk Ziegelmeier 2016-07-04 21:11:20 +02:00
  • 2fdea8b79b fixed bug #48398 (dns: entries reused during found-callback could be aborted if ttl==0) goldsimon 2016-07-04 13:55:20 +02:00
  • 2e26fc9224 tcp: Avoid 3-second delay for a half-open connection Michael Brown 2016-07-04 12:25:22 +02:00
  • fd83f4fb22 Fix bug #48359 (dns entries are not set to state DONE) goldsimon 2016-07-04 10:22:20 +02:00
  • d362e167c0 PPP, documentation: fix notify phase callback documentation Sylvain Rochet 2016-07-03 19:11:28 +02:00
  • a12c149093 PPP, documentation: add notify phase callback (PPP_NOTIFY_PHASE) documentation Sylvain Rochet 2016-07-03 19:05:32 +02:00
  • afa2a96085 Apply patch from Ambroz Bizjak: I think that "#define SZT_F PRIuPTR" has a much better chance of being right, making the assumption that uintptr_t is the same as size_t. Dirk: I think Ambroz is right. Dirk Ziegelmeier 2016-07-03 09:30:47 +02:00
  • 9d0546839c init: fix NO_SYS targets build Sylvain Rochet 2016-07-02 21:53:24 +02:00
  • 28aaf2caf4 PPP: introduce ppp_set_neg_pcomp, ppp_set_neg_accomp, ppp_set_neg_asyncmap, ppp_set_asyncmap Sylvain Rochet 2016-07-02 21:42:51 +02:00
  • 40e9eae791 PPP: improve various comments on options Sylvain Rochet 2016-07-02 21:24:26 +02:00
  • f0dbba6406 PPP, PPPoE, PPPoL2TP: enforce disabling of silent and passive modes Sylvain Rochet 2016-07-02 21:10:24 +02:00
  • a99fe1fa32 PPP, LCP: restart flag is not used, build out Sylvain Rochet 2016-07-02 21:05:01 +02:00
  • e7069d6e82 PPP: introduce ppp_set_passive and ppp_set_silent Sylvain Rochet 2016-07-02 20:59:50 +02:00
  • b97c4d96e2 PPP, SERVER: fix build if PAP_SUPPORT is not enabled Sylvain Rochet 2016-07-02 20:02:47 +02:00
  • f21aede031 PPP: don't build ppp_set_auth if no authenticator are enabled Sylvain Rochet 2016-07-02 19:43:08 +02:00
  • c1c3d0e1ba PPP: fix build when MSCHAP authentication feature is disabled at compile time Sylvain Rochet 2016-07-02 19:36:34 +02:00
  • 50b5b4c4dd PPP, PPPAPI: remove useless pppapi_set_auth function Sylvain Rochet 2016-07-02 19:09:50 +02:00
  • b9b36084a5 PPP: introduce ppp_set_mppe Sylvain Rochet 2016-07-02 18:53:59 +02:00
  • f226e107a6 PPP: updated pppd followup Sylvain Rochet 2016-07-02 17:13:10 +02:00
  • d4f824398c PPP, from PPPD upstream: fix sign-extension when displaying bytes in octal Sylvain Rochet 2016-07-02 16:55:57 +02:00
  • b438a0d6fd PPP, PPPoE: fix potential out-of-bound if AC cookie is too long Sylvain Rochet 2016-07-02 16:20:57 +02:00
  • 7c368b7f36 PPP, PPPoS: use offsetof in place of the traditional NULL hack Sylvain Rochet 2016-07-02 15:11:02 +02:00
  • 06782c699c httpd: fixed persistent connections for files not containing HTTP header goldsimon 2016-07-01 12:43:03 +02:00
  • 42dfa71f97 Make LWIP_TCPIP_CORE_LOCKING==1 the default (and warn if LWIP_COMPAT_MUTEX==1 in that case as mutexes are required to prevent priority inversion on tcpip_thread operations) sg 2016-06-30 22:37:37 +02:00
  • d3e55185c6 Apply patch #9034: Use stdint.h and inttypes.h in lwip/arch.h Ports now only need to define datatypes and format strings on compilers that do not provide these two headers. Known good: GCC, IAR. Known bad: MSVC 2010. Dirk Ziegelmeier 2016-06-30 20:15:22 +02:00
  • e6bc591a1e fixed bug #48170 (Vulnerable to TCP RST spoofing) (original patch by Fabian Koch) goldsimon 2016-06-30 08:50:42 +02:00
  • d31d2ee882 Revert "fixed bug #48170 (patch by Fabian Koch)" goldsimon 2016-06-30 08:41:50 +02:00
  • 91b5d8ad1e Patch by Marco Veeneman: Generic snmpv1 traps should be sent from .1.3.6.1.2.1.11 (iso.org.dod.internet.mgmt.mib-2.snmp). Dirk Ziegelmeier 2016-06-29 22:16:43 +02:00
  • aecbefc728 Patch by Marco Veeneman: Tthe variable bindings field is missing in the trap message. Even if there are no varbinds attached to the trap, this field should still be present. Dirk Ziegelmeier 2016-06-29 22:14:37 +02:00
  • ecbe45bf43 PPP, VJ: fixes potentially unaligned *u16_t and *u32_t accesses Sylvain Rochet 2016-06-28 22:51:18 +02:00
  • a0e8c2dd8f Revert commit e40175ef05: Fix a few more CLANG alignment warnings - clang warns although the target struct is packed (and may therefore be unaligned) :-( Dirk Ziegelmeier 2016-06-28 21:54:48 +02:00
  • 500e748888 Fix [bug #48330] Memory leak in snmp_send_trap function Forgot to free pbuf after sending it Dirk Ziegelmeier 2016-06-28 21:31:12 +02:00
  • 4047702928 Fix clang warning about unreachable code Erik Ekman 2016-06-27 22:32:18 +02:00
  • 5d356c96f5 Minor: cleanup my last commit Dirk Ziegelmeier 2016-06-27 20:57:22 +02:00
  • 39545d2c6d Fix clang warning about unreachable code Dirk Ziegelmeier 2016-06-27 20:56:21 +02:00
  • e40175ef05 Fix a few more CLANG alignment warnings - clang warns although the target struct is packed (and may therefore be unaligned) :-( Dirk Ziegelmeier 2016-06-27 20:54:17 +02:00
  • 2d7a6a5d94 remove "LWIP_HTTPD_MAX_CGI_PARAMETERS" from httpd.h (has already been moved to httpd_opts.h goldsimon 2016-06-27 11:03:46 +02:00
  • c164869f6d snmp: use 'tcpip_callback' instead of '.._with_block' goldsimon 2016-06-27 11:01:34 +02:00
  • 236bc19422 fixed bug #48170 (patch by Fabian Koch) goldsimon 2016-06-27 10:31:36 +02:00
  • ddac5b1895 PPP: introduce ppp_set_listen_time Sylvain Rochet 2016-06-26 22:51:40 +02:00