Commit Graph

  • 61671d6df0 tcp_out: make some more pointers const goldsimon 2018-02-01 09:18:24 +01:00
  • 9fb86f6e4b tcp: add a define for maximum option bytes goldsimon 2018-01-31 21:55:23 +01:00
  • 2c3c578475 apps/smtp: Fix wrong sizeof for memset s->bodydh Axel Lin 2018-01-31 09:07:48 +08:00
  • 64a351cbe0 tcp_out: remove CHECKSUM_GEN_TCP case from tcp_send_empty_ack Joel Cunningham 2018-01-30 17:35:40 -06:00
  • 0ee7a39594 tcp: add comments about usage of options goldsimon 2018-01-30 22:01:54 +01:00
  • 424c33bcb7 tcp_out: combine the tx path of the 4 direct tx functions goldsimon 2018-01-30 21:50:41 +01:00
  • 9128a51944 tcp_out: make tcp_output_alloc_header generic enough for tcp_rst goldsimon 2018-01-30 21:46:48 +01:00
  • 1570dd8ad1 tcp_abandon: no need to buffer pcb->local_port goldsimon 2018-01-30 21:43:18 +01:00
  • fdbc9f9b32 tcp_out: move around functions to group them together goldsimon 2018-01-30 21:06:44 +01:00
  • dd6c43ecbd tcp_out: documentation update goldsimon 2018-01-30 20:49:47 +01:00
  • ad3937df58 tcp: tiny doc update (mention tcp_output) goldsimon 2018-01-30 20:20:22 +01:00
  • c597cfd6ca tcp_create_segment: rename arg 'flags' to 'hdrflags' goldsimon 2018-01-30 12:25:31 +01:00
  • 40997c4a08 Apply (modified) patch #9552: tftp_cleanup() for cleanup and filename buffer zeroing to prevent filename bugs ... without the memset to zero out the filename Dirk Ziegelmeier 2018-01-29 06:59:47 +01:00
  • 83ff2014ae tcp_enqueue_flags: no need to check pcb->snd_queuelen goldsimon 2018-01-28 20:57:53 +01:00
  • d6cf8a3e38 tcp_out: improved some comments goldsimon 2018-01-28 20:56:52 +01:00
  • 93f9c56c32 fix bug #52976: lwip_ioctl() FIONREAD crash goldsimon 2018-01-27 14:45:17 +01:00
  • 05ba509e33 mdns: clarify usage of ip_addr_cmp_zoneless() goldsimon 2018-01-26 06:32:35 +01:00
  • de68c5bed6 altcp_mbedtls_sndbuf: use mbedtls_ssl_get_record_expansion() goldsimon 2018-01-25 13:15:49 +01:00
  • 6606c4013f bug #52893: Add 'old_stat' save in LWIP_NSC_IPV6_ADDR_STATE_CHANGED callback message goldsimon 2018-01-25 13:05:33 +01:00
  • fe2c249fb7 bug #52937: raw_input() must tell ip4/6_input() if protocol has been received goldsimon 2018-01-25 12:51:46 +01:00
  • ebda5cb04e ip_addr.h: add IP_ADDR_RAW_SIZE() to know the memcpy size of an IP goldsimon 2018-01-23 06:53:45 +01:00
  • 5b75ad9019 Fix bug #52949: udp_input() checksum error for LWIP_CHECKSUM_CTRL_PER_NETIF goldsimon 2018-01-22 19:51:45 +01:00
  • 84fcd6290e [patch #9548] Add .json to list of SSI file extensions Mike Kleshov 2018-01-22 19:49:10 +01:00
  • 76826c1622 [patch #9547] Bring some comments in httpd.h up to date Mike Kleshov 2018-01-22 19:47:16 +01:00
  • 9dbfa9ca0a lwiperf: enable TCP over IPv6 connections goldsimon 2018-01-19 21:08:51 +01:00
  • a696b2b515 lwiperf: fix testing against iperf 2.0.10 (bug #52901) goldsimon 2018-01-17 20:54:16 +01:00
  • a7a8d9273c sockets_stresstest: replace printf with LWIP_DEBUGF, fix unused arg goldsimon 2018-01-17 19:46:32 +01:00
  • 9cf6bbf573 memp_std.h: make MEMP_PBUF a normal pool goldsimon 2018-01-17 12:54:00 +01:00
  • 2fd2b6810e memp_std.h: fix LWIP_PBUF_MEMPOOL element size for MEMP_OVERFLOW_CHECK goldsimon 2018-01-17 12:51:49 +01:00
  • d12d6abae8 minor whitespace/indentation cleanup goldsimon 2018-01-17 12:27:17 +01:00
  • f3c289d966 sockets: add core lock assert to select_check_waiters Joel Cunningham 2018-01-16 18:51:24 -06:00
  • 8a27408eb2 altcp_tls_mbedtls: hide allocation strategy in altcp_tls_create_config() goldsimon 2018-01-16 21:41:44 +01:00
  • 42f14a96fb altcp_tls: avoid use of static in altcp_tls_config David Girault 2018-01-16 10:35:37 +01:00
  • c7106cc57f altcp_tls: fix pbuf leaked when handshake failed David Girault 2018-01-16 16:55:55 +01:00
  • 30ddfe1a98 Make LWIP_VERSION work with the preprocessor again. goldsimon 2018-01-16 20:37:10 +01:00
  • 51369854b5 Fix bug #52911: SNMPv3 time window check is not the same as RFC3414 Dirk Ziegelmeier 2018-01-16 13:30:31 +01:00
  • 72fc4a6ca5 Documentation - "Common pitfalls": Add some words about buffer alignment Dirk Ziegelmeier 2018-01-16 10:59:42 +01:00
  • 2fd83c9d2e lwiperf: fix double-free of pbufs on recv error goldsimon 2018-01-16 06:54:28 +01:00
  • 330793d94d Fix bug #52880: ethernet_output() Compile error. Dirk Ziegelmeier 2018-01-14 09:24:41 +01:00
  • 28c8693683 mqtt: fix documentation error (remove ':' after param name) goldsimon 2018-01-13 16:09:17 +01:00
  • f343a67b40 netif unit test: add some more tests for ext callbacks goldsimon 2018-01-13 15:22:09 +01:00
  • e645d00484 netif unit test: fix -Werror=c++-compat goldsimon 2018-01-13 15:16:12 +01:00
  • 4a99721751 netif: try to fix gcc error (-Werror=c++-compat) goldsimon 2018-01-13 09:38:18 +01:00
  • 734b6ab57a netif: ensure netif_set_addr() only results in one "ext_status_callback" goldsimon 2018-01-12 23:11:38 +01:00
  • fa75ffed9d unit tests: added test_netif (checking ext_callbacks only, for now) goldsimon 2018-01-12 22:27:15 +01:00
  • 452c6a5378 netif: add netif_remove_ext_callback() (counterpart to netif_add_ext_callback()) goldsimon 2018-01-12 22:25:34 +01:00
  • d115b28057 netif: change netif_nsc_reason_t to flags (preparation only) goldsimon 2018-01-12 22:24:45 +01:00
  • 0b2b22338a tcpip_thread_poll_one: remove invalid comment in this function goldsimon 2018-01-12 20:41:11 +01:00
  • eb51b683ed fix copy & paste error in comment goldsimon 2018-01-12 20:29:12 +01:00
  • 94ad523357 Update lwip.Doxyfile to doxygen 1.8.13 Dirk Ziegelmeier 2018-01-12 15:01:14 +01:00
  • 46cb0a796b Forgot to add LWIP_ASSERT_CORE_LOCKED() to http_continue function Dirk Ziegelmeier 2018-01-12 13:35:20 +01:00
  • 653313cb37 Work on task #14780: Add debug helper asserts to ensure threading/locking requirements are met Dirk Ziegelmeier 2018-01-12 13:15:36 +01:00
  • 67ad6e45db Add assertion that checks for a maximum msecs value for sys_timeout() Dirk Ziegelmeier 2018-01-12 12:38:25 +01:00
  • 990c25d4f3 Add unit test for a long running timer Dirk Ziegelmeier 2018-01-12 12:37:16 +01:00
  • 6ccd12b97c altcp_mbedtls: added altcp_mbedtls_sndbuf implementation David Girault 2018-01-11 10:34:55 +01:00
  • eab1b45cba tcpip: give the tcpip_thread mbox a better name goldsimon 2018-01-11 09:55:59 +01:00
  • b6b14438b7 Rename lwip_sys_timers_get_next_timout() to sys_timeouts_get_next_timeout() Dirk Ziegelmeier 2018-01-11 09:53:07 +01:00
  • c257b56a39 move sys_timeouts_mbox_fetch() to tcpip_timeouts_mbox_fetch() goldsimon 2018-01-11 09:39:36 +01:00
  • 39ada6ec0e ip_addr: Define ip_addr_cmp_zoneless for LWIP_IPV6 only Axel Lin 2018-01-09 16:41:48 +08:00
  • 2d06483d8e ip4_frag: don't use LWIP_ERROR where we might depend in input data goldsimon 2018-01-09 10:24:26 +01:00
  • deab51c36d netif: Remove unnecessary NULL checking in netif_do_set_{ipaddr|netmask|gw} Axel Lin 2018-01-09 15:08:22 +08:00
  • 0795e289eb ip4_reass: fix double-free of pbuf and wrong ip_reass_pbufcount goldsimon 2018-01-09 08:19:03 +01:00
  • efa90d4294 netif: Add LWIP_ASSERT_CORE_LOCKED() to netif_set_remove_callback Axel Lin 2018-01-05 16:05:38 +08:00
  • 05ded5516d Apply patch #9536: netif: Prevent possible NULL pointer dereference in netif_set_addr in a modified version Dirk Ziegelmeier 2018-01-09 07:51:09 +01:00
  • 1affbb4bd5 unit tests: fixed testing itoa with too small buffer goldsimon 2018-01-08 21:38:16 +01:00
  • 8801cbdb30 core: fix lwip_itoa() David Girault 2018-01-08 21:37:31 +01:00
  • d7566216c9 Remove Simon's compile fix in test_timers.c, it is not needed any more. The function is now used. Dirk Ziegelmeier 2018-01-08 13:02:58 +01:00
  • bb0ba64fb0 Work on bug #52748: the bug in timeouts.c - apply Douglas' patch for absolute timeouts with modification to avoid cyclic timer overload situation Dirk Ziegelmeier 2018-01-08 12:48:48 +01:00
  • 5eced48869 Apply timeouts.c simplification from Douglas Dirk Ziegelmeier 2018-01-08 11:16:51 +01:00
  • b6c0c52d66 Fix that one of Douglas' optimizations broke the timers Dirk Ziegelmeier 2018-01-08 09:19:57 +01:00
  • b4768f1711 Once again: Fix build warnings in test_timers.c Dirk Ziegelmeier 2018-01-08 08:34:17 +01:00
  • bbb2e50327 Fix variable shadowing warning in my last commit Dirk Ziegelmeier 2018-01-08 08:12:33 +01:00
  • 3f30bfae28 lwipopts.h for unit tests: Increase number of timeouts Dirk Ziegelmeier 2018-01-08 07:34:38 +01:00
  • a31f8837b5 Partly apply patch from "Douglas" provided in bug #52748: the bug in timeouts.c - Fix sys_untimeout implementation should not modify timer values since we are now using absolute timeouts.c - Cleanup and simplify sys_check_timeouts() implementation - Implement sys_restart_timeouts to rebase all timeouts based on next timer to expire Dirk Ziegelmeier 2018-01-08 07:33:40 +01:00
  • eaca067c7d Make _cyclic_ timers interval more deterministic - next timeout is calculated from last due time instead of relative to current time This eliminates the cyclic timer jitter Dirk Ziegelmeier 2018-01-05 13:45:51 +01:00
  • 2b4dde84e3 Apply modified patch #9533: sys_check_timeouts: recalculate the time diff after each handler call Adapted to new timer implementation Dirk Ziegelmeier 2018-01-05 11:43:48 +01:00
  • dd3861720f Fix bug #52748: the bug in timeouts.c by reimplementing timer logic to use absolute instead of relative timeout values Dirk Ziegelmeier 2018-01-05 11:42:14 +01:00
  • da2478b761 netif: Enclosing macro argument in parentheses for NETIF_FOREACH Axel Lin 2018-01-05 09:52:08 +08:00
  • e415151cf2 minor style change: fixed indentation goldsimon 2018-01-05 21:30:32 +01:00
  • 40c0f21b9e Added dummy sys_mbox_trypost to unit test port goldsimon 2018-01-05 21:30:07 +01:00
  • c4867b878c Try to silence unused function warning in travis goldsimon 2018-01-05 21:12:31 +01:00
  • 8fc20142f7 Added sys_mbox_trypost_fromisr() and tcpip_callbackmsg_trycallback_fromisr() goldsimon 2018-01-05 21:08:27 +01:00
  • 1623c3e2cc Add test for bug 52748 Disabled :-) -> travis doesn't complain Dirk Ziegelmeier 2018-01-05 08:20:36 +01:00
  • 8de4900641 Work on timer unit tests Dirk Ziegelmeier 2018-01-05 07:49:39 +01:00
  • 8542556a03 Fix build warning in test_def.c Dirk Ziegelmeier 2018-01-04 13:37:29 +01:00
  • 756b7431a7 Start implementing unit tests for timers Dirk Ziegelmeier 2018-01-04 13:37:05 +01:00
  • 40fecab313 Introduce LWIP_TESTMODE #define to be able to make functions/variables public etc. for implementing unit tests Dirk Ziegelmeier 2018-01-04 13:20:28 +01:00
  • b16f5f0e19 Rename tcpip_trycallback() tcpip_callbackmsg_trycallback() to avoid confusion with tcpip_try_callback() Add tcpip_callbackmsg_new(), tcpip_callbackmsg_delete(), tcpip_callbackmsg_trycallback() to documentation Dirk Ziegelmeier 2018-01-04 08:23:49 +01:00
  • 6b2ef1a89b httpd: fix typo "kepalive" -> "keepalive" goldsimon 2018-01-04 06:35:00 +01:00
  • 2cb220d7fe netif: Move LWIP_ASSERT_CORE_LOCKED out of static functions Axel Lin 2018-01-03 17:36:03 +08:00
  • 25f1c6ef2c Revert "Apply patch #9523: MDNS responder should reply after a random timeout" Dirk Ziegelmeier 2018-01-03 07:48:23 +01:00
  • 3b79c60e41 Revert "Fix build warnings in mdns.c introduced in my last commit" Dirk Ziegelmeier 2018-01-03 07:48:12 +01:00
  • 01e227d2c0 netif.c: Fix that when using LWIP_NETIF_EXT_STATUS_CALLBACK multiple callbacks instead of only one are fired when netif_set_addr() is used Dirk Ziegelmeier 2018-01-03 07:47:49 +01:00
  • 913a7e0638 sockets: Simplify #if !LWIP_TCPIP_CORE_LOCKING guard in select_check_waiters Axel Lin 2018-01-03 11:42:35 +08:00
  • 744e69334d Fix build warnings in mdns.c introduced in my last commit Dirk Ziegelmeier 2018-01-03 06:31:59 +01:00
  • fa345b0f22 Apply patch #9523: MDNS responder should reply after a random timeout with a few cleanups and coding style fixes Dirk Ziegelmeier 2018-01-02 22:20:25 +01:00
  • 004b13ca09 Work on task #14780: Add debug helper asserts to ensure threading/locking requirements are met Update documentation Dirk Ziegelmeier 2018-01-02 21:45:30 +01:00
  • d569a22c73 tcpip: ensure core is locked for init done function Joel Cunningham 2018-01-02 13:44:34 -06:00
  • d87740bb96 mdns: Fix multicast destination check for IPv6 Erik Ekman 2018-01-02 20:38:36 +01:00
  • 1c7a024297 timers: add core locking assertion to tcp_timer_needed (task #14780) Our Air Quality 2018-01-02 12:13:29 -06:00