161 Commits (2e69b54a4f2566b604878657f9d11ac8cbc4eecd)

Author SHA1 Message Date
Ivan Delamer b5305d5a8c Initialize recvmbox size for undefined netconn type, to supress 15 years ago
Simon Goldschmidt 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 15 years ago
goldsimon 2aec3a9789 use PCB_IS_IPV6(pcb) instead of pcb->isipv6 everywhere 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 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 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) 16 years ago
goldsimon d73262a0e5 Fixed compilation with TCP or UDP disabled. 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 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 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 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 0a49f2e068 Corrected spelling of ERR_WOULDBLOCK (D was missing) 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 19a9b52c06 Corrected comment 16 years ago
goldsimon 7c57ee0c17 Use tcp_debug_state_str() instead of tcp_debug_print_state() 16 years ago
goldsimon 0792effc2a task #7865 (implement non-blocking send operation) 16 years ago
goldsimon 0f05a6aede Fixed compilation for LWIP_DNS==1 after changing sys layer 16 years ago
goldsimon 7ccf8cb731 Fixed compilation with LWIP_DNS==1 after changing sys layer 16 years ago
goldsimon c49a3ab2d6 Fixed compilation for LWIP_SO_RCVBUF==0 16 years ago
goldsimon bd3f86e505 Code layout: splitted long line 16 years ago
goldsimon c73b1b4fa2 Fixed bug #28865 (Cannot close socket/netconn in non-blocking connect) 16 years ago
goldsimon 0030d1ade5 task #10139 (Prefer statically allocated memory): converted mbox and semaphore functions to take pointers to sys_mbox_t/sys_sem_t; converted sys_mbox_new/sys_sem_new to take pointers and return err_t; task #7212: Add Mutex concept in sys_arch (define LWIP_COMPAT_MUTEX to let sys.h use binary semaphores instead of mutexes - as before) 16 years ago
goldsimon 2d1631792a struct netconn.socket is only used with LWIP_SOCKET; added comments 16 years ago
goldsimon 306f2203fa Fixed bug #22110 (recv() makes receive window update for data that wasn't received by application); added function-like macros to correctly access/change conn->recv_timeout and conn->recv_bufsize 16 years ago
goldsimon a84590273d Merge 3 u8_t for netconn-internal status into one u8_t 'flags' to prevent waisting memory when adding more flags 16 years ago
goldsimon 5d360a6711 Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier. 16 years ago
goldsimon 855dcadf7a Added except set support in select (patch #6860) 16 years ago
goldsimon e58f4c567a Add non-blocking support for connect (partly from patch #6860) plus many cleanups in socket & netconn API 16 years ago
goldsimon 32c16fad42 igmp related: renamed netif pointers from 'interface' to 'netif' to not use keywords (or at least my editor highlights it as one...) 16 years ago
goldsimon 04a8b0f85d Added TCP_SNDQUEUELOWAT corresponding to TCP_SNDLOWAT and added tcp_sndqueuelen() - this fixes bug #28605 16 years ago
goldsimon e678e1bdcb bug #28659: Missing casts 16 years ago
goldsimon dbcce3a4be bug #26523: Compiler Warnings 16 years ago
goldsimon 82318c0ef1 Fixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in raw- and netconn-API 16 years ago
goldsimon 52389fc09a Fixed bug #27316 (netconn: Possible deadlock in err_tcp) by using sys_mbox_trypost in err_tcp 16 years ago
goldsimon 34139606ca task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg 16 years ago
goldsimon 97f797e859 do_connect(): set conn->err to an error if conn->pcb is NULL 16 years ago
goldsimon 9521f54741 Another fix for bug #28562: Segfault @ err_tcp 16 years ago
goldsimon 0e38a52edc Again: Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox 16 years ago
goldsimon 533e6b5f8d Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox 16 years ago
goldsimon 8a81cb4ba0 Fixed bug #27955: netconn_close may nether return when LWIP_TCPIP_CORE_LOCKING enabled 17 years ago
goldsimon a9cbdc141b patch #6888: Patch for UDP Netbufs to support dest-addr and dest-port 17 years ago
goldsimon 8a7c1c4926 do_connect: LWIP_ERROR on invalid/disabled protocol 17 years ago
goldsimon cc4b968f0a Fixed bug #27114: Missing #include in api_msg.c on LWIP 1.3.1RC1; added include <string.h> 17 years ago
fbernon ce5699f41b minor changes: typos and coding style 17 years ago
kieranm 1eee0be951 BUG23240 use signed counters for recv_avail and don't increment 17 years ago