Commit Graph

  • 801f26ee0c Minor documentation update Dirk Ziegelmeier 2016-10-16 19:07:55 +02:00
  • 4dffe521a3 api_msg.c: Trivial code cleanup Axel Lin 2016-10-13 23:37:14 +08:00
  • f5f8ab5acf Fix bug #49328: Crash error in ip6_frag due to Assertion Fail Dirk Ziegelmeier 2016-10-13 08:50:47 +02:00
  • e3a9f01fe4 Implement task #14180: IPv6 code should not reuse ip6_current_dest_addr() as temporary storage Dirk Ziegelmeier 2016-10-12 21:41:02 +02:00
  • 37d5691b19 Fix bug #49321: error.h missing opening "#ifdef __cplusplus" Reported by Martin Kortmann Dirk Ziegelmeier 2016-10-12 07:37:39 +02:00
  • 725feb0d4a mdns: Use netif_get/set_client_data helpers Erik Ekman 2016-10-11 11:34:59 +02:00
  • 6edde498e3 pbuf_copy: try to fix GCC const warning goldsimon 2016-10-11 09:52:44 +02:00
  • d5bfec2e52 ip4_frag: restore "lwip_ntohs" after last change goldsimon 2016-10-11 09:52:20 +02:00
  • 576f49ee2b Fixed bug #46467: ip_frag() shouldn't modify pbuf in case of a retransmission goldsimon 2016-10-11 09:47:03 +02:00
  • 697be5c2c3 Make some pbuf functions take const pbuf pointers goldsimon 2016-10-11 09:23:45 +02:00
  • c9cfbe27c1 tcp_out: Remove misleading comment in tcp_pbuf_prealloc() Axel Lin 2016-10-09 15:48:07 +08:00
  • 0a343948d9 Fix netconn/socket race condition when receiving RST while waiting on recvmbox sg 2016-10-07 21:46:26 +02:00
  • ed239c4e71 Apply patch #9139: Invalid format string in dhcp.c by Thomas Mueller Dirk Ziegelmeier 2016-10-10 09:57:07 +02:00
  • 695c81762c Minor: Fix comment in etharp.c Dirk Ziegelmeier 2016-10-09 12:28:34 +02:00
  • f6e27940bd Make lwIP compile with clang -Wdocumentation -> several documentation fixes Dirk Ziegelmeier 2016-10-09 12:21:39 +02:00
  • 9cd555c51a Minor: documentation typo fix Dirk Ziegelmeier 2016-10-09 10:24:26 +02:00
  • 4e74ae4bc9 Minor: documentation updates Dirk Ziegelmeier 2016-10-09 10:23:36 +02:00
  • 5477aa5a42 Minor: Documentation update Dirk Ziegelmeier 2016-10-09 09:41:26 +02:00
  • 70ccea9207 Make sys_restart_timeouts public also for !NO_SYS targets Ari Suutari 2016-10-07 20:31:15 +02:00
  • 69be49fdc3 Try to fix !defined(LWIP_PROVIDE_ERRNO) goldsimon 2016-10-07 16:22:33 +02:00
  • 740182de3c err: Fixup error code range checking in err_to_errno Axel Lin 2016-10-07 08:30:44 +08:00
  • ad3530ee10 One more compile fix in err.c Dirk Ziegelmeier 2016-10-06 20:20:07 +02:00
  • 86a92543de Try to fix unix build after Simon's errno changes (need sys_arch.h) Dirk Ziegelmeier 2016-10-06 16:01:32 +02:00
  • 2afc2a52d5 Fix comment on sys_mbox_new() (bug #49279) goldsimon 2016-10-06 13:25:11 +02:00
  • a1c0a0185b bug #48823: posix errors should be removed from arch.h (to new file 'lwip/errno.h') goldsimon 2016-10-06 13:21:00 +02:00
  • 05419912e0 def.h: Provide hton* / ntoh* functions to users by default for compatibility (can be turned off) Add note to UPGRADING document Dirk Ziegelmeier 2016-10-06 13:13:10 +02:00
  • 13fb616bb2 Cleanup hton*/ntoh* function handling and platform abstraction Let lwip use functions/macros prefixed by lwip_ internally to avoid naming clashes with external #includes. Remove over-complicated #define handling in def.h Make functions easier to override in cc.h. The following is sufficient now (no more LWIP_PLATFORM_BYTESWAP): #define lwip_htons(x) <your_htons> #define lwip_htonl(x) <your_htonl> Dirk Ziegelmeier 2016-10-06 12:55:57 +02:00
  • 0c06073819 Avoid code duplication in def.c Dirk Ziegelmeier 2016-10-06 09:26:59 +02:00
  • 50e09ccd2c Add note about new abstactions for itoa(), strnicmp(), stricmp() and strnstr() to UPGRADING document Dirk Ziegelmeier 2016-10-06 09:22:16 +02:00
  • fa211096c2 Fix macro name clash with windows headers in TFTP server Reported by Gisle Vanem Dirk Ziegelmeier 2016-10-05 21:02:46 +02:00
  • 87172d6d35 mdns: Use NETIF_TO_HOST at appropriate places Axel Lin 2016-10-05 15:02:59 +08:00
  • 60a507f88b ETHARP_TABLE_MATCH_NETIF is also used in the etharp_output shortcut Elias Reichart 2016-09-30 21:40:10 +02:00
  • 0d7805a86a tcp: fix FIN ACK handling with unsent data David van Moolenbroek 2016-09-29 19:31:22 +00:00
  • 9ba9dee2aa tcp: advance next seq nr for zero window probes David van Moolenbroek 2016-09-19 11:33:34 +00:00
  • 95754ba95a Another try to fix bug #49264: Crash Error when LWIP_SOCKET_OFFSET is in use Dirk Ziegelmeier 2016-10-04 14:05:56 +02:00
  • bef7873042 ND6: Always set neighbor_cache.state together with counter value to avoid inconsistency Dirk Ziegelmeier 2016-10-04 13:59:05 +02:00
  • ec236da972 Add comment for my last changes Dirk Ziegelmeier 2016-10-04 13:36:30 +02:00
  • ee27daffc4 Fix bug #48876: nd6: timers should be in ticks, not ms delay_time and stale_time are ticks now. reachable_time and invalidation_timer are untouched since they may originate from telegram values -> not converting them to ticks avoids an integer division Dirk Ziegelmeier 2016-10-04 13:30:23 +02:00
  • cdc97d2779 Correctly fix bug #49209: netconn_drain() fails to handle 'netconn_aborted' pointer goldsimon 2016-10-04 12:29:22 +02:00
  • d9c6badc55 Revert "Fixed bug #49209: netconn_drain() fails to handle 'netconn_aborted' pointer" goldsimon 2016-10-04 12:27:33 +02:00
  • 30251b1404 Fix bug #49264: Crash Error when LWIP_SOCKET_OFFSET is in use Handle LWIP_SOCKET_OFFSET in lwip_socket_drop_registered_memberships, lwip_socket_unregister_membership and lwip_socket_register_membership. Dirk Ziegelmeier 2016-10-04 12:34:53 +02:00
  • d1ed89b2e4 Fix accidental TAB in tftp_server.h Dirk Ziegelmeier 2016-10-04 10:31:43 +02:00
  • 81549578bf Fix compile of TFTP with MSVC Dirk Ziegelmeier 2016-10-04 08:54:52 +02:00
  • f8683499a6 TFTP: Add missing newline at end of file Dirk Ziegelmeier 2016-10-03 14:33:57 +02:00
  • 1e5efee7cb TFTP server depends on UDP Dirk Ziegelmeier 2016-10-03 09:50:34 +02:00
  • b040544628 task #14150: Add TFTP server from Logan Gunthorpe Originally written by Logan Gunthorpe, modifications/fixes/IPv6 by Dirk Ziegelmeier Dirk Ziegelmeier 2016-10-03 09:47:41 +02:00
  • eb77c839fc Minor: comment in pbuf.c Dirk Ziegelmeier 2016-10-03 09:45:59 +02:00
  • 5e15125b3d igmp: Fix optimized code by always skipping the first entry in the linked groups list Axel Lin 2016-10-02 20:50:32 +08:00
  • 8f8f56914b Fix bug #47731: IGMP state transition missing Set state variable according to RFC 2236 on timeout in delaying member state Dirk Ziegelmeier 2016-10-01 21:27:00 +02:00
  • b33070e0cf Add documentation for bug #49139: IGMP "All Systems" vs MLD "All Nodes" inconsistency Dirk Ziegelmeier 2016-10-01 21:13:05 +02:00
  • 8c52afb6ca igmp: Optimize code by always skipping the first entry in the linked groups list - it is always the "allsystems" entry Dirk Ziegelmeier 2016-10-01 17:28:36 +02:00
  • df5a79966d Fix bug #48886: raw pcbs are not handled on netif address change Dirk Ziegelmeier 2016-10-01 17:13:33 +02:00
  • d7f8d33506 Minor: update NO_SYS_SampleCode.c for IPv6 Dirk Ziegelmeier 2016-09-30 09:35:27 +02:00
  • db9c866fff Minor: Documentation update Dirk Ziegelmeier 2016-09-30 09:05:33 +02:00
  • 149701b347 Fix bug #49218: pbuf_clen() overflow as a result of tcp_write concatenation Let pbuf_clen() return u16_t Dirk Ziegelmeier 2016-09-30 09:04:36 +02:00
  • 682b82aad8 Improve documentation: Some words about multiple execution contexts in lwIP Dirk Ziegelmeier 2016-09-29 12:51:45 +02:00
  • 65796cd827 "Fix" bug #49078: lwip cannot establish ipv6 connection, because of failed to fill ipv6 source address in Neighbor Solicitation Message by adding a note to netif_add not to forget to create a link-local IPv6 address Dirk Ziegelmeier 2016-09-29 12:02:50 +02:00
  • 40846260b5 Add comment about possible definitions for non-standard functions Dirk Ziegelmeier 2016-09-29 10:44:53 +02:00
  • af04864094 Remove non-standard strnlen() call in snmp_msg.c Dirk Ziegelmeier 2016-09-29 08:30:33 +02:00
  • 5ddd2aef4b Substitute custom itoa implementation mdns by lwip_itoa() and strlen() call Dirk Ziegelmeier 2016-09-29 08:25:57 +02:00
  • 17e6c9dd02 Add #include <string.h> in def.c since lwip_strnstr uses strlen and strcmp Dirk Ziegelmeier 2016-09-29 08:08:26 +02:00
  • 0e7f48d81c Fix compile of new functions in def.c - I accidentally put them in a #ifdef section Thanks to Daniel Elstner Dirk Ziegelmeier 2016-09-28 22:26:55 +02:00
  • 461b3531c7 httpd.c: add missing default in case statement Dirk Ziegelmeier 2016-09-28 22:05:52 +02:00
  • 4144d54642 Fix implementation of lwip_itoa to take more parameters Dirk Ziegelmeier 2016-09-28 22:05:18 +02:00
  • 837b7b3f98 Fix comment in my last commit Dirk Ziegelmeier 2016-09-28 21:55:29 +02:00
  • 1f68b32485 Cleanup handling of non-standard functions in lwIP - itoa - strnicmp, stricmp/strcasecmp - strnstr Related to patch #9115: httpd.c: strcasecmp for GCC and stricmp for Windows Dirk Ziegelmeier 2016-09-28 21:52:11 +02:00
  • f8d19e28de Minor: Documentation updates Dirk Ziegelmeier 2016-09-27 21:28:34 +02:00
  • f3cec74bd6 mdns: Use macro to get mdns_host from netif v2 Erik Ekman 2016-09-28 18:15:11 +02:00
  • 87e815030c mdns: Use macro to get mdns_host from netif Erik Ekman 2016-09-28 17:47:15 +02:00
  • 78498981e2 mdns: Update error message after argument type changed Erik Ekman 2016-09-28 17:23:54 +02:00
  • 633696c153 Implement consistent IPx_ADDR_ANYx macro naming between IPv4 and IPv6 - rename IP4_ADDR_ANY to IP4_ADDR_ANY4 - IP4_ADDR_ANY (= IP_ADDR_ANY) is now IPv4 any address in ip_addr_t format Dirk Ziegelmeier 2016-09-28 12:56:39 +02:00
  • 0e2354e658 Fixed bug #49209: netconn_drain() fails to handle 'netconn_aborted' pointer goldsimon 2016-09-28 12:53:07 +02:00
  • 5d811d799c Minor: Documentation updates Dirk Ziegelmeier 2016-09-27 21:18:03 +02:00
  • 6abcd00f71 Convert IP address type numbers to an enum to improve documentation Dirk Ziegelmeier 2016-09-27 09:46:51 +02:00
  • 97b774ceb9 Minor: Documentation updates Dirk Ziegelmeier 2016-09-26 21:45:29 +02:00
  • 2f085aa441 ND6: Join/leave groups directly on the netif Daniel Elstner 2016-09-22 00:08:45 +02:00
  • 354e385453 Fix infinite loop in new MLD6 code Daniel Elstner 2016-09-22 00:04:56 +02:00
  • c7c6b7ce93 Rework IGMP and MLD6 code to store group info per-netif. Reasoning: - Makes code in single-netif case perform better and smaller - IGMP / MLD6 code is a little bit easier to read and understand - Easier to get multicast groups per netif when implementing drivers Dirk Ziegelmeier 2016-09-21 13:33:33 +02:00
  • c25de8f317 Update comment in MDNS and pbuf.c Dirk Ziegelmeier 2016-09-21 12:37:31 +02:00
  • c9bae5ea9b Fix bug #49134: Do not announce invalid IPv4 address via mDNS Daniel Elstner 2016-09-20 23:22:04 +02:00
  • dbd847b70c Fix bugfix for bug #49136: No SNMPv2 SetRequest response when OID does not exist Last commit broke SNMPv1 answers Dirk Ziegelmeier 2016-09-20 14:28:40 +02:00
  • 19e2780656 Fix bug #49136: No SNMPv2 SetRequest response when OID does not exist Dirk Ziegelmeier 2016-09-20 14:06:20 +02:00
  • eb3a08308d Improve my last docs Dirk Ziegelmeier 2016-09-20 09:14:32 +02:00
  • 470dae613e Documentation: Add example for zero-copy RX using custom PBUF Dirk Ziegelmeier 2016-09-20 09:03:49 +02:00
  • 22907c7b27 bug #74921: check prefix_length, not length Daniel Elstner 2016-09-19 03:30:14 +02:00
  • 623f9ce046 Remove one debug message from Daniel's patch Dirk Ziegelmeier 2016-09-19 12:32:43 +02:00
  • 4d4710dadf Bug #49125 addendum: Remove group from list before callback Daniel Elstner 2016-09-19 10:01:47 +02:00
  • 2facd2d64d Apply modified patch from Daniel Elstner to fix bug #49124: mDNS should not use snprintf() Dirk Ziegelmeier 2016-09-19 12:20:20 +02:00
  • ee4cd45c98 Fix bug #49125: Need a way to iterate multicast groups for MAC filtering -> let list heads be a public symbol Dirk Ziegelmeier 2016-09-19 08:45:57 +02:00
  • 58c8e0f8ca Implement request by Marco Veeneman: Make snmp_send_trap() public Dirk Ziegelmeier 2016-09-15 10:41:05 +02:00
  • 8dbd1abdc4 Minor coding style fixes while reading SNMP code Dirk Ziegelmeier 2016-09-12 12:55:24 +02:00
  • ef0dc65515 Fix GCC warning "invalid suffix on literal; C++11 requires a space between literal and string macro" in arch.h. Pointed out by Thomas Nittel. Dirk Ziegelmeier 2016-09-12 07:37:35 +02:00
  • 8cd43a3dd9 Documentation: Add one more note PCB is already freed in tcp_err callback. Dirk Ziegelmeier 2016-09-09 17:36:49 +02:00
  • 4a73bcbc65 mdns: Revert answer count patch Erik Ekman 2016-09-09 17:04:12 +02:00
  • f38705c38c mdns: Update answers counter in mdns_add_answer rather than each caller Axel Lin 2016-09-09 16:59:26 +08:00
  • b7c2553b46 bug #48964: Make PBUF_POOL sanity checks contingent on PBUF_POOL_SIZE Joel Cunningham 2016-09-01 10:29:06 -05:00
  • f8a95aa27f dns: Drop unnecessary txid variable in dns_check_entry Axel Lin 2016-09-06 23:11:20 +08:00
  • d66442ba91 Fix compile when TCP, UDP and RAW are disabled Dirk Ziegelmeier 2016-09-07 08:11:30 +02:00
  • aeae4e91db Fix compile when UDP is disabled Dirk Ziegelmeier 2016-09-06 12:30:15 +02:00
  • 34682facd1 Remove ip4_frag IP_FRAG_USES_STATIC_BUF code: nearly the same as the other code, but IP_FRAG_USES_STATIC_BUF doesn't work when queuing pbufs sg 2016-08-31 21:00:10 +02:00