Commit Graph

2143 Commits

Author SHA1 Message Date
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
goldsimon
22ee104a04 fixed bug #33545: With MEM_USE_POOLS==1, mem_malloc can return an unaligned pointer. 2011-12-06 21:28:36 +01:00
goldsimon
49e16fcbe9 Fixed bug #33544 (warning in mem.c in lwip 1.4.0 with NO_SYS=1) 2011-12-05 21:23:56 +01:00
goldsimon
1b79ac1160 Added some more asserts to check that pcb->state != LISTEN 2011-12-05 21:21:27 +01:00
goldsimon
f9e286ff67 Cleaned up usage of sys.h a bit 2011-12-05 21:19:38 +01:00
goldsimon
d798abcb91 Provide a default for SNMP_GET_SYSUPTIME() based on sys_now() 2011-12-05 21:17:57 +01:00
goldsimon
5c05d427b0 use const char for name pointers in display functions 2011-12-05 21:17:09 +01:00
goldsimon
a45b1bad35 use const char for name pointers in display functions 2011-12-05 21:16:24 +01:00
goldsimon
88bf9b2380 Removed unused static function 2011-12-05 21:15:32 +01:00
goldsimon
717b2dab59 Moved static variable from inside the function to global scope 2011-12-05 21:15:00 +01:00
goldsimon
8d74559f72 Moved common call to pbuf_header outside the switch() 2011-12-05 21:13:05 +01:00
goldsimon
59513b41e5 Restructured the code a bit to help my dump compiler not creating a jump table in ROM 2011-12-05 21:10:22 +01:00
goldsimon
fe2003124a - changed "struct ip_addr" to "ip_addr_t";
- tcp_accepted(): added a note to call this on the listening pcb, not the connection pcb;
- tcp_write(): change last parameter from "copy" to "apiflags", documented the apiflags
2011-12-05 21:08:17 +01:00
goldsimon
8b06c61a70 fixed bug #33398 (pointless conversion when checking TCP port range) 2011-12-05 20:58:51 +01:00
goldsimon
f3c1686a40 replaced tab with spaces 2011-05-16 18:45:51 +00:00
goldsimon
33a587d97e Added a test for fast-rexmit 2011-05-14 15:26:43 +00:00
goldsimon
a444ec5111 patch #7449 allow tcpip callback from interrupt with static memory message 2011-05-14 12:23:10 +00:00
kieranm
5ead1bf5c8 Update version numbers for 1.4.1 development 2011-05-06 09:07:38 +00:00
kieranm
3a267586f4 Update CHANGELOG and version numbers for 1.4.0 release 2011-05-06 08:48:37 +00:00
goldsimon
52271e0366 Used upper case 'L' instead of lower case 'l' for long constant for better readability 2011-04-29 11:37:29 +00:00
goldsimon
e4739da961 Fixed overflow in tcp_new_port() after changing port range to IANA "Dynamic and/or Private Ports" range 2011-04-29 11:23:04 +00:00