Commit Graph

  • 7b41aba126 Add the last commit to CHANGELOG goldsimon 2017-08-04 21:23:12 +02:00
  • 65ac160e99 Wconversion-related cleanup: split pbuf_header(s16_t) into pbuf_add_header(size_t) and pbuf_remove_header(size_t) goldsimon 2017-08-04 13:15:30 +02:00
  • 22ccc2e2b8 Start working on an astylerc for lwIP (not finished, don't use!) Dirk Ziegelmeier 2017-08-04 09:55:49 +02:00
  • 1e5870ce85 Fix unit tests under linux goldsimon 2017-08-04 06:17:21 +02:00
  • 47f55b02bf Finally fix bug #50088 (socket/netconn: data before RST should be readable) and added a unit test for it goldsimon 2017-08-03 22:28:22 +02:00
  • 4cec20230e Ensure that unit tests leave the stack in a clean state goldsimon 2017-08-03 22:25:33 +02:00
  • 6fa5d02435 tcp: remove extra seg == NULL checks Joel Cunningham 2017-08-03 10:37:16 -05:00
  • 5ea7f507c3 Fixed bugs #51606 and #51535: IPv4 reassembly could be finished although there are holes goldsimon 2017-08-02 21:11:53 +02:00
  • 2781d7abd7 ip6_reass: Move update ip6_frag.drop stats to nullreturn Axel Lin 2017-08-01 18:45:39 +08:00
  • 5d2be3460f docs: update remaining api_msg_msg references Joel Cunningham 2017-08-01 11:56:54 -05:00
  • a81b19aa62 Fixed bug #51623: DHCP request XID should probably be regenerated for INIT-REBOOT goldsimon 2017-07-31 20:20:31 +02:00
  • 2b2ea50cb1 ip4: fix swapped src/dst params with ip4_route_src Joel Cunningham 2017-07-28 16:36:57 -05:00
  • 006bb84368 Fix bug #50883: struct eth_addr alignment does not fit with ETHADDR16_COPY ... by simply removing ETHADDR16_COPY since noone advocated to keep it Dirk Ziegelmeier 2017-07-30 17:48:16 +02:00
  • 500598658d ip4_reass: fixed bug #51596 (Insufficient overlap check) goldsimon 2017-07-28 10:11:45 +02:00
  • 3dedfa3d1f ip4_reass: fixed bug #51597 (Last fragment is assumed to have arrived even if it was discarded) goldsimon 2017-07-28 09:46:56 +02:00
  • f1072fee8a ip4_reass: fixed bug #51595 (ip_reass_pbufcount may be updated incorectly) goldsimon 2017-07-28 09:41:00 +02:00
  • ca76c302f1 Probably fix bug #51602: MQTT Ring buffer 'get' Rollover of get index was wrong Dirk Ziegelmeier 2017-07-28 08:01:30 +02:00
  • ff03ae6f55 dhcp: restart dhcp after releasing. Our Air Quality 2017-07-28 12:30:43 +10:00
  • 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