goldsimon
a00448c35a
create a new (contiguous) PBUF_RAM for every outgoing fragment if LWIP_NETIF_TX_SINGLE_PBUF==1
16 years ago
goldsimon
82b9152b8d
Removed checking ARP_TABLE_SIZE, this is done by the etharp module itself
16 years ago
goldsimon
d778fbb24f
Speedup TX by moving code from find_entry to etharp_output/etharp_query to prevent unnecessary function calls (inspired by patch #7135 ).
16 years ago
goldsimon
3803a0021d
patch #7130 : remove meaningless const qualifiers
16 years ago
goldsimon
3c96819a2c
Make LWIP_NETIF_TX_SINGLE_PBUF work for TCP, too
16 years ago
goldsimon
846a2fb933
Fixed compiling with different options disabled (TCP/UDP), triggered by bug #29345 ; don't allocate acceptmbox if LWIP_TCP is disabled
16 years ago
goldsimon
7e9eb55350
Added printf format modifier for mem_size_t depending on heap size
16 years ago
goldsimon
46b7bd6ec3
Make functions static where applicable, add default cases to switches where applicable, prevent old-style function prototypes (without arguments)
16 years ago
goldsimon
8bbe3d2fe0
Correctly cast pointers when assigning from void*
16 years ago
goldsimon
25f59761b3
fixed bug #29346 (removed comma after last enum member)
16 years ago
goldsimon
4b038f13de
sys_thread_new: name is a const pointer
16 years ago
goldsimon
da3d84d1dc
Fix compilation if ETHARP_SUPPORT_STATIC_ENTRIES==0
16 years ago
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