goldsimon
|
4b934945f3
|
Slightly reorderd fields of struct tcp_pcb to plug holes introduced by member alignment (to reduce RAM usage)
|
2011-06-26 17:53:45 +00:00 |
|
goldsimon
|
d0026793bf
|
Cleaned up usage of sys.h a bit
|
2011-06-26 16:51:04 +00:00 |
|
idelamer
|
629fad6f5f
|
Minor edits for for IPv6 compilation
|
2011-06-17 11:03:15 +00:00 |
|
goldsimon
|
6865806b55
|
Combined IPv4 and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP code so that the code is more readable.
|
2011-05-25 17:16:35 +00:00 |
|
goldsimon
|
4bfbe7ebeb
|
... and finally, we got a first working version of a dual-stack lwIP runnin IPv4 and IPv6 in parallel - big thanks to Ivan Delamer! (this is work in progress, so please beware, test a lot and report problems!)
|
2011-05-17 19:35:14 +00:00 |
|
goldsimon
|
856ccb5bb7
|
Added missing U/UL modifiers to fix 16-bit-arch portability.
|
2011-02-18 13:31:28 +00:00 |
|
goldsimon
|
9f0b7261e5
|
Fix calculation of tcp_mss(): when timestamps are on, this is pcb->mss - 12 or else NOCOPY-apps might generate unperformant PBUF_REF chains
|
2010-03-13 15:04:08 +00:00 |
|
goldsimon
|
43a08bef14
|
tcp_accepted(): check pcb state to verify it isn't called on a connection-pcb
|
2010-03-06 12:06:27 +00:00 |
|
goldsimon
|
b6542b977e
|
task #7040 (Work on tcp_enqueue): Don't waste memory when chaining segments, added option TCP_OVERSIZE to prevent creating many small pbufs when calling tcp_write with many small blocks of data. Instead, pbufs are allocated larger than needed and the space is used for later calls to tcp_write.
|
2010-03-05 11:14:31 +00:00 |
|
goldsimon
|
bcd4b76d31
|
Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains the actual application programmer's API
|
2010-02-21 11:35:21 +00:00 |
|
goldsimon
|
d9157a71bb
|
Task #10088: Correctly implement close() vs. shutdown(). Now the application does not get any more recv callbacks after calling tcp_close(). Added tcp_shutdown().
|
2010-02-20 18:05:56 +00:00 |
|
goldsimon
|
eae9798276
|
Fixed pcb leak when accept-callback is NULL and asserts are disabled
|
2010-02-20 17:27:08 +00:00 |
|
goldsimon
|
36043a92e7
|
Restructured TCP_PCB_COMMON for a smaller size (u16_t at the end)
|
2010-02-20 10:01:43 +00:00 |
|
goldsimon
|
c637441f52
|
tcp_seg(s)_free: remove return value, noone uses it
|
2010-02-16 17:20:10 +00:00 |
|
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
|
04a8b0f85d
|
Added TCP_SNDQUEUELOWAT corresponding to TCP_SNDLOWAT and added tcp_sndqueuelen() - this fixes bug #28605
|
2010-01-27 18:24:57 +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
|
2d4e76874c
|
Using typedefs for function prototypes and -pointers throughout the stack for clarity
|
2010-01-14 20:02:15 +00:00 |
|
goldsimon
|
f4a9d173a1
|
bug #28127: remove call to tcp_output() from tcp_ack(_now)()
|
2010-01-10 11:41:25 +00:00 |
|
goldsimon
|
cce192a671
|
Call tcp_timer_needed() with NO_SYS==1, too
|
2010-01-07 09:47:30 +00:00 |
|
goldsimon
|
a7bcdf4398
|
Remove warning for TCP_LISTEN_BACKLOG==0
|
2009-12-31 16:51:17 +00:00 |
|
goldsimon
|
7d46e06824
|
Fixed bug #28106: dup ack for fast retransmit could have non-zero length
|
2009-12-03 19:42:35 +00:00 |
|
goldsimon
|
43fd5c28b5
|
Fixed bug #28098: Nagle can prevent fast retransmit from sending segment by basing the nagle-decision on TF_INFR also
|
2009-11-26 16:42:13 +00:00 |
|
goldsimon
|
4391463832
|
Got the tcp_nagle_*() defines wrong (inverted) :-(
|
2009-11-26 15:51:29 +00:00 |
|
goldsimon
|
c8d2d2a8ea
|
Fixed bug #28099 (API required to disable Nagle algorithm at PCB level): added tcp_nagele_*() function-like macros
|
2009-11-26 15:19:30 +00:00 |
|
goldsimon
|
10edf64873
|
Fixed bug #27851 (TCP_EVENT_RECV(pcb, NULL,...) results in unreachable code warning) by calling tcp_recv_null if pcb->recv is null.
|
2009-11-22 16:17:55 +00:00 |
|
kieranm
|
dee1d82c11
|
re-work the fast retransmission code to follow algorithm from TCP/IP
Illustrated
|
2009-10-29 15:48:57 +00:00 |
|
goldsimon
|
bcc87ef851
|
bug-fix in the TCP_EVENT_RECV macro (has to call tcp_recved if pcb->recv is NULL to keep rcv_wnd correct)
|
2009-10-25 18:47:44 +00:00 |
|
goldsimon
|
6ef69ece95
|
patch #6930: [PATCH trivial] TCP_RMV remove unnecessary check - removed two checks for NULL which are not necessary.
|
2009-10-07 18:04:24 +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
|
4d49d952b6
|
patch #6843: tcp.h macro optimization patch (for little endian)
|
2009-08-23 11:13:19 +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
|
776e1926a3
|
BUG26879: set ret value in TCP_EVENT_ macros when function is not set
|
2009-06-25 10:03:53 +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 |
|
goldsimon
|
24342eaab0
|
Fixed bug #26349: Nagle algorithm doesn't send although segment is full (and unsent->next == NULL)
|
2009-05-03 14:17:33 +00:00 |
|
kieranm
|
f81ed216db
|
Patch#6802 Add do-while-clauses to those function like macros in tcp.h
|
2009-04-09 15:09:22 +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
|
aa568727d1
|
patch #6699: fixed some warnings on platform where sizeof(int) == 2
|
2008-12-19 18:08:29 +00:00 |
|
jifl
|
2ec3c46838
|
Fix incorrect units in comment for TCP_MSL. Allow override.
|
2008-01-28 15:30:06 +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
|
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
|
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 |
|