Commit Graph

2355 Commits

Author SHA1 Message Date
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
Simon Goldschmidt
0da2bd7f62 fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api 2011-12-14 19:40:49 +01:00
Simon Goldschmidt
d8f090a759 fixed bug #34517 (persist timer is started although no zero window is received) by starting the persist timer when a zero window is received, not when we have more data queued for sending than fits into the window 2011-12-13 22:05:00 +01:00
Simon Goldschmidt
bd0a664446 fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define 2011-12-13 22:03:03 +01:00
Simon Goldschmidt
aafa00f3aa fixed bug #34540: compiler error when CORE_LOCKING is used and not all protocols are enabled 2011-12-13 21:49:19 +01:00
Simon Goldschmidt
dbbd161219 fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4 2011-12-12 20:12:53 +01:00
Simon Goldschmidt
26f69123fd added unit test cases for seqno wraparound on fast-rexmit and rto-rexmit (unsent/unacked lists must be correctly sorted) 2011-12-12 20:12:20 +01:00
Simon Goldschmidt
de4a51e96e slightly rearranged freeing an acked segment to prevent keeping the reference too long 2011-12-12 20:12:07 +01:00
Simon Goldschmidt
a0bd27053d Added unit test case for persist timer / zero window probes 2011-12-12 20:11:02 +01:00
Simon Goldschmidt
56cee6b4d8 fixed bug #34426: tcp_zero_window_probe() transmits incorrect byte value when pcb->unacked != NULL 2011-12-11 19:54:43 +01:00
Simon Goldschmidt
277c7aa518 fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong 2011-12-11 19:54:09 +01:00
Simon Goldschmidt
5cfef5bf48 Tried to fix bug #32417 ("TCP_OVERSIZE seems to have problems with (fast-)retransmission"): Reset pcb->unsent_oversize in 2 more places... 2011-12-11 19:46:21 +01:00
Simon Goldschmidt
ca6fd6015c Implemented limiting data on ooseq queue (task #9989) (define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h), added unit test for this new feature 2011-12-11 19:45:59 +01:00
Simon Goldschmidt
eff10f6458 fixed bug #28288: Data after FIN in oos queue 2011-12-11 19:45:29 +01:00
goldsimon
9c3a6b828f bug #34406 dhcp_option_hostname() can overflow the pbuf 2011-12-11 19:45:07 +01:00
Simon Goldschmidt
ba3567ea40 added unit tests for data-after-FIN 2011-12-11 19:44:56 +01:00
Simon Goldschmidt
513522d7c4 fixed unit tests (one TCP test failed, removed comma at the end of array initializers) 2011-12-11 19:44:43 +01:00
Simon Goldschmidt
5715469d26 fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1 2011-12-11 19:44:01 +01:00
Simon Goldschmidt
140eb22cf0 fixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can lose data 2011-12-11 19:43:40 +01:00
Simon Goldschmidt
ac7c061406 Fixed tcp_accepted define (need brackets around the parameter) 2011-12-11 19:38:16 +01:00
Simon Goldschmidt
45a3f198e8 fixed bug #34355: nagle does not take snd_buf/snd_queuelen into account 2011-12-11 19:36:03 +01:00
Simon Goldschmidt
d5eb52868e Corrected fix for bug #34072 (UDP broadcast is received from wrong UDP pcb if udp port matches): pcbs bound to IPADDR_ANY did not receive broadcasts any more (bug #34294) 2011-12-11 19:35:43 +01:00