goldsimon
|
8768e4488a
|
patch #6865: use so_options SOF_REUSEADDR instead of flags TF_REUSEADDR (which has ben removed again)
|
2010-02-12 16:32:31 +00:00 |
|
goldsimon
|
d3635c5eef
|
patch #6865 (SO_REUSEADDR for TCP): if tcp_pcb.flags has TF_REUSEADDR set, allow binding to endpoint in TIME_WAIT
|
2010-02-12 15:33:02 +00:00 |
|
goldsimon
|
5d360a6711
|
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
|
2010-02-04 18:47:44 +00:00 |
|
goldsimon
|
a23b446ddf
|
Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code).
|
2010-02-04 17:21:32 +00:00 |
|
kieranm
|
95445fc328
|
Ensure ssthresh >= 2*MSS
|
2010-01-28 13:14:42 +00:00 |
|
goldsimon
|
0644c4c08e
|
Fixed bug #27871: Calling tcp_abort() in recv callback can lead to accessing unallocated memory. As a consequence, ERR_ABRT means the application has called tcp_abort()!
|
2010-01-27 17:22:06 +00:00 |
|
goldsimon
|
e678e1bdcb
|
bug #28659: Missing casts
|
2010-01-25 08:24:30 +00:00 |
|
goldsimon
|
dbcce3a4be
|
bug #26523: Compiler Warnings
|
2010-01-23 17:48:36 +00:00 |
|
goldsimon
|
82318c0ef1
|
Fixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in raw- and netconn-API
|
2010-01-21 18:43:37 +00:00 |
|
goldsimon
|
2d4e76874c
|
Using typedefs for function prototypes and -pointers throughout the stack for clarity
|
2010-01-14 20:02:15 +00:00 |
|
goldsimon
|
59005b544f
|
Minor fix: bug #28555: Retransmission timer only stopped if TCP_QUEUE_OOSEQ==1
|
2010-01-13 14:24:15 +00:00 |
|
goldsimon
|
97f6c5b239
|
D'Oh!
|
2010-01-10 11:42:31 +00:00 |
|
goldsimon
|
f4a9d173a1
|
bug #28127: remove call to tcp_output() from tcp_ack(_now)()
|
2010-01-10 11:41:25 +00:00 |
|
goldsimon
|
802a048302
|
Commented 2 variables
|
2009-12-31 15:12:00 +00:00 |
|
goldsimon
|
35d1c33e0a
|
tcp_alloc: prevent increasing stats.err for MEMP_TCP_PCB when reusing time-wait pcb as suggested by Bill 4 months ago
|
2009-11-22 17:52:48 +00:00 |
|
goldsimon
|
6d22c38e59
|
tcp_recv_null: call tcp_recved() if p != NULL to keep the window correct
|
2009-11-22 16:16:55 +00:00 |
|
goldsimon
|
6bb7f987f2
|
Fixed bug #28049 (Keep Alive timeout frees pcb then uses it, sometimes causing crash error) by calling tcp_rst() instead of tcp_abort() in tcp_slowtmr() when retransmit timer expires.
|
2009-11-22 15:44:12 +00:00 |
|
goldsimon
|
b30c6f8b9e
|
Fixed comment: tcp_pcb_remove does *not* deallocate the pcb
|
2009-11-20 16:43:57 +00:00 |
|
goldsimon
|
81f9442ac7
|
Fixed bug #27783: Silly window avoidance for small window sizes
|
2009-10-23 13:17:18 +00:00 |
|
goldsimon
|
68f92050e9
|
Make tcp_debug_state_str() always available, not only in DEBUG mode
|
2009-10-07 17:44:59 +00:00 |
|
goldsimon
|
ae7a7a0abf
|
Added function tcp_debug_state_str() to convert a tcp state to a human-readable string.
|
2009-08-23 10:57:37 +00:00 |
|
kieranm
|
0b75917121
|
BUG27209: handle trimming of segments when out of window or out of
order properly
|
2009-08-12 08:34:48 +00:00 |
|
goldsimon
|
3553efb75e
|
Added newline to TCP header flags debug print
|
2009-07-28 17:02:48 +00:00 |
|
kieranm
|
c232edb83a
|
BUG26301 and BUG26267: correct simultaneous close behaviour, and make
snd_nxt have the same meaning as in the RFCs.
|
2009-06-25 09:57:36 +00:00 |
|
kieranm
|
f1a9f7ea70
|
BUG20515: rework way TCP window updates are calculated and sent
|
2009-03-31 14:23:40 +00:00 |
|
kieranm
|
4b14621208
|
TASK9218: add support for TCP timestamp options
|
2009-03-31 14:13:32 +00:00 |
|
kieranm
|
efac109803
|
BUG25622: handle return code of tcp_enqueue in tcp_listen_input()
|
2009-03-26 14:31:02 +00:00 |
|
goldsimon
|
d976c8e85f
|
fixed bug #24440: TCP connection close problem on 64-bit host by moving accept callback function pointer to TCP_PCB_COMMON
|
2009-02-16 16:50:58 +00:00 |
|
goldsimon
|
10c3ce08af
|
fixed bug #25467: Listen backlog is not reset on timeout in SYN_RCVD: Accepts_pending is decrease on a corresponding listen pcb when a connection in state SYN_RCVD is close.
|
2009-02-10 20:29:38 +00:00 |
|
jifl
|
c231e95cce
|
* tcp.c: Fix bug #24227, wrong error message in tcp_bind.
|
2008-09-30 13:50:39 +00:00 |
|
goldsimon
|
aee9c4c8e6
|
fixed bug #22249: division by zero could occur if a remote host sent a zero mss as TCP option.
|
2008-03-26 11:57:12 +00:00 |
|
fbernon
|
f02c39a402
|
tcp.c, tcp_in.c, tcp.h, opt.h: Rename LWIP_CALCULATE_EFF_SEND_MSS in TCP_CALCULATE_EFF_SEND_MSS to have coherent TCP options names.
|
2008-01-22 21:15:14 +00:00 |
|
fbernon
|
7518acf634
|
rawapi.txt, api_msg.c, tcp.c, tcp_in.c, tcp.h: changes for task #7675 "Enable to refuse data on a TCP_EVENT_RECV call". Important, behavior changes for the tcp_recv callback (see rawapi.txt).
|
2008-01-14 21:07:08 +00:00 |
|
fbernon
|
82ddf82866
|
Minor change: add comment
|
2008-01-12 16:46:40 +00:00 |
|
fbernon
|
9c4daa312d
|
Minor changes in lwip folder: fix some warnings, coding style, and rename "internal" netconn_alloc function.
|
2008-01-04 23:07:44 +00:00 |
|
fbernon
|
32005617b9
|
rawapi.txt, api.h, api_lib.c, api_msg.h, api_msg.c, sockets.c, tcp.h, tcp.c, tcp_in.c, init.c, opt.h: rename backlog options with TCP_ prefix, limit the "backlog" parameter in an u8_t, 0 is interpreted as "smallest queue", add documentation in the rawapi.txt file.
|
2008-01-04 22:18:27 +00:00 |
|
kieranm
|
99afb15ced
|
Add persist timer
|
2007-12-31 13:34:47 +00:00 |
|
goldsimon
|
1ed34774c8
|
tcp.h, opt.h, api.h, api_msg.h, tcp.c, tcp_in.c, api_lib.c, api_msg.c, sockets.c, init.c: task #7252: Implement TCP listen backlog: Warning: raw API applications have to call 'tcp_accepted(pcb)' in their accept callback to keep accepting new connections.
|
2007-12-21 16:47:56 +00:00 |
|
kieranm
|
1cb470662b
|
Whitespace fix.
|
2007-12-20 15:05:09 +00:00 |
|
kieranm
|
8cc32bc29c
|
2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
* tcp.c, tcp_in.c, tcp_out.c, tcp.h: fix bug #20199 (better handling
of silly window avoidance and prevent lwIP from shrinking the window)
|
2007-12-20 14:51:35 +00:00 |
|
goldsimon
|
8d3d08e814
|
fix bug #21699 (segment leak in ooseq): add assert that all segment lists are empty in tcp_pcb_remove before setting pcb to CLOSED state; don't directly set CLOSED state from LAST_ACK in tcp_process
|
2007-12-04 20:41:12 +00:00 |
|
goldsimon
|
5743b11925
|
Check state == CLOSED in tcp_bind and tcp_connect to prevent binding/connecting twice (using LWIP_ERROR: can be disabled)
|
2007-11-25 18:37:34 +00:00 |
|
goldsimon
|
95425552d7
|
Implemented calculating the effective send-mss based on the MTU of the netif used to send. Enabled by default. Disable by setting LWIP_CALCULATE_EFF_SEND_MSS to 0. This fixes bug #21535.
|
2007-11-21 18:37:23 +00:00 |
|
goldsimon
|
2d5908f4de
|
Fixed bug #21494: The send mss (pcb->mss) is set to 536 (or TCP_MSS if that is smaller) as long as no MSS option is received from the remote host.
|
2007-11-01 16:53:43 +00:00 |
|
goldsimon
|
298d5cf042
|
Fixed bug #21491: The MSS option sent (with SYN) is now based on TCP_MSS instead of pcb->mss (on passive open now effectively sending our configured TCP_MSS instead of the one received).
|
2007-11-01 16:23:32 +00:00 |
|
goldsimon
|
7a99d73092
|
Added some explaining comments.
|
2007-10-28 17:43:21 +00:00 |
|
goldsimon
|
199648ff37
|
Changed initialization: many init functions are not needed any more since we now rely on the compiler initializing global and static variables to zero!
|
2007-10-09 19:59:56 +00:00 |
|
goldsimon
|
0aa3d89134
|
Fixed bug #21080 (tcp_bind without check pcbs in TIME_WAIT state) by checking tcp_tw_pcbs also
|
2007-09-20 18:27:50 +00:00 |
|
fbernon
|
e3cd1ac1f9
|
Minor changes (but in lot of files): add #if/#endif for options where they could miss. #if LWIP_xxx if always put after #include "lwip/opt.h" (note this one indirectly include cc.h). Move others includes inside #if/#endif block.
|
2007-09-07 23:01:59 +00:00 |
|
fbernon
|
9152d6671c
|
Comments Fix for Doxygen documentation
|
2007-08-09 22:21:44 +00:00 |
|