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 |
|
Simon Goldschmidt
|
3d48abb98d
|
Implemented timeout on send (TCP only, bug #33820)
|
2011-12-11 19:30:05 +01:00 |
|
Simon Goldschmidt
|
223307fa38
|
fixed default value of TCP_SND_BUF to not violate the sanity checks in init.c
|
2011-12-11 19:29:39 +01:00 |
|
Simon Goldschmidt
|
c951ab8cee
|
Converted runtime-sanity-checks into compile-time checks that can be disabled (since runtime checks can often not be seen on embedded targets)
|
2011-12-11 19:28:51 +01:00 |
|
goldsimon
|
81a49a437a
|
fixed bug #34337 (possible NULL pointer in sys_check_timeouts)
|
2011-12-11 19:28:11 +01:00 |
|
Simon Goldschmidt
|
5460900b14
|
splitted ppp.h to an internal and external header file to get a clear separation of which functions an application or port may use (task #11281)
|
2011-12-11 19:24:16 +01:00 |
|
Simon Goldschmidt
|
2576a2e565
|
use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs (bug #34019)
|
2011-12-11 19:18:45 +01:00 |
|
Simon Goldschmidt
|
49369cc9ce
|
Added a config option to randomize initial local TCP/UDP ports (so that different port ranges are used after a reboot; bug #33818; this one added tcp_init/udp_init functions again);
fixed a possible endless loop in tcp_new_port() if the number of active PCBs exceeds the number of available ports;
|
2011-12-11 19:18:09 +01:00 |
|
Simon Goldschmidt
|
fe66fa6540
|
Fixed typo: TCP_SNDQUEUELOWAT must be less than TCP_SND_QUEUELEN (as checked in init.c), not greater
|
2011-12-11 19:15:57 +01:00 |
|
Simon Goldschmidt
|
72e2d16f14
|
fixed bug #34072: UDP broadcast is received from wrong UDP pcb if udp port matches
|
2011-12-11 19:15:35 +01:00 |
|
Simon Goldschmidt
|
378bed8a03
|
DHCP uses LWIP_RAND() for xid's (bug #30302)
|
2011-12-11 18:50:36 +01:00 |
|
Simon Goldschmidt
|
9a1eeeea67
|
fixed bug #33952 PUSH flag in incoming packet is lost when packet is aggregated and sent to application
|
2011-12-11 18:49:50 +01:00 |
|
Simon Goldschmidt
|
68f8966f74
|
unit tests: correctly handle small PBUF_POOL_BUFSIZE settings, prevent NULL-pointer-deref. (ooseq test is still not running correctly...)
|
2011-12-11 18:49:31 +01:00 |
|
Simon Goldschmidt
|
e6a179ea32
|
netconn_alloc(): return on invalid protocol instead of initializing mbox size to 0
|
2011-12-11 18:49:07 +01:00 |
|
Simon Goldschmidt
|
adb2aeb10f
|
fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared to other options
|
2011-12-11 18:47:23 +01:00 |
|
Simon Goldschmidt
|
a030b741a5
|
fixed bug #34111 RST for ACK to listening pcb has wrong seqno
|
2011-12-11 18:46:34 +01:00 |
|
goldsimon
|
6145af516b
|
Fixed bogus IPH_V/HL and IPH_VHL_SET endianess dependency
|
2011-12-06 22:12:39 +01:00 |
|
Simon Goldschmidt
|
b1359f1c80
|
added netif remove callback (bug #32397)
|
2011-12-06 22:10:00 +01:00 |
|
goldsimon
|
7d254a542c
|
fix automatically merged fix for bug #33956 (TCP netconns don't need NETCONNTYPE_GROUP without IPv6 support)
|
2011-12-06 22:09:24 +01:00 |
|
Simon Goldschmidt
|
422e7963de
|
fixed bug #33956 Wrong error returned when calling accept() on UDP connections
|
2011-12-06 22:07:08 +01:00 |
|
Simon Goldschmidt
|
e2cdf0d39d
|
fixed bug #34057 socklen_t should be a typedef
|
2011-12-06 22:06:25 +01:00 |
|
Simon Goldschmidt
|
2fe1af0d05
|
fixed bug #34112 Odd check in pbuf_alloced_custom (typo)
|
2011-12-06 22:05:54 +01:00 |
|
Simon Goldschmidt
|
ff85feb22d
|
fixed bug #34122 dhcp: hostname can overflow
|
2011-12-06 22:05:15 +01:00 |
|
Simon Goldschmidt
|
be191148e0
|
fixed bug #34121 netif_add/netif_set_ipaddr fail on NULL ipaddr
|
2011-12-06 22:04:45 +01:00 |
|
Simon Goldschmidt
|
626131fb28
|
fixed bug #33962 TF_FIN not always set after FIN is sent. (This merely prevents nagle from not transmitting fast after closing.)
|
2011-12-06 22:04:01 +01:00 |
|
Simon Goldschmidt
|
d154f5c653
|
ETHARP_SUPPORT_VLAN: add support for an external VLAN filter function instead of only checking for one VLAN (define ETHARP_VLAN_CHECK_FN)
|
2011-12-06 22:01:15 +01:00 |
|
Simon Goldschmidt
|
38f619dd6f
|
IPv4: splitted IPv4 header fields version/len and tos, made macros depend on BYTE_ORDER to prevent unnecessary calls to htons()
|
2011-12-06 21:57:56 +01:00 |
|
Simon Goldschmidt
|
5b899dd85b
|
Prevent non-static function that is not declared in header file
|
2011-12-06 21:47:15 +01:00 |
|
Simon Goldschmidt
|
e7b9849a1a
|
Fixed some C compiler warnings
|
2011-12-06 21:46:53 +01:00 |
|
Simon Goldschmidt
|
b1980b36b8
|
fixed bug #31084 (socket API returns always EMSGSIZE on non-blocking sockets if data size > send buffers) -> now lwip_send() sends as much as possible for non-blocking sockets and only returns EWOULDBLOCK if the buffers are full
|
2011-12-06 21:44:53 +01:00 |
|
Simon Goldschmidt
|
20833fdcc4
|
init.c: changed some checks from runtime to compiletime (had to adapt some defines in ip.h for that)
|
2011-12-06 21:42:55 +01:00 |
|
Simon Goldschmidt
|
1ac0c90ec4
|
forgot CHANGELOG: freeing ooseq pbufs when the pbuf pool is empty implemented for NO_SYS==1: when not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ() at regular intervals from main level.
|
2011-12-06 21:40:03 +01:00 |
|
Simon Goldschmidt
|
e931086c3e
|
freeing ooseq pbufs when the pbuf pool is empty implemented for NO_SYS==1: when not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ() at regular intervals from main level.
|
2011-12-06 21:39:39 +01:00 |
|
Simon Goldschmidt
|
b65af6c572
|
ETHARP_STATE_STABLE_REREQUESTING: no need for member 'netif' in 'struct etharp_entry' if we re-request only from etharp_output() and use etharp_tmr() to reset the state of such entries to ETHARP_STATE_STABLE: that way, we also only send one ARP request per ARP_TMR_INTERVAL, but only if the entry is really still used.
|
2011-12-06 21:38:14 +01:00 |
|
Simon Goldschmidt
|
5983c1c5ff
|
ETHARP_SUPPORT_STATIC_ENTRIES: don't need the member 'static_entry' on struct etharp_entry, we can use 'state' to mark them as static
|
2011-12-06 21:37:51 +01:00 |
|
Simon Goldschmidt
|
be412dc042
|
fixed bug #33551 (ARP entries may time out although in use) by sending an ARP request when an ARP entry is used in the last minute before it would time out.
|
2011-12-06 21:37:01 +01:00 |
|
Simon Goldschmidt
|
23dfcf7b8c
|
Fixed bug #33802 tcpip: tcpip_callbackmsg_new sets msg->type to wrong type
|
2011-12-06 21:35:39 +01:00 |
|
goldsimon
|
e8b80b8ae9
|
Include opt.h so that LWIP_ERROR works correctly
|
2011-12-06 21:34:47 +01:00 |
|
goldsimon
|
a7f7762302
|
Fixed documentation after changing sys arch prototypes for 1.4.0
|
2011-12-06 21:32:38 +01:00 |
|
goldsimon
|
859fd87600
|
Slightly reorderd fields of struct tcp_pcb to plug holes introduced by member alignment (to reduce RAM usage)
|
2011-12-06 21:30:45 +01:00 |
|
goldsimon
|
211b8be07d
|
fixed bug #31723 (tcp_kill_prio() kills pcbs with the same prio) by updating its documentation only.
|
2011-12-06 21:29:33 +01:00 |
|