Commit Graph

  • 8760fb677f fixed warnings in mdns unit tests sg 2017-01-04 15:25:52 +01:00
  • d2631e6a53 mqtt: Fix pedantic enum warning Erik Ekman 2017-01-04 00:23:25 +01:00
  • 4059748b47 I was not satisfied with the previous debugging options structure. Improve it again. Dirk Ziegelmeier 2017-01-02 19:50:46 +01:00
  • 644a21b8a5 Improve debugging options documentation Dirk Ziegelmeier 2017-01-02 19:32:56 +01:00
  • a3876314b7 Add debugging options to documentation Dirk Ziegelmeier 2017-01-02 19:25:23 +01:00
  • e3c2b8a339 Add note about high resource-consumption in LWIP_PLATFORM_DIAG and LWIP_PLATFORM_ASSERT default implementations Dirk Ziegelmeier 2017-01-02 19:06:33 +01:00
  • e12bb2a4eb Fix comma at end of enum list in mqtt.h Dirk Ziegelmeier 2017-01-01 20:26:28 +01:00
  • 2096f1a657 Fix C++ style comment in mqtt.c Dirk Ziegelmeier 2017-01-01 20:23:11 +01:00
  • 1f3c18fcbe tcp: Make tcp_listen_with_backlog_and_err return NULL if the address/port is already used Axel Lin 2017-01-01 15:41:53 +08:00
  • edfeab7932 mqtt: Trivial coding style fix Axel Lin 2017-01-01 22:06:13 +08:00
  • b8bc7b7c71 arch.h: Add #includes necessary for default implentation of LWIP_PLATFORM_DIAG and LWIP_PLATFORM_ASSERT Dirk Ziegelmeier 2017-01-01 12:40:23 +01:00
  • f874d15185 Add #include <string.h> in snmp_netconn.c because memset() is used Dirk Ziegelmeier 2017-01-01 12:38:34 +01:00
  • ee034bd811 Document PACK_STRUCT_USE_INCLUDES #define Dirk Ziegelmeier 2017-01-01 12:31:02 +01:00
  • a2a16d4193 nd6 rdnss: fixed dual-stack compilation sg 2016-12-31 15:51:59 +01:00
  • 98fc82fa71 added function tcp_listen_with_backlog_and_err() to get the error reason when listening fails (bug #49861) sg 2016-12-31 15:36:31 +01:00
  • 1884c7e83f Fix TCP unit tests after changes from "Add hook for TCP Initial Sequence Number generation" commit (pcb->lastack and friends are not initialized during allocation any more, but by connect() / bind() call) Dirk Ziegelmeier 2016-12-31 11:46:27 +01:00
  • 1466b7ac61 Several mqtt documentation fixes found by clang Dirk Ziegelmeier 2016-12-29 09:44:07 +01:00
  • 748e2e925b Create documentation section "porting" and move it under lwIP section (instead of infrastructure) Dirk Ziegelmeier 2016-12-29 09:29:24 +01:00
  • 1fd69ddee9 Minor documentation update in def.c Dirk Ziegelmeier 2016-12-29 09:28:45 +01:00
  • 3a8368ef04 Provide struct packing macros on GCC/clang out of the box Dirk Ziegelmeier 2016-12-29 09:28:28 +01:00
  • c1258e5c72 Compile fix in lwip/arch.h "extra tokens at end of #ifndef directive" Dirk Ziegelmeier 2016-12-29 09:05:52 +01:00
  • 211a71cf11 Minor documentation update in lwip/arch.h Dirk Ziegelmeier 2016-12-28 21:52:10 +01:00
  • 55199fc62c More documentation updates in lwip/arch.h Dirk Ziegelmeier 2016-12-28 10:14:36 +01:00
  • 45ad6f2e61 Minor documentation updates in lwip/arch.h Dirk Ziegelmeier 2016-12-28 09:53:11 +01:00
  • df365adf9a Trivial typo fix in arch.h docs Dirk Ziegelmeier 2016-12-26 10:53:41 +01:00
  • 7b40d1eb6f doc: mqtt_client: Update example code after adding port parameter to mqtt_client_connect() Axel Lin 2016-12-24 21:50:16 +08:00
  • c1d16c61eb Forgot documentation on MQTT port #define Dirk Ziegelmeier 2016-12-24 12:06:53 +01:00
  • 83b1c397a0 Add #define with default MQTT port for convenience Dirk Ziegelmeier 2016-12-24 12:05:27 +01:00
  • bfa0358a52 mqtt: Allow setting server port to connect Axel Lin 2016-12-23 08:52:28 +08:00
  • 2e4b368c8c Revert "Fix bug #49914: lwip_sendmsg uses PBUF_REF pbufs" Dirk Ziegelmeier 2016-12-23 09:51:26 +01:00
  • 4e34851c57 Fix bug #49914: lwip_sendmsg uses PBUF_REF pbufs Use PBUF_RAM and create private copy of the data Dirk Ziegelmeier 2016-12-22 21:19:53 +01:00
  • 3a557baedd Move a few MQTT options from mqtt.c to mqtt_opts.h Dirk Ziegelmeier 2016-12-21 09:42:25 +01:00
  • 6e219b6b11 Change signature of mqtt_client_connect() to take an IP addr instead of a string Dirk Ziegelmeier 2016-12-21 09:36:28 +01:00
  • ec1450bac4 Add mqtt documentation from Erik Anderson, rev 4b84fff Dirk Ziegelmeier 2016-12-21 09:29:47 +01:00
  • 5be91de56c mqtt: Trivial error message fix Axel Lin 2016-12-21 08:49:24 +08:00
  • 24fa1c457e opt.h: provide some hints regarding MLD settings David van Moolenbroek 2016-12-16 21:53:35 +00:00
  • 71810d0415 ipv6: adjust MLD membership on address state changes David van Moolenbroek 2016-12-16 21:26:32 +00:00
  • d5bc856f45 mqtt: Check conn_state before create request for sub_unsub Axel Lin 2016-12-20 23:00:57 +08:00
  • 876720593b Update .gitignore once more for fuzz test Dirk Ziegelmeier 2016-12-20 14:25:46 +01:00
  • dd96c71253 Fix a few -Wconversion warnings (there are many more to do) Dirk Ziegelmeier 2016-12-19 11:52:19 +01:00
  • be57134810 Fixed bug #49895: Incorrect configuration detection in lwip/dns.h Thomas Mueller 2016-12-20 14:21:26 +01:00
  • 16b895b466 Undo removal of mqtt_publish() from documentation in Simon's last commit (guess it was by accident) Dirk Ziegelmeier 2016-12-20 10:48:19 +01:00
  • dcb761637d Minor documentation fix in MQTT Dirk Ziegelmeier 2016-12-20 10:42:56 +01:00
  • 02f4610b1c mqtt: Use LWIP_ARRAYSIZE to replace hardcoded value Axel Lin 2016-12-20 17:18:39 +08:00
  • b6a131edfb mqtt: fix C usage (declaration after statement), fix casting to smaller type goldsimon 2016-12-20 10:27:43 +01:00
  • 12bc2c0425 MQTT cleanups: - create mqtt_opts.h file and move options in there - documentation cleanups Dirk Ziegelmeier 2016-12-20 10:08:50 +01:00
  • 14e36866f5 Some cleanups in MQTT client Integrate in documentation Compile fixes, mostly: Variables must be declared before any statement in a function Dirk Ziegelmeier 2016-12-20 09:41:21 +01:00
  • 1e82465766 task #14281: Add MQTT client Thanks to Erik Andersen Taken from https://github.com/erian747/, branch mqtt, rev 5d59470 Dirk Ziegelmeier 2016-12-20 09:16:21 +01:00
  • fb07d47b82 more LWIP_NOASSERT fixes goldsimon 2016-12-19 10:34:49 +01:00
  • c71733252c Fix compiling with LWIP_NOASSERT (and debug/error disabled, too) goldsimon 2016-12-19 10:29:16 +01:00
  • e0c0ba7e1b Fix compile with LWIP_NOASSERT Pointed out by Nirav Desai Dirk Ziegelmeier 2016-12-19 10:11:23 +01:00
  • 7f319f5ec5 Fix compile of test_tcp.c unit test after introduction of tcp_next_iss hook Dirk Ziegelmeier 2016-12-18 21:46:49 +01:00
  • c21763f6cb Minor code cleanup api_lib.c Dirk Ziegelmeier 2016-12-18 21:31:14 +01:00
  • f488c5b7bc igmp: Fix optimized code for igmp_remove_group Axel Lin 2016-12-17 22:41:11 +08:00
  • 5c1dd6a4c6 Optimization in igmp_remove_group() pointed out by Axel Lin No need to handle special case "first in list" since this is always the allsystems group that shall not be removed Dirk Ziegelmeier 2016-12-17 15:06:33 +01:00
  • 102a50fa96 Fix bug #39145: IGMP membership report for 224.0.0.1 Ensure allsystems group is always first in linked list Dirk Ziegelmeier 2016-12-17 13:36:24 +01:00
  • bb8088d498 Minor cleanup of FUZZ test Makefile Dirk Ziegelmeier 2016-12-17 10:09:15 +01:00
  • 11780f037b Fixup Makefile of FUZZ test after moving to main lwIP rep Dirk Ziegelmeier 2016-12-17 10:05:49 +01:00
  • cceea73c3f bug #49631: handle zero-window probe and refused_data Joel Cunningham 2016-12-09 18:10:24 -06:00
  • fcd2daf57c fixed race condition in return value of netconn_gethostbyname() (and thus also lwip_gethostbyname/_r() and lwip_getaddrinfo()) Thomas Mueller 2016-12-16 15:44:00 +01:00
  • b5f51dbd0c ND6: Don't misuse ip6_current_dest_addr() to create an aligned copy of an IPv6 address We never know what side effect in application code this could trigger... Dirk Ziegelmeier 2016-12-16 08:51:06 +01:00
  • d9f461e4e4 Fixed #49848 (Non-blocking socket emit a sock error while read return EWOULDBLOCK) especially for EWOULDBLOCK (added task #14275 for the general problem) sg 2016-12-15 22:32:46 +01:00
  • c13a43e5c8 added note about afl-fuzz requiring linux sg 2016-12-15 21:42:46 +01:00
  • 844c201702 added fuzz tests (moved from contrib/ports/unix/fuzz to get them to a more prominent place, even if afl-fuzz still needs *nix to run) sg 2016-12-15 21:39:46 +01:00
  • 62e340067e LWIP_HOOK_TCP_ISN: added CHANGELOG/fixed comment sg 2016-12-15 21:08:12 +01:00
  • a8b986bbb6 Add hook for TCP Initial Sequence Number generation David van Moolenbroek 2016-10-26 21:24:46 +00:00
  • da15132aa0 Make nd6_new_router() handle already existing routers (this is a special case for 2 netifs on the same subnet - e.g. wifi and cable) see bug #46506 goldsimon 2016-12-15 09:25:44 +01:00
  • e3925cc359 nd6: Fix build error if LWIP_ND6_RDNSS_MAX_DNS_SERVERS == 0 Axel Lin 2016-12-15 14:11:20 +08:00
  • 6b1950ec24 nd6: add support for RDNSS option (as per RFC 6106) sg 2016-12-14 22:12:14 +01:00
  • 4e3cf61571 opt.h: added LWIP_DHCP_MAX_DNS_SERVERS to configure the maximum number of DNS servers configured from dhcp.c(v4) (if any; guarded with LWIP_DNS) sg 2016-12-14 22:04:08 +01:00
  • 53b9f2a5bd dhcp: covert DHCP_OPTION_IDX_* from defines to enum (mainly to ease offset calculation) sg 2016-12-14 21:56:39 +01:00
  • cd5dfa2bc5 nd6: minor 'static' consistency fix David van Moolenbroek 2016-12-14 20:18:09 +00:00
  • bd1defc1d8 added forgoten new file nd6_priv.h :-( sg 2016-12-14 21:24:48 +01:00
  • 281ef5d094 minor: fixed errors in some defined __DOXYGEN__ guards sg 2016-12-14 21:18:50 +01:00
  • e8461f9994 minor: corrected include guard name in tcp_priv.h sg 2016-12-14 21:05:22 +01:00
  • 60cd25c6a1 Moved nd6 implementation details to new file nd6_priv.h (possible after David's cleanups) sg 2016-12-14 21:04:53 +01:00
  • 4c16ea920c Minor: nd6_packet_send_check() -> nd6_get_next_hop_addr_or_queue() (too long, but a little more self-explaining); cosmetics... sg 2016-12-14 20:52:44 +01:00
  • 69a7039f75 nd6: centralize link-local packet send decision David van Moolenbroek 2016-12-14 16:19:24 +00:00
  • 06ff89cbe4 nd6: use default_router_list internally only David van Moolenbroek 2016-12-14 13:59:08 +00:00
  • cee59ba8cd nd6: add nd6_clear_destination_cache() function David van Moolenbroek 2016-12-14 12:44:23 +00:00
  • d4fad5929c nd6_input(): allow using NA without lladdr_opt for DAD goldsimon 2016-12-14 13:11:13 +01:00
  • 1a53c106e1 CHANGELOG: added LWIP_HOOK_ND6_GET_GW() goldsimon 2016-12-14 08:42:11 +01:00
  • 7d119fd86b nd6: add LWIP_HOOK_ND6_GET_GW hook David van Moolenbroek 2016-12-13 20:40:22 +00:00
  • 74a5537e15 Revert "Added LWIP_HOOK_ETHIP6_GET_GW()" goldsimon 2016-12-14 08:36:47 +01:00
  • afb21603dc Add a check for correct implementation of LWIP_CONST_CAST() to lwip_init() goldsimon 2016-12-14 08:31:09 +01:00
  • 002e077dbd ethip6: forward correct error code David van Moolenbroek 2016-12-13 18:23:28 +00:00
  • 9d199a6d72 netif_create_ip6_linklocal_address(): use macros to assign address state to ensure callbacks are triggered; netif_add_ip6_address(): only overwrite invalid addresses, not tentative addresses sg 2016-12-13 21:54:49 +01:00
  • 86b01e4f29 Added LWIP_HOOK_ETHIP6_GET_GW() Pradip De 2016-12-13 21:53:07 +01:00
  • 1c184da615 Update changelog for LWIP_NETIF_TX_SINGLE_PBUF Dirk Ziegelmeier 2016-12-09 22:13:00 +01:00
  • e5f9f187ad Continue to fix incorrect casts via size_t for some platforms Now also for casts: - to remove alignment warnings - casts between pointers and ints Dirk Ziegelmeier 2016-12-12 10:17:33 +01:00
  • f2a5aa2866 Fix bug #49827: wrong cast to size_t on 16-bit x86 architecture I hope I caught all of them. TODO: Same for casts to get rid of alignment warnings, these are also casts via size_t Dirk Ziegelmeier 2016-12-12 10:07:00 +01:00
  • 7a1b38db6e Minor: Save an #ifdef in ip4_frag.c Dirk Ziegelmeier 2016-12-09 21:26:53 +01:00
  • 26e02e84a6 Fix bug #48963: ip6_frag does not support LWIP_NETIF_TX_SINGLE_PBUF Implemented. Dirk Ziegelmeier 2016-12-09 21:26:21 +01:00
  • 8347d3b623 Try to fix compile warning with GCC under Linux ("large integer implicitly truncated to unsigned type") Dirk Ziegelmeier 2016-12-09 19:56:29 +01:00
  • a83c4e0897 PPP: fix build warning on wrong cast from void* to unsigned long Sylvain Rochet 2016-12-09 14:11:21 +01:00
  • ac4d994249 mdns.c: use group initializer constants from prot/dns.h goldsimon 2016-12-09 13:10:12 +01:00
  • f308694dd4 Revert "mdns.c: use constants from dns.h/.c" goldsimon 2016-12-09 13:08:00 +01:00
  • 0e883bbbc5 mdns.c: use constants from dns.h/.c goldsimon 2016-12-09 12:49:49 +01:00
  • 5774fdfe75 dns: added one-shot multicast DNS queries goldsimon 2016-12-09 09:20:46 +01:00
  • 85817e7611 Minor documentation update about IP_ADDR_ANY Dirk Ziegelmeier 2016-12-08 16:56:19 +01:00