goldsimon
5ef976aed5
Fixed bug #29332 : lwip_select() processes readset incorrectly
16 years ago
goldsimon
cf0b831971
Fixed bug #29080 : Correctly handle remote side overrunning our rcv_wnd in ooseq case.
16 years ago
goldsimon
d861daeb4e
Removed function prototype that had no corresponding implementation (pbuf_ref_chain)
16 years ago
goldsimon
0a2eb3fdc8
minor: fixed coding style
16 years ago
goldsimon
6fb248c9e0
task #10088 : Fixed a bug in RST-on-close-when-not-all-data-acked implementation (plus removed some unnecessary casts)
16 years ago
goldsimon
40946a79d3
Removed duplicate TCP_REG/TCP_RMV macros, fixed debug macro implementation
16 years ago
goldsimon
124ca0fed2
tcp_listen() did not copy the pcb's prio
16 years ago
goldsimon
5d153ca1b3
Fixed compilation for MEM_USE_POOLS under MSVC (where ++ doesn't work for enums)
16 years ago
goldsimon
a5b0ea97d6
Updated netconn_write doc/comment about api_flags
16 years ago
goldsimon
0a49f2e068
Corrected spelling of ERR_WOULDBLOCK (D was missing)
16 years ago
goldsimon
57594ad7b6
tcp_write: moved initial checks to an own static function for clarity
16 years ago
goldsimon
75bb43698c
Disable MEMP_TCPIP_MSG_INPKT pool for LWIP_TCPIP_CORE_LOCKING_INPUT==1
16 years ago
goldsimon
f70014b8ea
Added an option to disable tcpip_(un)timeout code since the linker cannot do this automatically to save space.
16 years ago
goldsimon
5fd410db4b
Added support for static ARP table entries (added option ETHARP_SUPPORT_STATIC_ENTRIES) (+ added test); refactored the etharp code a bit
16 years ago
goldsimon
385d044f7d
Corrected spelling of milliseconds (my dictionary tells me to use two l's :)
16 years ago
goldsimon
d0f1c552e2
Fixed bug #29256 : SNMP Trap address was not correctly set
16 years ago
goldsimon
a54bb7205d
Added missing casts, use strlen + MEMCPY instead of strcpy (as that might overrun the buffer)
16 years ago
goldsimon
7466474365
Fixed compiler warnings when casting where we know the source is aligned (by casting to void-pointer first)
16 years ago
goldsimon
c4bc9ce59a
Fixed alignment warnings when we know alignment is correct (by using LWIP_MEM_ALIGN)
16 years ago
goldsimon
e25c9f7951
Fixed compiler warning when LWIP_SNMP==0
16 years ago
goldsimon
94cbed5096
Corrected comment
16 years ago
goldsimon
f83ace2034
task #6849 : Calculate checksum when creating TCP segments, not when (re-)transmitting them.
16 years ago
goldsimon
84ed9de21a
Prepared for checksum-on-copy (task #6849 ):
...
- Added option LWIP_CHECKSUM_ON_COPY;
- Added function + define lwip_chksum_copy to create checksum when copying data
16 years ago
goldsimon
4e764017c1
Fixed bug #29148 (Incorrect PBUF_POOL_BUFSIZE for ports where ETH_PAD_SIZE > 0) by moving definition of ETH_PAD_SIZE to opt.h and basing PBUF_LINK_HLEN on it.
16 years ago
goldsimon
67f5e17588
Bug #29210 : check alignment of struct sockaddr vs. struct sockaddr_in
16 years ago
goldsimon
d13ac66cc4
Fixed sending one byte of data in tcp_zero_window_probe (which I accidentally broke with v1.103)
16 years ago
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
16 years ago
goldsimon
ad4a869b94
Some fixes to the TCP_OVERSIZE code:
...
- fix compiling with TCP_OVERSIZE==0;
- fix segment-size calculation when options are used;
16 years ago
goldsimon
79d3b41e13
Reverted the change in struct sockaddr since it wasn't compatible to the standard (bug #29210 )
16 years ago
goldsimon
839befe68a
Corrected comment
16 years ago
goldsimon
097e8c8eb4
Fixed some issues in the TCP_OVERSIZE code:
...
- reset tcp_pcb.unsent_oversize when last_unsent is changed;
- added TCP_OVERSIZE_DBGCHECK: check tcp_pcb.unsent_oversize vs. (debug-only) tcp_seg.oversize_left to ensure the pcb counter is correct;
- fixed a memory leak in tcp_write;
16 years ago
goldsimon
90c7d3aaff
Temporary upgrade helper: define format string for u8_t as hex if not defined in cc.h
16 years ago
goldsimon
2621e3fa19
Use a union to let struct sockaddr have the same alignment requirements as struct sockaddr_in
16 years ago
goldsimon
36d7f50d77
Renamed tcp_output_set_header to tcp_output_alloc_header and included more code common to all callers
16 years ago
goldsimon
ffbb582dde
ip_output: assert for p->ref == 1 to catch TCP retransmissions where the netif hasn't freed the pbuf yet
16 years ago
goldsimon
3bfc07eb92
Added comment, use braces for single-line if-blocks
16 years ago
goldsimon
d91caf1cd3
ip_input: better check for old link-local-address (explicitly check for autoip->llipaddr instead of letting all link-local-addresses through)
16 years ago
goldsimon
2a2be49d2c
task #10241 (AutoIP: don't break existing connections when assiging routable address): when checking incoming packets and aborting existing connection on address change, filter out link-local addresses.
16 years ago
goldsimon
d47a04456b
bug #29105 : Review printf formatters
16 years ago
goldsimon
b9499d07c2
bug #29105 : Review printf formatters: added X8_F to cc.h and use it in etharp.c
16 years ago
goldsimon
5d20e690fd
Added/corrected casts
16 years ago
goldsimon
1c23bfdc7f
Only add hostname if it's not empty (strlen > 0)
16 years ago
goldsimon
d5531a239b
bug #28775 (select/event_callback: only check select_cb_list on change) plus use SYS_LIGHTWEIGHT_PROT to protect the select code. This should speed up receiving data on sockets as the select code in event_callback is only executed when select is waiting.
16 years ago
goldsimon
9e37d70163
Create mem_mutext at the end of mem_init. This enables sys_mutex_new to use the heap if required.
16 years ago
goldsimon
99ff7efe80
Use braces for if-blocks
16 years ago
goldsimon
43a08bef14
tcp_accepted(): check pcb state to verify it isn't called on a connection-pcb
16 years ago
goldsimon
92beddd72f
task #7013 (Create option to have all packets delivered to netif->output in one piece): Always copy to try to create single pbufs in tcp_write.
16 years ago
goldsimon
f5b783d107
Fixed LWIP_NETIF_TX_SINGLE_PBUF for LWIP_TCPIP_CORE_LOCKING
16 years ago
goldsimon
a5a870c683
LWIP_NETIF_TX_SINGLE_PBUF needs TCP_OVERSIZE >= TCP_MSS for TCP
16 years ago
goldsimon
19ab25c861
LWIP_TCPIP_CORE_LOCKING_INPUT needs LWIP_TCPIP_CORE_LOCKING to work correctly
16 years ago