Commit Graph

  • ab8119360e udp: add core-level multicast support for IPv6 David van Moolenbroek 2017-02-06 14:12:37 +00:00
  • 4a9db56f4c Tiny speed/size improvement: don't check netconn_type twice on socket-receive sg 2017-02-10 22:01:21 +01:00
  • a3fc38037a minor: move assert to a slightly better place sg 2017-02-10 21:30:07 +01:00
  • 240cf62056 tcp: fix accept event on closed listening PCBs David van Moolenbroek 2017-02-10 17:26:38 +00:00
  • b9e66bfcfb Provide a better way to include system's <errno.h> for errno + error numbers (LWIP_ERRNO_INCLUDE can't be defined to <errno.h> at least on GCC/linux) sg 2017-02-10 21:18:08 +01:00
  • 239498f37c Implement task #14367: Hooks need a better place to be defined We now have a #define for a header file name that is #included in every .c file that provides hooks. Dirk Ziegelmeier 2017-02-10 13:25:04 +01:00
  • bc07fd9db5 Fixed bug #47485 (tcp_close() should not fail on memory error) by retrying to send FIN from tcp_fasttmr goldsimon 2017-02-10 09:42:38 +01:00
  • 82711e069c socket_priv.h: add newline at EOF Joel Cunningham 2017-02-09 23:17:01 -06:00
  • 2cab253b34 Minor if_api.h cleanups Joel Cunningham 2017-02-09 22:48:47 -06:00
  • 3a7e03aaff Add errno support to if_indextoname() Joel Cunningham 2017-02-09 22:32:29 -06:00
  • 852993029d Add sockets_priv.h header Joel Cunningham 2017-02-09 22:04:30 -06:00
  • c396dd4554 Clean up icmp6.c a bit after adding IPv6 scopes sg 2017-02-09 21:17:58 +01:00
  • 702091d548 igmp.c: igmp_lookup_group() should be static Dirk Ziegelmeier 2017-02-09 21:08:40 +01:00
  • 4d8fec3b67 Rename "IPv6 mapped IPv4 addresses" to their correct name from RFC4191: "IPv4-mapped IPv6 address" Dirk Ziegelmeier 2017-02-09 21:01:48 +01:00
  • c1c470fc4c Fixed bug #44032 (LWIP_NETCONN_FULLDUPLEX: select might work on invalid/reused socket) by not allowing to reallocate a socket that has "select_waiting != 0" sg 2017-02-09 20:41:27 +01:00
  • eae4129863 Documentation updates related to Joel's if_api changes Dirk Ziegelmeier 2017-02-09 19:39:07 +01:00
  • fb0a750970 Choose another title for zones documentation page Dirk Ziegelmeier 2017-02-09 13:21:02 +01:00
  • a826b1aeeb Add IPv6 scopes to documentation Dirk Ziegelmeier 2017-02-09 13:08:52 +01:00
  • ea093d3a53 http_add_connection: add connections to the front to be faster (and really fix bug #50059) goldsimon 2017-02-09 13:08:17 +01:00
  • 5743864744 Fixed bug #50059 (httpd LWIP_HTTPD_SUPPORT_11_KEEPALIVE vs. LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED) goldsimon 2017-02-09 13:01:37 +01:00
  • 819bfbb943 Fix bug #50220 (mld6_leavegroup does not send ICMP6_TYPE_MLD, even if last reporter) Luc Revardel 2017-02-08 22:29:32 +01:00
  • 03f47e58a3 udp/raw: prevent packet length overflows David van Moolenbroek 2017-01-05 18:13:41 +00:00
  • fffd61c746 Patch #9250 (slightly changed): fix source substitution in ip6_output_if() (broken in 2014 with be75c483d0) David van Moolenbroek 2017-02-08 22:16:32 +01:00
  • 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 abef0b44a8. 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