Commit Graph

  • 925f3944d3 init: Correct minimal MEMP_NUM_SYS_TIMEOUT setting check Axel Lin 2017-05-31 16:03:05 +08:00
  • a6432c46aa Clarify LWIP_NUM_SYS_TIMEOUT_INTERNAL regarding PPP and make the number of required timeouts per ppp_pcb configurable as we don't really know it right now ;-) goldsimon 2017-07-27 20:50:40 +02:00
  • 45fb7d7220 Give struct fs_file::pextension its own type & improve its documentation (see also task #14567) goldsimon 2017-07-26 22:16:26 +02:00
  • a92a281455 PPP, VJ: Use pbuf_clone to replace pbuf_alloc+pbuf_copy Axel Lin 2017-07-02 23:39:01 +08:00
  • ecd6c7ceae Fix bug #51525: MQTT_OUTPUT_RINGBUF_SIZE validation Ringbuf now supports sizes that are not a power of two Dirk Ziegelmeier 2017-07-26 18:53:12 +02:00
  • 0d23d686eb snmp_asn1.c: Fix handling of u64 values Dirk Ziegelmeier 2017-07-26 12:48:19 +02:00
  • 0dabc8df9b snmp_asn1: Surround u64_t handling functions with #if LWIP_HAVE_INT64 Dirk Ziegelmeier 2017-07-26 09:42:41 +02:00
  • b5fe13d818 Don't declare SNMP_ASN1_TYPE_COUNTER64 on systems that do not have uint64_t to avoid runtime problems Dirk Ziegelmeier 2017-07-26 09:33:15 +02:00
  • b7e24fdc58 Accidentally removed a break statement in my last commit Dirk Ziegelmeier 2017-07-26 09:32:40 +02:00
  • aa4d978448 Fix [bug #51520] Big endian bug in apps/snmp/snmp_asn1.c Apply patch from Art Heers that does not need endianess checks Dirk Ziegelmeier 2017-07-26 09:28:07 +02:00
  • f5d7535323 Work on [bug #51577] snmp/asn1: 64 bit encoding/decoding seems broken for big endian We should support COUNTER64 data type only when we have u64_t on the system Dirk Ziegelmeier 2017-07-26 09:27:11 +02:00
  • 3ec8b22f14 snmp_core.h: Add room for u64 values in union snmp_variant_value Dirk Ziegelmeier 2017-07-26 09:06:13 +02:00
  • 4c13c32473 fix bug #51578 (SNMP failed to decode some values on non 32bit platforms) goldsimon 2017-07-26 08:41:13 +02:00
  • c5db278746 sockets: Refactor event_callback() Joel Cunningham 2017-07-21 14:36:57 -05:00
  • 0ee6ad0a3a Removed LWIP_SOCKET_SET_ERRNO - errno is always set - if it doesn't exist, it must be provided by the port goldsimon 2017-07-25 21:54:10 +02:00
  • a2e4dd2de7 Minor whitespace cleanups goldsimon 2017-07-25 21:48:17 +02:00
  • 9b06d71aeb Fix using DHCP IP configuration after lease time is expired. Matthias Hofmann 2017-07-25 14:32:21 +02:00
  • 9b5d8f14a9 tcp_getoptbyte() -> tcp_get_next_optbyte() (to make it clearer that this function modifies something - not only a getter) goldsimon 2017-07-25 21:38:06 +02:00
  • 64bceabc03 Increase SNTP_RECV_TIMEOUT to be conform with RFC. Matthias Hofmann 2017-07-25 11:52:14 +02:00
  • 2e78b6dcae Fixed bug #51528 (Bug when parsing WND_SCALE option) Pascal Quantin 2017-07-24 21:38:47 +02:00
  • afee9013ad added passages about moved posix headers and changed SO_ERROR to CHANGELOG/UPGRADING goldsimon 2017-07-24 21:15:45 +02:00
  • 6d51b3ff37 Restructure compatibility headers to fix bug #51463 goldsimon 2017-07-20 22:11:55 +02:00
  • f934ca7a03 [PATCH] Deprecate sys_arch_sem_wait and sys_arch_mbox_fetch returning the time waited Our Air Quality 2017-07-20 22:04:34 +02:00
  • 597d5459bb Make sys_arch_sem_wait() & sys_arch_mbox_fetch() a little more robust when waiting (although this should never be a problem...) goldsimon 2017-07-20 22:02:30 +02:00
  • 66a84cb2ef Clarify that sys_arch_protect() always has a matching unprotect. Our Air Quality 2017-07-20 22:21:34 +10:00
  • d01b3177fd Fix bug #51507 (Keep uses of SYS_ARCH_PROTECT/UNPROTECT in alloc_socket nested) goldsimon 2017-07-20 21:18:40 +02:00
  • 99e1f37b82 IP_PKTINFO: set msg_controllen upon output Joel Cunningham 2017-07-20 12:00:57 -05:00
  • 5cd475d91b docs: remove 'unimplemented' tag from exceptset Joel Cunningham 2017-07-18 16:55:05 -05:00
  • 26771d0800 Add @todo: scope ip6addr? goldsimon 2017-07-18 19:16:38 +02:00
  • 5eff45cac0 Correct a few uses of sizeof(ip6_addr_t) to sizeof(ip6_addr_p_t) Our Air Quality 2017-07-18 00:43:22 +10:00
  • 7b13fae833 docs: update references to global igmp_group_list Joel Cunningham 2017-07-17 14:25:14 -05:00
  • 328134fdba Fix two -Wconversion warnings Dirk Ziegelmeier 2017-07-15 10:25:19 +02:00
  • 3c371e4d52 Fixed bug #51379: (Sockets: prevent select_waiting overflow) goldsimon 2017-07-14 20:16:11 +02:00
  • aa317dcb18 Fix dhcp documentation Dirk Ziegelmeier 2017-07-12 11:09:36 +02:00
  • d62d3edc08 Update tcpip.c/.h documentation Dirk Ziegelmeier 2017-07-12 11:08:35 +02:00
  • 30a2283993 Move netifapi private definitions to priv/api_msg.h Dirk Ziegelmeier 2017-07-12 10:56:42 +02:00
  • c08459490d Update netifapi documentation Dirk Ziegelmeier 2017-07-12 10:48:43 +02:00
  • 66df84a5b5 Map dhcp_release_and_stop() to netifapi, mark old functions as deprecated Dirk Ziegelmeier 2017-07-12 10:43:40 +02:00
  • d021972785 Fix "no previous prototype" warning when TCP_QUEUE_OOSEQ is disabled Dirk Ziegelmeier 2017-07-11 09:59:11 +02:00
  • 449eb64fcb Fix my last commit - break is missing Dirk Ziegelmeier 2017-07-10 09:52:48 +02:00
  • 57b1471254 Avoid return in case statement, makes function control flow equal to other case statement paths Dirk Ziegelmeier 2017-07-10 09:40:21 +02:00
  • 9130d37df7 Add "fall through" statement to Axel's patch Dirk Ziegelmeier 2017-07-10 09:37:59 +02:00
  • 6f28a874b8 pbuf: Simplify pbuf_alloc a bit Axel Lin 2017-07-07 13:52:25 +08:00
  • f3c860958f -Wconversion (still far from finished) and other minor compilation fixes... goldsimon 2017-07-06 22:47:11 +02:00
  • 866d6c8637 Make PBUF_LINK_ENCAPSULATION_HLEN default signed (unsigned would be OK, but too many defines are signed already and mixing them gets bad) goldsimon 2017-07-06 20:26:24 +02:00
  • c730a404d4 Make ioctl(FIONBIO) take an int*, not a u32_t* to got the *nix way goldsimon 2017-07-06 20:25:41 +02:00
  • b8ecfe640c work on -Wconversion... goldsimon 2017-07-06 12:38:50 +02:00
  • 2594f1a423 Try to fix the build: ip_globals.current_ip6_header cannot really be const :( goldsimon 2017-07-06 11:50:02 +02:00
  • 694fc7e472 work on -Wconversion... goldsimon 2017-07-06 11:22:38 +02:00
  • 9d61e36466 work on -Wconversion, fixed some const bug in ip4 goldsimon 2017-07-06 09:00:39 +02:00
  • 44f7a3cb0d work on -Wconversion... goldsimon 2017-07-05 22:31:58 +02:00
  • c5607d3889 Fix compiling ASSERT (broken some commits ago) goldsimon 2017-07-05 12:22:02 +02:00
  • ba6b504cc0 work on -Wconversion... goldsimon 2017-07-05 12:20:26 +02:00
  • 9a40597ced work on -Wconversion... goldsimon 2017-07-04 21:31:30 +02:00
  • debf34ff9c work on -Wconversion... goldsimon 2017-07-04 21:26:30 +02:00
  • 2b2fa0ed71 Ensure SACKs are deleted when pbuf_free_ooseq() frees ooseq pbufs (because of memory shortage) goldsimon 2017-07-04 20:10:23 +02:00
  • 0b91888eb1 remove invalid TODO comment goldsimon 2017-07-04 20:09:41 +02:00
  • b1a90ad74a Added TCP SACKs to CHANGELOG goldsimon 2017-07-04 20:09:15 +02:00
  • 1a1c360f1d Fixed LWIP_TCP_SACK_VALID and its usage goldsimon 2017-07-03 21:41:34 +02:00
  • 6796bcf7ad Cleaned up a bit after merging SACK_OUT support (mostly coding style) goldsimon 2017-07-03 21:20:56 +02:00
  • b1a3c37c3c Partial SACK (RFC 2018) support Jakub Schmidtke 2017-06-29 17:06:16 -04:00
  • d262132b92 work on -Wconversion... goldsimon 2017-07-03 20:14:39 +02:00
  • 94beb4eddf Make inet_chksum.c compile with -Wconversion Dirk Ziegelmeier 2017-06-30 21:47:25 +02:00
  • 41177cfd1c work on -Wconversion... goldsimon 2017-06-30 22:10:16 +02:00
  • c636072362 pbuf.c: work on -Wconversion... goldsimon 2017-06-29 22:49:39 +02:00
  • 5d10e1b6c3 test_pbuf: free pbufs at the end of tests goldsimon 2017-06-29 20:43:33 +02:00
  • ca9eae26e1 PPP, VJ: Use vj_uncompress_err at appropriate places Axel Lin 2017-06-22 20:18:23 +08:00
  • 79f2200b27 PPP, PPPoS: Fix update SNMP ifoutoctets counter in pppos_output_last() Axel Lin 2017-06-22 20:12:54 +08:00
  • 5bddbdd914 tcp_output: faster return when nothing is to send (pcb->unsent == NULL) goldsimon 2017-06-29 08:47:26 +02:00
  • 48e55b1e5d tcp_output: slightly move the jump target 'output_done': when nothing is to send, pcb->unsent cannot be NULL; add a goldsimon 2017-06-29 08:43:59 +02:00
  • 229c9edad2 tcp: switch tcpflags_t to u16_t for all cases (bug #51326) Joel Cunningham 2017-06-27 15:52:38 -05:00
  • 092c6c1f07 DNS_MAX_SOURCE_PORTS is PP-checked to be <= 255... goldsimon 2017-06-26 08:48:17 +02:00
  • 5efe26ebd3 Fix the fix for LWIP_LOOPBACK_MAX_PBUFS :-) goldsimon 2017-06-26 08:21:53 +02:00
  • 5b15234833 work on -Wconversion... goldsimon 2017-06-25 23:01:57 +02:00
  • 197166d906 LWIP_LOOPBACK_MAX_PBUFS: fix compilation or memory leak for LWIP_LOOPBACK_MAX_PBUFS > 255 goldsimon 2017-06-25 20:31:09 +02:00
  • af0f4d4020 Start making the source compile correctly with gcc -Wconversion enabled goldsimon 2017-06-23 21:15:36 +02:00
  • c12aa3fb40 Remove double definition of SNTP_SERVER_DNS. Matthias Hofmann 2017-06-23 08:10:52 +02:00
  • d02a73c285 Replace usages of tcpip_callback_with_block(foo, bar, 0) with tcpip_try_callback() Dirk Ziegelmeier 2017-06-22 08:14:02 +02:00
  • b4921dc401 Ensure that all parts of an ip_addr are written for the various set commands when setting an ipv4 address in dual-stack configurations (for security & compiler warning reasons :) goldsimon 2017-06-22 07:48:38 +02:00
  • c9e7e56389 Fix IPv4-only and IPv6-only after again last commits goldsimon 2017-06-21 22:01:19 +02:00
  • 48213650cd Try to make unit tests work without -Wno-address goldsimon 2017-06-21 21:55:00 +02:00
  • c094fcc086 Try to make gcc work without -Wno-address goldsimon 2017-06-21 16:07:36 +02:00
  • 10a5afeee7 Revert my last change to tcpip_callback() - it breaks the semantics of the function. The function previously returned after posting a message, which is a short operation. Now it actually waits until the operation has completed - which may take a long time. This may break user programs. So all that remains is the cleanup separation in tcpip_callback() and tcpip_try_callback() :-( Dirk Ziegelmeier 2017-06-21 15:07:20 +02:00
  • 68d36f19f0 Implement LWIP core locking support in tcpip_callback_with_block() Created two new functions for API cleanup: tcpip_callback() that blocks until message is posted, cannot be called from IRQs. tcpip_try_callback() that does not block and just tries to post a message. Can be called from IRQs. Add compatibility #define tcpip_callback_with_block() that maps to these two functions according to "block" parameter. Dirk Ziegelmeier 2017-06-21 13:42:54 +02:00
  • 79d69ce526 Slightly optimize pbuf_alloc: encode 'header offset' in 'enum pbuf_layer' instead of switch/case (which was duplicated in pbuf_alloc and pbuf_alloced_custom) goldsimon 2017-06-21 13:37:05 +02:00
  • 11da4ef024 Use ip_addr_debug_print_val instead of ip_addr_debug_print where applicable goldsimon 2017-06-21 13:26:55 +02:00
  • aa98747d6f timeouts: Trivial comment fix for cyclic_timer Axel Lin 2017-06-21 16:04:10 +08:00
  • d4c8a1ac78 netconn: switch gethostbyname to use tcpip_send_msg_wait_sem (task #14523) Joel Cunningham 2017-05-31 19:36:39 -05:00
  • f13b1340f2 Refine comment changed by last commit goldsimon 2017-06-20 20:53:39 +02:00
  • 112e370457 Sending TCP timestamp option in SYN packets Jakub Schmidtke 2017-06-19 13:30:45 -04:00
  • faf74b36a4 PPP, VJ: Use pbuf_take instead of duplicate copy code Axel Lin 2017-06-16 09:39:16 +08:00
  • fc23257ca0 Fix unused arg from last patch the *real* lwIP way ;-) goldsimon 2017-06-20 20:13:31 +02:00
  • b92bcc5f02 Fix unused arg from last patch the lwIP way Dirk Ziegelmeier 2017-06-19 14:11:35 +02:00
  • 6e62b6090b Silence some unsed variable warnings. Our Air Quality 2017-06-18 14:41:06 +10:00
  • 02aaf12f48 stats: Use proper format modifier in stats_display_mem/stats_display_sys Axel Lin 2017-06-16 23:02:31 +08:00
  • c923d00340 Fix bug #51238: LWIP_ARRAYSIZE() can't be used on lwip_cyclic_timers Add const int variable containing number of array elements Dirk Ziegelmeier 2017-06-14 23:05:50 +02:00
  • 7197bf25f0 Add another posix compatibility header goldsimon 2017-06-14 23:05:30 +02:00
  • 82b9f86b45 Fixed bug #51195 (Calling inet_pton() causes buffer overrun on a struct in6_addr) goldsimon 2017-06-14 22:21:55 +02:00
  • 5a27e97baf smtp.c: Fix detecting overlength server names Thanks to Axel Lin Dirk Ziegelmeier 2017-06-14 22:06:37 +02:00
  • 67d1970059 pbuf_alloced_custom(): less code duplication, please :-) goldsimon 2017-06-14 21:39:53 +02:00