Commit Graph

2376 Commits

Author SHA1 Message Date
goldsimon
3db3811054 unit tests lwipopts.h: NO_SYS==1, disable netconn and sockets (not tests) -> lwipopts.h is now usable for unix unit test makefile, too 2012-02-22 22:42:20 +01:00
goldsimon
f8bafcb298 Minor: cosmetic source code layout changes 2012-02-22 22:42:16 +01:00
goldsimon
eb658da462 Fixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after adding snd_wnd_max to struct tcp_pcb. 2012-02-22 22:42:09 +01:00
goldsimon
d8b2bc2788 Added lwipopts.h file for unit tests 2012-02-22 22:42:02 +01:00
goldsimon
07af231f2b fixed pbuf leak when PPP session is aborted through pppSigHUP() (bug #35541: PPP Memory Leak) 2012-02-22 22:41:53 +01:00
goldsimon
8d04da8c6e fixed bug #35531: Impossible to send multicast without a gateway (introduced when fixing bug# 33551) 2012-02-22 22:41:45 +01:00
goldsimon
6b37e7ec74 Patch by Stéphane Lesage:
fixed bug #35536 SNMP: error too big response is malformed
2012-02-22 22:41:14 +01:00
goldsimon
8c5edcf564 fixed bug #35537: MEMP_NUM_* sanity checks should be disabled with MEMP_MEM_MALLOC==1 2012-02-22 22:40:55 +01:00
goldsimon
162432fe24 Correctly calculate the default value of MEMP_NUM_SYS_TIMEOUT as needed 2012-02-22 22:37:45 +01:00
goldsimon
13791ccff3 Fixed unused local variable warning (patch #7711) 2012-02-22 22:37:10 +01:00
goldsimon
aecc5db1be Removed unused variable in ip_debug_print() 2012-02-14 21:30:38 +01:00
goldsimon
d4b169a6de partly fixed bug #25882: TCP hangs on MSS > pcb->snd_wnd (by not creating segments bigger than half the window) 2012-02-12 14:19:43 +01:00
goldsimon
61588f9d90 tcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t only) 2012-02-12 14:19:34 +01:00
goldsimon
63dbd8faed fixed bug #35435: No pcb state check before adding it to time-wait queue while closing 2012-02-12 13:51:59 +01:00
goldsimon
4d71f7270b fixed bug #35305: pcb may be freed too early on shutdown(WR) 2012-02-12 13:51:49 +01:00
goldsimon
593f75fc3b fixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb: don't let PCBs time out from FIN_WAIT_2 if the RX side wasn't close (by either calling tcp_close or tcp_shutdown(RDWR)) 2012-02-12 13:51:07 +01:00
goldsimon
bec8cf9f38 Fixed my last chagne to pbuf_copy 2012-02-12 13:50:18 +01:00
goldsimon
b163197340 - fixed bug #35151: DHCP asserts on incoming option lengths;
- fixed wrong CHANGELOG of the last commit
2012-02-12 13:49:53 +01:00
goldsimon
be1dccd15e pbuf_copy(): moved the check for "p_to != NULL" to a better place. 2012-02-12 13:49:34 +01:00
goldsimon
83b46811f9 fixed bug #35291: NULL pointer in pbuf_copy 2012-02-12 13:48:57 +01:00
goldsimon
1d96195f47 implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW) (fixes bug #35061) 2012-02-12 13:48:40 +01:00
goldsimon
5546e46c60 Added option CHECKSUM_GEN_ICMP 2012-02-12 13:33:43 +01:00
goldsimon
4bcb7accb8 Fixed some merge errors 2011-12-15 06:19:25 +01:00
goldsimon
5f4f07c193 Merged from trunk: fixed compilation of tcp_helper.c 2011-12-14 22:10:39 +01:00
goldsimon
f76488a841 Merged from trunk: tcp_abandon: call tcp_rst before freeing the pcb to prevent copying addresses and ports to local variables 2011-12-14 21:49:47 +01:00
goldsimon
ef0a44c62d Merged from trunk: use constants for 'offset' based on pbuf_layer instead of calculating it using fall-through 2011-12-14 21:48:51 +01:00
goldsimon
d3ee77e7b1 Merged from trunk: use a define to set/reset netif->addr_hint to prevent too many #ifdef's in the code 2011-12-14 21:48:06 +01:00
goldsimon
a91d8e7395 Merged from trunk: removed empty function autoip_init() (converted to an empty define) 2011-12-14 21:46:47 +01:00
goldsimon
8114627d6a Fixed typo in define check: LWIP_IPv6_FRAG -> LWIP_IPV6_FRAG 2011-12-14 21:42:51 +01:00
Simon Goldschmidt
3306641708 bug #33634 ip_forward() have a faulty behaviour: Added pbuf flags to mark incoming packets as link-layer broadcast/multicast. Also added code to allow ip_forward() to forward non-broadcast packets to the input netif (set IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1). 2011-12-14 21:11:34 +01:00
Simon Goldschmidt
1ebd914cdc correctly prefix all functions with 'etharp_' (also static functions) 2011-12-14 21:06:13 +01:00
goldsimon
56207f2505 fixed bug #31177: tcp timers can corrupt tcp_active_pcbs in some cases 2011-12-14 19:58:49 +01:00
goldsimon
4c8e4fa003 fix for bug #34684 was wrong (netif for arp table entries was only set/reset with SNMP enabled) 2011-12-14 19:58:39 +01:00
goldsimon
c4f3b8818a fixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep' 2011-12-14 19:58:25 +01:00
goldsimon
f0b0a3760c fixed bug #34684: Clear the arp table cache when netif is brought down 2011-12-14 19:58:03 +01:00
goldsimon
b361533584 SEQ-comparing defines: cast parameters to u32_t for clarity 2011-12-14 19:57:01 +01:00
Ivan Delamer
40a16289f7 Use pppRecvWakeup only if PPP_INPROC_OWNTHREAD is defined.
Change-Id: Ie800289eb5f6a64d0be1d38eab7154d4aa473d57
2011-12-14 19:56:18 +01:00
Ivan Delamer
ec565c8a19 Conditional compilation in ppp.c according to PPP_ options.
Change-Id: I466ce2b0114c9428f5e21bd0a09bb221f40bfc3e
2011-12-14 19:54:40 +01:00
goldsimon
0b382a0d53 fixed bug #34638: Dead code in tcp_receive - pcb->dupacks 2011-12-14 19:54:20 +01:00
goldsimon
386a4b7079 - moved processing of refused_data to an own function (used from tcp_fasttmr and tcp_input);
- improved readability of tcp_slowtmr by using defines to access keepalive variables
2011-12-14 19:53:51 +01:00
goldsimon
3585cc1a70 fixed bug #34429: possible memory corruption with LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT set to 1 2011-12-14 19:46:57 +01:00
goldsimon
4790ebf282 SLIP netif: add support for multiple input strategies (threaded, polling, RX from ISR) 2011-12-14 19:46:43 +01:00
goldsimon
4ffbcbf62e added missing valid/set_invalid defines for NO_SYS 2011-12-14 19:46:27 +01:00
goldsimon
76e74b6635 removed the need to disable ARP_QUEUEING when LWIP_ARP is disabled an TCP_QUEUE_OOSEQ when LWIP_TCP is disabled 2011-12-14 19:46:01 +01:00
goldsimon
77f0305ef0 Fix default value of TCP_SNDLOWAT for small values of TCP_SND_BUF (broken with my 2nd-last commit) 2011-12-14 19:45:15 +01:00
Simon Goldschmidt
935144b3a3 fixed bug #34592: lwip_gethostbyname_r uses nonstandard error value, removed those unused (nonstandard?) error values from arch.h 2011-12-14 19:44:38 +01:00
Simon Goldschmidt
a148e33c42 fixed default values of TCP_SNDLOWAT and TCP_SNDQUEUELOWAT for small windows (bug #34176 select after non-blocking send times out) 2011-12-14 19:43:42 +01:00
Simon Goldschmidt
d96703bba3 fixed bug #34587: TCP_BUILD_MSS_OPTION doesn't consider netif->mtu, causes slow network 2011-12-14 19:43:25 +01:00
goldsimon
9621ccb712 fixed bug #34581 missing parentheses in udplite sockets code 2011-12-14 19:42:23 +01:00
goldsimon
21f39082b7 fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS 2011-12-14 19:42:06 +01:00