401 Commits (ccd7dbe0e4aa698cb96f85a88dab149066420bb3)

Author SHA1 Message Date
goldsimon 92fcfd7a6f Fixed two compilation errors with different opt.h settings 15 years ago
goldsimon 1b2b054139 Fixed bug #33337 (which is #32906 reappearing after adding IPv6 support) 15 years ago
goldsimon 6865806b55 Combined IPv4 and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP code so that the code is more readable. 15 years ago
goldsimon 4bfbe7ebeb ... and finally, we got a first working version of a dual-stack lwIP runnin IPv4 and IPv6 in parallel - big thanks to Ivan Delamer! (this is work in progress, so please beware, test a lot and report problems!) 15 years ago
goldsimon a444ec5111 patch #7449 allow tcpip callback from interrupt with static memory message 15 years ago
goldsimon 80b344e9fc Fixed printf-format error (bug #33079) 15 years ago
goldsimon b54c7bedfd Fixed bug #32906: lwip_connect+lwip_send did not work for udp and raw pcbs with LWIP_TCPIP_CORE_LOCKING==1. 15 years ago
goldsimon 7203680146 fixed bug #31748 (Calling non-blocking connect more than once can render a socket useless) since it mainly involves changing "FATAL" classification of error codes: ERR_USE and ERR_ISCONN just aren't fatal. 15 years ago
goldsimon d793ed3b9b fixed bug #32769 (ESHUTDOWN is linux-specific) by fixing err_to_errno_table (ERR_CLSD: ENOTCONN instead of ESHUTDOWN), ERR_ISCONN: use EALRADY instead of -1 15 years ago
goldsimon c6de17d1e5 netconn_accept: return ERR_ABRT instead of ERR_CLSD if the connection has been aborted by err_tcp (since this is not a normal closing procedure). 15 years ago
goldsimon 03be8f88fe Fixed bug #31741: lwip_select seems to have threading problems 15 years ago
goldsimon effcb90fdf Mreged back changes that were lost during the savannah hack 3 weeks ago (using the sources from http://git.infradead.org/users/dwmw2/lwip.git) 15 years ago
goldsimon 377628216e Fixed bug #31590: getsockopt(... SO_ERROR ...) gives EINPROGRESS after a successful nonblocking connection. 16 years ago
goldsimon e52730d1fb Fixed bug #31170: lwip_setsockopt() does not set socket number 16 years ago
goldsimon d73262a0e5 Fixed compilation with TCP or UDP disabled. 16 years ago
goldsimon 691410ba18 task #10495: Added support for IP_MULTICAST_LOOP at socket- and raw-API level. 16 years ago
goldsimon 48be546357 fixed bug #30300 (shutdown parameter was not initialized in netconn_delete) 16 years ago
goldsimon 6929a786aa Fixed bug #10088: Correctly implemented shutdown at socket level. 16 years ago
goldsimon 2c60a48d02 ip_addr_set_any does not work on pointers... 16 years ago
goldsimon 505dd10d3c Fixed bug #29979 (lwip_sendto did not check parameter "to" != NULL) 16 years ago
goldsimon ddd2b69f27 bug #29976: forgot some places using the changed IP address (copy vs. pointer) 16 years ago
goldsimon f7479781c1 bug #27352: removed packing from ip_addr_t, the packed version is now only used in protocol headers. Added global storage for current src/dest IP address while in input functions. 16 years ago
goldsimon d3e5ade2da Correctly NULL-terminate h_addr_list 16 years ago
goldsimon 4b7288e8f4 use checksum-on-copy for sending UDP data for LWIP_NETIF_TX_SINGLE_PBUF==1 16 years ago
goldsimon 51061fb61e Fixed bug #29617 (sometime cause stall on delete listening connection) 16 years ago
goldsimon 2e18a9be63 Added an overridable define to get informed when the tcpip_thread processes messages or timeouts to implement a watchdog. 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 46b7bd6ec3 Make functions static where applicable, add default cases to switches where applicable, prevent old-style function prototypes (without arguments) 16 years ago
goldsimon 5ef976aed5 Fixed bug #29332: lwip_select() processes readset incorrectly 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 f70014b8ea Added an option to disable tcpip_(un)timeout code since the linker cannot do this automatically to save space. 16 years ago
goldsimon 385d044f7d Corrected spelling of milliseconds (my dictionary tells me to use two l's :) 16 years ago
goldsimon a54bb7205d Added missing casts, use strlen + MEMCPY instead of strcpy (as that might overrun the buffer) 16 years ago
goldsimon 67f5e17588 Bug #29210: check alignment of struct sockaddr vs. struct sockaddr_in 16 years ago
goldsimon d47a04456b bug #29105: Review printf formatters 16 years ago
goldsimon 5d20e690fd Added/corrected casts 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 99ff7efe80 Use braces for if-blocks 16 years ago
goldsimon f5b783d107 Fixed LWIP_NETIF_TX_SINGLE_PBUF for LWIP_TCPIP_CORE_LOCKING 16 years ago
goldsimon 38fcfcdfac task #10167 (sockets: speed up TCP recv by not allocating a netbuf): added function netconn_recv_tcp_pbuf() for tcp netconns to receive pbufs, not netbufs; use that function for tcp sockets. 16 years ago
goldsimon 957f4d8096 renamed struct lwip_socket to struct lwip_sock to avoid duplicate names (function lwip_socket) 16 years ago
goldsimon 0b5d60db5e Correctly set TCP_WRITE_FLAG_MORE when netconn_write is split into multiple calls to tcp_write. 16 years ago
goldsimon 402597c2cb Fixed bug #28970 (invalid preprocessor macro introduced with LWIP_TCPIP_CORE_LOCKING_INPUT) 16 years ago
goldsimon 19a9b52c06 Corrected comment 16 years ago
goldsimon db38ee6630 Added define LWIP_TCPIP_CORE_LOCKING_INPUT that lets tcpip_input omit the thread-change to tcpip_thread and instead lock the core 16 years ago
goldsimon 7c57ee0c17 Use tcp_debug_state_str() instead of tcp_debug_print_state() 16 years ago
goldsimon c5dfa4099d Fixed bug #28183 (ARP and TCP/IP cannot be disabled on netif used for PPPoE) by adding a new netif flag (NETIF_FLAG_ETHERNET) that tells the stack the device is an ethernet device but prevents usage of ARP (so that ethernet_input can be used for PPPoE). 16 years ago
goldsimon 0792effc2a task #7865 (implement non-blocking send operation) 16 years ago
goldsimon 49c6ce3703 Add a new err_t, ERR_WOULDBLOCK in preparation for non-blocking send 16 years ago