Commit Graph

  • 78f0307246 Slipif: fixed IPv6 support goldsimon 2011-10-23 17:38:23 +02:00
  • c5203ab5ea fixed bug #34429: possible memory corruption with LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT set to 1 goldsimon 2011-10-23 17:31:03 +02:00
  • 3d1a306518 SLIP netif: add support for multiple input strategies (threaded, polling, RX from ISR) goldsimon 2011-10-21 22:25:44 +02:00
  • 2750d61e92 added missing valid/set_invalid defines for NO_SYS goldsimon 2011-10-21 19:47:37 +02:00
  • 43ac5ad70d removed the need to disable ARP_QUEUEING when LWIP_ARP is disabled an TCP_QUEUE_OOSEQ when LWIP_TCP is disabled goldsimon 2011-10-21 13:24:33 +02:00
  • 309e936ad9 Fix default value of TCP_SNDLOWAT for small values of TCP_SND_BUF (broken with my 2nd-last commit) goldsimon 2011-10-19 12:55:32 +02:00
  • d00fa906cf fixed bug #34592: lwip_gethostbyname_r uses nonstandard error value, removed those unused (nonstandard?) error values from arch.h Simon Goldschmidt 2011-10-18 20:56:08 +02:00
  • 01839b9c14 fixed default values of TCP_SNDLOWAT and TCP_SNDQUEUELOWAT for small windows (bug #34176 select after non-blocking send times out) Simon Goldschmidt 2011-10-18 20:22:09 +02:00
  • 1f396946e5 fixed bug #34587: TCP_BUILD_MSS_OPTION doesn't consider netif->mtu, causes slow network Simon Goldschmidt 2011-10-18 20:11:39 +02:00
  • 2f58ef781c fixed bug #34581 missing parentheses in udplite sockets code goldsimon 2011-10-18 11:04:08 +02:00
  • 8b9f70ac08 fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS goldsimon 2011-10-18 11:00:10 +02:00
  • e039d4103f fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api Simon Goldschmidt 2011-10-17 19:38:47 +02:00
  • 0333e81616 fixed bug #34517 (persist timer is started although no zero window is received) by starting the persist timer when a zero window is received, not when we have more data queued for sending than fits into the window Simon Goldschmidt 2011-10-13 21:18:16 +02:00
  • cf1be4ae2d fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define Simon Goldschmidt 2011-10-13 19:29:48 +02:00
  • dc34636598 fixed bug #34540: compiler error when CORE_LOCKING is used and not all protocols are enabled Simon Goldschmidt 2011-10-13 19:25:11 +02:00
  • c74d881d3d fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4 Simon Goldschmidt 2011-10-12 18:17:07 +02:00
  • ab51f3bec0 added unit test cases for seqno wraparound on fast-rexmit and rto-rexmit (unsent/unacked lists must be correctly sorted) Simon Goldschmidt 2011-10-11 21:43:27 +02:00
  • b4c4fae3f5 slightly rearranged freeing an acked segment to prevent keeping the reference too long Simon Goldschmidt 2011-10-11 21:41:58 +02:00
  • ce98df59f1 Added unit test case for persist timer / zero window probes Simon Goldschmidt 2011-10-10 21:06:50 +02:00
  • f29bdd21a7 fixed bug #34426: tcp_zero_window_probe() transmits incorrect byte value when pcb->unacked != NULL Simon Goldschmidt 2011-10-09 20:11:33 +02:00
  • 9d31401d47 fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong Simon Goldschmidt 2011-10-09 14:30:49 +02:00
  • 5c68bbe16f Tried to fix bug #32417 ("TCP_OVERSIZE seems to have problems with (fast-)retransmission"): Reset pcb->unsent_oversize in 2 more places... Simon Goldschmidt 2011-09-29 21:12:34 +02:00
  • 07c610e068 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 Simon Goldschmidt 2011-09-27 22:42:46 +02:00
  • 998f109fc8 fixed bug #28288: Data after FIN in oos queue Simon Goldschmidt 2011-09-27 21:08:49 +02:00
  • cfb70bccc1 bug #34406 dhcp_option_hostname() can overflow the pbuf goldsimon 2011-09-27 07:49:04 +02:00
  • 7524f9006e added unit tests for data-after-FIN Simon Goldschmidt 2011-09-26 22:10:11 +02:00
  • bcfe3dacc6 fixed unit tests (one TCP test failed, removed comma at the end of array initializers) Simon Goldschmidt 2011-09-26 22:09:27 +02:00
  • 6c56151d27 fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1 Simon Goldschmidt 2011-09-24 13:59:33 +02:00
  • 98274d2145 Reverted invalid fix for invalid bug #34360 done yesterday... Simon Goldschmidt 2011-09-23 19:26:29 +02:00
  • 1d125f55ba Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/lwip Simon Goldschmidt 2011-09-23 19:16:01 +02:00
  • 918470affc fixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can lose data Simon Goldschmidt 2011-09-23 19:14:17 +02:00
  • 797f26e45b fixed bug #34360 tcp_shutdown: RST on unacked is not send when shutting down both rx AND tx Simon Goldschmidt 2011-09-22 21:38:56 +02:00
  • e145c1d31c Fixed tcp_accepted define (need brackets around the parameter) Simon Goldschmidt 2011-09-22 19:19:07 +02:00
  • bb5d0c5c4a fixed bug #34355: nagle does not take snd_buf/snd_queuelen into account Simon Goldschmidt 2011-09-22 18:50:18 +02:00
  • 0aea1b608a 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) Simon Goldschmidt 2011-09-22 06:24:58 +02:00
  • a2aa43a426 Implemented timeout on send (TCP only, bug #33820) Simon Goldschmidt 2011-09-21 19:36:09 +02:00
  • 8d5514603e fixed default value of TCP_SND_BUF to not violate the sanity checks in init.c Simon Goldschmidt 2011-09-21 18:47:44 +02:00
  • b9a2feff5e Converted runtime-sanity-checks into compile-time checks that can be disabled (since runtime checks can often not be seen on embedded targets) Simon Goldschmidt 2011-09-21 18:35:29 +02:00
  • f13615d97a fixed bug #34337 (possible NULL pointer in sys_check_timeouts) goldsimon 2011-09-20 07:21:19 +02:00
  • d6227aece6 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) Simon Goldschmidt 2011-09-11 19:30:28 +02:00
  • 6058389974 nd6: use a static buffer to process RA options instead of using mem_malloc() Simon Goldschmidt 2011-09-11 13:44:08 +02:00
  • dccad08508 use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs (bug #34019) Simon Goldschmidt 2011-09-11 13:13:26 +02:00
  • 112158b056 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; Simon Goldschmidt 2011-09-11 12:44:01 +02:00
  • 5be300736e lwip_accept: fixed warning about accessing uninitialized 'port' when SOCKETS_DEBUG is enabled Simon Goldschmidt 2011-09-09 23:20:34 +02:00
  • 1b98a64e90 Fixed typo: TCP_SNDQUEUELOWAT must be less than TCP_SND_QUEUELEN (as checked in init.c), not greater Simon Goldschmidt 2011-09-09 22:28:01 +02:00
  • 4849eb4c54 fixed bug #34072: UDP broadcast is received from wrong UDP pcb if udp port matches Simon Goldschmidt 2011-09-09 22:25:59 +02:00
  • 5e8ee7e006 Make LWIP_RAND optional (useful for small targets) Simon Goldschmidt 2011-09-03 22:27:30 +02:00
  • e27d34d118 DHCP uses LWIP_RAND() for xid's (bug #30302) Simon Goldschmidt 2011-09-03 22:27:06 +02:00
  • a0bf8d5740 fixed bug #33952 PUSH flag in incoming packet is lost when packet is aggregated and sent to application Simon Goldschmidt 2011-09-03 21:57:26 +02:00
  • 17a5ba08e4 unit tests: correctly handle small PBUF_POOL_BUFSIZE settings, prevent NULL-pointer-deref. (ooseq test is still not running correctly...) Simon Goldschmidt 2011-09-03 21:25:51 +02:00
  • d0877153bf netconn_alloc(): return on invalid protocol instead of initializing mbox size to 0 Simon Goldschmidt 2011-09-03 21:24:06 +02:00
  • 55011e5308 fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared to other options Simon Goldschmidt 2011-09-01 22:25:03 +02:00
  • 2697b3c7da Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/lwip Simon Goldschmidt 2011-09-01 21:01:38 +02:00
  • b9c17dd1f0 fixed bug #34111 RST for ACK to listening pcb has wrong seqno Simon Goldschmidt 2011-09-01 21:00:11 +02:00
  • aea17bfae2 Fixed bogus IPH_V/HL and IPH_VHL_SET endianess dependency goldsimon 2011-08-30 13:15:10 +02:00
  • 0a5755145c added netif remove callback (bug #32397) Simon Goldschmidt 2011-08-24 22:00:10 +02:00
  • 249e19769b fixed bug #34124 struct in6_addr does not conform to the standard Simon Goldschmidt 2011-08-24 21:40:09 +02:00
  • f64808c385 fixed bug #33956 Wrong error returned when calling accept() on UDP connections Simon Goldschmidt 2011-08-24 21:12:12 +02:00
  • 2e69b54a4f fixed bug #34057 socklen_t should be a typedef Simon Goldschmidt 2011-08-24 20:22:21 +02:00
  • cd5d1ceadf fixed bug #34112 Odd check in pbuf_alloced_custom (typo) Simon Goldschmidt 2011-08-24 20:18:47 +02:00
  • c55f6b40ec fixed bug #34122 dhcp: hostname can overflow Simon Goldschmidt 2011-08-24 20:12:23 +02:00
  • bf4ec9be22 fixed bug #34121 netif_add/netif_set_ipaddr fail on NULL ipaddr Simon Goldschmidt 2011-08-24 19:52:06 +02:00
  • ed0626afeb fixed bug #33962 TF_FIN not always set after FIN is sent. (This merely prevents nagle from not transmitting fast after closing.) Simon Goldschmidt 2011-08-22 18:52:27 +02:00
  • b5305d5a8c Initialize recvmbox size for undefined netconn type, to supress compiler warning. Ivan Delamer 2011-08-12 09:04:29 -06:00
  • 17efa04ea6 Add cast to IP6_ADDR_BLOCKx Ivan Delamer 2011-08-09 13:55:40 -06:00
  • b3f5c8f6b2 Use target address as source address in IPv6 neighbour advertisement messages. Ivan Delamer 2011-08-04 16:36:44 -06:00
  • 4507083148 Fixed bug in serialization of IPv6 addresses. Ivan Delamer 2011-08-04 14:18:33 -06:00
  • f4c0018d7a Fixed complier error for CHECKSUM_CHECK_TCP==0 Simon Goldschmidt 2011-07-28 21:59:28 +02:00
  • c9e1d6cca8 adapted unit tests to changes after adding IPv6 support Simon Goldschmidt 2011-07-26 21:55:32 +02:00
  • 242dc34115 ETHARP_SUPPORT_VLAN: add support for an external VLAN filter function instead of only checking for one VLAN (define ETHARP_VLAN_CHECK_FN) Simon Goldschmidt 2011-07-26 21:03:27 +02:00
  • 41c785d77a IPv4: splitted IPv4 header fields version/len and tos, made macros depend on BYTE_ORDER to prevent unnecessary calls to htons() Simon Goldschmidt 2011-07-26 20:55:32 +02:00
  • a745528b40 Prevent non-static function that is not declared in header file Simon Goldschmidt 2011-07-26 20:21:33 +02:00
  • 7465be91d0 Fixed some C compiler warnings Simon Goldschmidt 2011-07-24 17:19:17 +02:00
  • d79c5baa1b Removed commas from the end of enum lists Simon Goldschmidt 2011-07-24 17:18:55 +02:00
  • 46af0d38fa 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 Simon Goldschmidt 2011-07-22 22:05:24 +02:00
  • 6323e09a0a init.c: changed some checks from runtime to compiletime (had to adapt some defines in ip.h for that) Simon Goldschmidt 2011-07-22 21:59:16 +02:00
  • d94bdb75c8 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. Simon Goldschmidt 2011-07-22 21:07:09 +02:00
  • cc3b4dff20 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. Simon Goldschmidt 2011-07-22 21:05:10 +02:00
  • 78ac382fdf bug #33634 ip_forward() have a faulty behaviour: Added pbuf flags to mark incoming packets as link-layer broadcast/multicast. Also added code to allow ip_forward() to forward non-broadcast packets to the input netif (set IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1). Simon Goldschmidt 2011-07-21 21:47:25 +02:00
  • 860072aaaf correctly prefix all functions with 'etharp_' (also static functions) Simon Goldschmidt 2011-07-21 21:16:04 +02:00
  • 2694a409c6 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. Simon Goldschmidt 2011-07-21 20:47:29 +02:00
  • 206b1f4631 ETHARP_SUPPORT_STATIC_ENTRIES: don't need the member 'static_entry' on struct etharp_entry, we can use 'state' to mark them as static Simon Goldschmidt 2011-07-21 20:40:30 +02:00
  • ef9891e8ff 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. Simon Goldschmidt 2011-07-21 20:28:18 +02:00
  • bd69890ccd (bug #30185): added LWIP_FIONREAD_LINUXMODE that makes ioctl/FIONREAD return the size of the next pending datagram. Simon Goldschmidt 2011-07-21 20:15:39 +02:00
  • fc280c7cd6 Fixed bug #33804 LWIP_IPV6_MLD #define missing from mld6.c Simon Goldschmidt 2011-07-20 06:56:20 +02:00
  • 435ac2a650 Fixed bug #33801 Corruption of nd6 tables Simon Goldschmidt 2011-07-19 21:56:19 +02:00
  • fb0ad2f9ea Fixed bug #33802 tcpip: tcpip_callbackmsg_new sets msg->type to wrong type Simon Goldschmidt 2011-07-19 21:52:40 +02:00
  • 7385449f33 Fixed wrong endianess of port in bind() and connect() broken with the last commit cvs-repository-moved-to-git goldsimon 2011-07-06 07:18:06 +00:00
  • 1f4b814d0b Include opt.h so that LWIP_ERROR works correctly goldsimon 2011-07-06 07:13:45 +00:00
  • a93d9c4310 Fixed bug #33561 bugs in recvfrom() and sendto() goldsimon 2011-07-05 19:42:23 +00:00
  • 1813d11b9d Fixed invalid SOCK_ADDR_TYPE_MATCH check in lwip_sendto() goldsimon 2011-07-04 19:39:16 +00:00
  • 09ac68c196 Fixed documentation after changing sys arch prototypes for 1.4.0 goldsimon 2011-07-04 19:33:33 +00:00
  • c2fd905e32 No need to pass 'acc' as u16_t since the _base functions are internal (we save one AND op when passing as u32_t) goldsimon 2011-07-04 19:10:49 +00:00
  • cc84f28d1b Fixed bug #33672 (checksum calculate error!!!) by folding 'acc' to u16_t before calling checksum_pseudo_*_base functions goldsimon 2011-06-29 19:54:33 +00:00
  • 2bd498524d Fixed bug #33653 (ip_data.current_ip_header_tot_len calculation errors!) introduced while mergin IPv4 and IPv6 goldsimon 2011-06-29 19:46:21 +00:00
  • 4b934945f3 Slightly reorderd fields of struct tcp_pcb to plug holes introduced by member alignment (to reduce RAM usage) goldsimon 2011-06-26 17:53:45 +00:00
  • b666ab0673 Init checks: LWIP_RAND is needed for IPv6, too goldsimon 2011-06-26 17:51:55 +00:00
  • 6a4c30fe5d fixed bug #31723 (tcp_kill_prio() kills pcbs with the same prio) by updating its documentation only. goldsimon 2011-06-26 17:37:09 +00:00
  • 4002aef594 fixed bug #33545: With MEM_USE_POOLS==1, mem_malloc can return an unaligned pointer. goldsimon 2011-06-26 17:31:10 +00:00
  • ba28d36e67 Fixed bug #33544 (warning in mem.c in lwip 1.4.0 with NO_SYS=1) goldsimon 2011-06-26 17:13:57 +00:00