Commit Graph

  • 21737f57e5 Fixed bug #50090 (ast_unsent->oversize_left can become wrong value in tcp_write error path) sg 2017-02-08 21:42:30 +01:00
  • 0284961d61 if APIs: update copyright claim Joel Cunningham 2017-02-07 10:29:57 -06:00
  • 22b892571b Add parenthesis to clarify sin6_scope_id cast Joel Cunningham 2017-02-07 10:12:31 -06:00
  • a0a64a59ba Fix sockets on MSVC after IPv6 zone work Joel Cunningham 2017-02-07 10:03:33 -06:00
  • 8a34570b83 Fix compile without IPv6 zone support Fixed warning about unreachable code because ip6_addr_has_zone is always 0 Dirk Ziegelmeier 2017-02-05 13:33:10 +01:00
  • 46f4584796 Fix cast from pointer to numeric in slipif.c Dirk Ziegelmeier 2017-02-05 12:53:42 +01:00
  • 55e6bf7e3d Fix compile when IPv6 is disabled Dirk Ziegelmeier 2017-02-05 12:53:20 +01:00
  • d857344aa8 patch #9249: tcp: Fix unused parameter 'dest' build warning if !LWIP_IPV6 Apply modified version of Axel Lin's patch, without #ifdef Dirk Ziegelmeier 2017-02-05 12:44:32 +01:00
  • ef758082ed Fix that slipif used netif->num to pass parameters to slipif_init. Use netif->state now, interpreted as u8_t port number (not a pointer any more!) Dirk Ziegelmeier 2017-02-05 12:35:42 +01:00
  • 1fd56658b8 Add IPv6 scopes to CHANGELOG Dirk Ziegelmeier 2017-02-04 18:44:30 +01:00
  • be7ae5e36b dns: Slightly improve dns_alloc_random_port implementation Axel Lin 2017-02-03 15:59:31 +08:00
  • 2903b476c7 ip6: fix parentheses in ip6_addr_has_scope David van Moolenbroek 2017-02-04 13:56:13 +00:00
  • f60a2e8f85 Fix a few build problems after merging IPv6 zones Dirk Ziegelmeier 2017-02-04 11:59:35 +01:00
  • 4fb7d74165 task #14314: include cleanups Joel Cunningham 2017-02-03 16:45:29 -06:00
  • 3d80e51b2a tcp: eliminate some redundant route lookups David van Moolenbroek 2017-01-26 23:33:57 +00:00
  • 29ddfd1d71 Add support for IPv6 address scopes David van Moolenbroek 2017-01-23 23:04:39 +00:00
  • 1839153609 minor: dhcp_network_changed(): assert for valid state, fix coding style sg 2017-02-03 21:20:39 +01:00
  • 855ea02b15 netdb: Use LWIP_MEM_ALIGN_BUFFER instead of open coded Axel Lin 2017-02-03 10:07:48 +08:00
  • 3e30dbc75c dns: Clean up unneeded #if guard for DNS_LOCAL_HOSTLIST/DNS_LOOKUP_LOCAL_EXTERN Axel Lin 2017-02-03 11:39:20 +08:00
  • b6c995fed8 Rename if.c to if_api.c Joel Cunningham 2017-02-02 08:59:50 -06:00
  • ff04c2046e Fix bug #50206: UDP Netconn bind to IP6_ADDR_ANY fails The tests were in to catch user errors, but they seem to get in the way of application programming :-) The checks in *_send() remain active to catch when PCB source and destination address types do not match Dirk Ziegelmeier 2017-02-02 10:25:05 +01:00
  • 2ad03b0ebd Add documentation for LWIP_PROVIDE_ERRNO in arch.h Dirk Ziegelmeier 2017-02-02 09:18:30 +01:00
  • 29b7c75a72 Revert fixes "bug #50162: Minor bug in errno.h" They are a breaking change :-( This reverts commit abef0b44a86eef173c8f32bea3d4966c02371b87. Dirk Ziegelmeier 2017-02-02 08:42:09 +01:00
  • e8d5499d72 Code cleanup: add some parentheses in tcp.c and tcp_out.c Dirk Ziegelmeier 2017-02-01 15:28:10 +01:00
  • 4b091cfc2a Fix comment on lwip_shutdown() (it's not unimplemented any more) goldsimon 2017-02-01 10:09:37 +01:00
  • 48d2243845 Clarify/add LWIP_PROVIDE_ERRNO comments goldsimon 2017-01-31 12:38:53 +01:00
  • 2685d742e8 stats: Remove superfluous /t in end of stats display Axel Lin 2017-01-31 15:31:06 +08:00
  • a1df0c5d77 Fix build failue in err.h reported by Axel Lin In file included from ../../../../lwip/src/include/lwip/sockets.h:49:0, from ../../../../lwip/src/core/init.c:47: ../../../../lwip/src/include/lwip/errno.h:46:5: error: "LWIP_PROVIDE_ERRNO" is not defined [-Werror=undef] #if LWIP_PROVIDE_ERRNO ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ../Common.mk:93: recipe for target 'init.o' failed make: *** [init.o] Error 1 Dirk Ziegelmeier 2017-01-31 08:35:54 +01:00
  • 2e528ad510 PPP: clear address state before clearing address David van Moolenbroek 2017-01-23 17:27:51 +00:00
  • abef0b44a8 bug #50162: Minor bug in errno.h #ifdef -> #if Dirk Ziegelmeier 2017-01-27 09:09:21 +01:00
  • ee3154999a Add CHANGELOG to lwIP HTML documentation Dirk Ziegelmeier 2017-01-24 11:45:51 +01:00
  • 7a99d2f8e9 Fix documentation on netif_index_to_name Dirk Ziegelmeier 2017-01-24 11:39:34 +01:00
  • 6fbec25c8f if.c include lwip/if.h Joel Cunningham 2017-01-23 17:38:54 -06:00
  • fbfe987ae8 netif: clean up remaining index shadowing from if APIs Joel Cunningham 2017-01-23 17:21:43 -06:00
  • d297d466ed Fix some more variables named "index" - found by Joel Cunningham Dirk Ziegelmeier 2017-01-23 21:46:11 +01:00
  • 0ef298b21f Fix warning about shadowing a global variable "index" in netifapi.c Dirk Ziegelmeier 2017-01-23 21:12:29 +01:00
  • 9e0b36747a Fix warning about shadowing a global variable "index" in if.c Dirk Ziegelmeier 2017-01-23 20:21:49 +01:00
  • b5011e7012 api:if: Handle case when LWIP_NETIF_API is not defined Ajay Bhargav 2017-01-23 09:26:57 -06:00
  • e158f87286 Netif: add allowance for init to override netif->num Joel Cunningham 2017-01-20 14:49:11 -06:00
  • edac92d03a Minor compile fix in netifapi.c: Use LWIP_CONST_CAST to cast away constness Dirk Ziegelmeier 2017-01-20 21:27:05 +01:00
  • 1b20e664bf Task #14314: Add interface name/index APIs Joel Cunningham 2017-01-19 21:38:46 -06:00
  • 9c80a66253 Netif: add netif_num overflow assert Joel Cunningham 2017-01-20 13:52:11 -06:00
  • 645ca84704 Retry 1 to fix bug #50064 Accidentally used the wrong destination HW addr Dirk Ziegelmeier 2017-01-18 13:43:01 +01:00
  • 7aaa888d1d Optimize my last fix in etharp.c, I missed the variable declaration at the beginning of the function Dirk Ziegelmeier 2017-01-18 13:21:11 +01:00
  • c362c6a02c Add note about bug #50064 to CHANGELOG Dirk Ziegelmeier 2017-01-18 12:33:26 +01:00
  • 47bac3c11f Remove special ARP reply optimization from etharp.c - Code duplication with etharp_raw() - No great effect on perfomance - May make reworking PBUF handling code more complicated (see bug #49914) - The check for p->type == PBUF_REF is a strange special case, too - Simon also voted to remove it Dirk Ziegelmeier 2017-01-18 12:25:09 +01:00
  • 199c38de29 Fix bug #50064: Zero-copy RX: ARP reply fails with PBUF_REF Kept the optimized version intact, see discussion in savannah bug tracker Dirk Ziegelmeier 2017-01-18 10:15:02 +01:00
  • b198c877db fix compiling TCP unit tests with IPv6 enabled sg 2017-01-16 14:21:08 +01:00
  • 141b5def46 tcp_out: Use LWIP_MIN instead of open-coded for better readability Axel Lin 2017-01-16 16:47:02 +08:00
  • 30aedfc3f7 tcp_out: Fix comment for last_unsent->oversize_left and tcp_pcb.unsent_oversize Axel Lin 2017-01-16 10:55:56 +08:00
  • df8e404abd Add some parentheses for better code readability in tcp_in.c Dirk Ziegelmeier 2017-01-13 11:13:44 +01:00
  • 9898d406bc Fix bug #50040: pbuf_alloc(..., 65534, PBUF_RAM) succeeds Check for integer overflow when calculating memory allocation size Dirk Ziegelmeier 2017-01-15 17:36:33 +01:00
  • 0043bf78b6 Minor typo fix in tcp_out.c Dirk Ziegelmeier 2017-01-15 16:37:25 +01:00
  • e1598b0b11 tcp_out: Fix oversize vs. space assertion test Axel Lin 2017-01-15 20:13:41 +08:00
  • 861dab5b22 Set lwIP version to 2.0.2 in doxygen script Dirk Ziegelmeier 2017-01-15 09:22:33 +01:00
  • 5c58e25de5 Minor code readability improvement in mqtt.c Dirk Ziegelmeier 2017-01-15 09:22:13 +01:00
  • 1d7f375992 Fix compile error in ip6_frag.c ../../../../lwip/src/core/ipv6/ip6_frag.c: In function ‘ip6_reass’: ../../../../lwip/src/core/ipv6/ip6_frag.c:567:7: error: ISO C90 forbids mixed declarations and code [-Werror=pedantic] Dirk Ziegelmeier 2017-01-14 09:31:06 +01:00
  • 92511f4711 Fix part 2 of bug #50042: ETHADDR16_COPY from netif->hwaddr Eliminate ETHADDR32_COPY macro - it cannot be used in ETH_PAD_SIZE case. I could have kept it by defining it to ETHADDR16_COPY in case of ETH_PAD_SIZE, but I did not consider it worth another #ifdef mess. Dirk Ziegelmeier 2017-01-13 08:18:33 +01:00
  • 6748aa0818 Fix part 1 of bug #50042: ETHADDR16_COPY from netif->hwaddr Rearrange struct netif to group more u8_t values together which may result in smaller struct netif on 32 bit systems Dirk Ziegelmeier 2017-01-13 08:06:50 +01:00
  • bc583c993a Add comment about my fix to bug #47512: MPU_COMPATIBLE may fail on empty pool to api_lib.c Code looks like it could be optimized, but it can not! Dirk Ziegelmeier 2017-01-12 16:36:17 +01:00
  • 2c3538cb8f IPv6: Fix compile error of ip6_frag.c Axel Lin 2017-01-11 23:08:35 +08:00
  • 9713baea55 ip6: improve length checks for extension headers David van Moolenbroek 2017-01-09 20:30:24 +00:00
  • 7cedf7ae71 IPv6: fragment reassembly fixes David van Moolenbroek 2017-01-09 18:28:06 +00:00
  • b17c050861 Fix compile of my last change in httpd_opts.h (use of undefined preprocessor macro) Dirk Ziegelmeier 2017-01-11 12:28:09 +01:00
  • 2b1ebda6f1 Minor correction to last patch: Avoid #including socket.h in api_msg.c Dirk Ziegelmeier 2017-01-11 12:27:30 +01:00
  • 5e9df2c698 lwip: fix broken default ICMPv6 handling of checksums. Knut Andre Tidemann 2017-01-11 12:11:20 +01:00
  • f8ef8c48f7 Simplify HTTPD #include path handling - Move fsdata.h content to lwip/apps/fs.h -> no #include path needed any more to src/apps/httpd/ - Create a #define to specify fsdata file name. One can use path in there now, e.g. "../mywebserver/mkfsdata_output.c" -> no #include path needed any more to location of generated file Dirk Ziegelmeier 2017-01-11 10:59:15 +01:00
  • a038e1502f Add David's IPv6 improvements to CHANGELOG Dirk Ziegelmeier 2017-01-11 08:42:40 +01:00
  • 2e265310c4 Fix (bogus) MSVC 2010 warning about uninitialized variable usage in ip6.c It's wrong because the variables are initialized during first loop iteration due to best_addr == NULL Dirk Ziegelmeier 2017-01-11 08:08:05 +01:00
  • 713146eeba nd6: cull destination cache on router removal David van Moolenbroek 2017-01-02 15:35:27 +00:00
  • a1130f8c7b nd6: some work on basic RFC 4861 compliance David van Moolenbroek 2016-12-30 22:36:16 +00:00
  • 0b9d7a386c ip6: improve source address selection David van Moolenbroek 2016-12-30 21:41:30 +00:00
  • 08de0e9617 ip6/nd6: route using on-link prefixes, not addresses David van Moolenbroek 2016-12-30 16:26:49 +00:00
  • 22c2fd1b58 nd6: improve router selection David van Moolenbroek 2016-12-30 14:01:34 +00:00
  • 901664eca1 netif: more ip6 state changes invoke status callback David van Moolenbroek 2016-12-29 22:27:10 +00:00
  • d99334573b nd6: fix Duplicate Address Detection David van Moolenbroek 2016-12-29 22:13:12 +00:00
  • 2ff04a931a nd6: check link status before sending packets David van Moolenbroek 2016-12-20 22:11:54 +00:00
  • e0c5e1988f nd6: improve address autoconfiguration support David van Moolenbroek 2016-12-29 21:03:41 +00:00
  • e5071daf45 Add MQTT to CHANGELOG (too late for 2.0.1 release...) STABLE-2_0_1_RELEASE Dirk Ziegelmeier 2017-01-08 19:45:28 +01:00
  • 980b219c28 Put 2.0.1 version tag in UPGRADING document Dirk Ziegelmeier 2017-01-08 19:33:52 +01:00
  • 76b4365aaa Remove duplicate netif_dhcp_data() macro Erik Ekman 2017-01-05 21:14:07 +01:00
  • 3cc7b319d9 Add MQTT to CHANGELOG (too late for 2.0.1 release...) Dirk Ziegelmeier 2017-01-08 19:45:28 +01:00
  • 19f075a92a Put 2.0.1 version tag in UPGRADING document Dirk Ziegelmeier 2017-01-08 19:33:52 +01:00
  • e3435401f1 Add David's changes from patch #9208 to CHANGELOG Dirk Ziegelmeier 2017-01-08 19:29:46 +01:00
  • b59472cf63 raw: core support for IP_HDRINCL socket option David van Moolenbroek 2017-01-05 15:32:54 +00:00
  • 162cc4d343 raw: split off raw_sendto_if_src() from raw_sendto() David van Moolenbroek 2017-01-05 14:08:47 +00:00
  • aea7062223 raw: extend support for connected sockets David van Moolenbroek 2017-01-04 22:23:29 +00:00
  • 52f448978f MQTT: Add check that WILL topic length must be > 0 Dirk Ziegelmeier 2017-01-08 19:08:54 +01:00
  • 6d5ddb7139 MQTT: Fix possible bug in connect message generation that WILL flag can be set without appending a will message The boolean condition of setting the WILL flag differs from that of appending the will message Found by Axel Lin (I fixed it the same way as Axel suggested, but I wanted a different commit message) Dirk Ziegelmeier 2017-01-08 19:07:43 +01:00
  • a2915b7142 mqtt: Slightly improve mqtt_create_request Axel Lin 2017-01-07 22:13:12 +08:00
  • 7faa4bcbe2 mqtt: Prevent NULL pointer dereference before assertion checking Axel Lin 2017-01-06 18:00:36 +08:00
  • 6c9a9b9d99 Remove duplicate netif_dhcp_data() macro Erik Ekman 2017-01-05 21:14:07 +01:00
  • 02eec304c3 Update version to 2.0.2 DEVELOPMENT in master branch Dirk Ziegelmeier 2017-01-05 15:03:09 +01:00
  • a5a4830b16 Set lwIP version to 2.0.1 RELEASE STABLE-2_0_1 Dirk Ziegelmeier 2017-01-05 15:02:10 +01:00
  • 1a2a9a4e96 Merge branch 'master' into STABLE-2_0_0 Dirk Ziegelmeier 2017-01-05 15:01:08 +01:00
  • 3a20ae3830 Add missing #include in netdb.c for atoi() Dirk Ziegelmeier 2017-01-05 08:55:12 +01:00
  • 0ffaccaec3 Add missing #include in httpd.c for atoi() Dirk Ziegelmeier 2017-01-05 08:53:26 +01:00
  • e94c9ffa70 Fix warning about bad cast in pbuf_skip() Dirk Ziegelmeier 2017-01-05 08:14:39 +01:00
  • 72316bdb5b Move macros to access DHCP and AUTOIP data to headers, users may want to access the members Dirk Ziegelmeier 2017-01-05 08:09:00 +01:00
  • 803a711e6a Fix warning that local variable may be used uninitialized in mem.c Dirk Ziegelmeier 2017-01-05 08:07:41 +01:00