180 Commits (ee833ea5941fc4ff9b5b7f1bc515ac3b68d3a8ea)

Author SHA1 Message Date
sg ec68aaf43b fixed that SHUT_RD followed by SHUT_WR was different to SHUT_RDWR, fixed return value of lwip_netconn_do_close on unconnected netconns 11 years ago
goldsimon 24df78bcbc fixed that lwip_netconn_do_delconn() did not set msg->err on success (just introduced that bug this weekend...) 11 years ago
sg cacdbb5262 added option LWIP_NETCONN_SEM_PER_THREAD to use a semaphore per thread instead of using one per netconn and per select call 11 years ago
goldsimon aecbce283d fixed bug #38219 Assert on TCP netconn_write with sndtimeout set 12 years ago
Simon Goldschmidt 4b9883a573 DNS: does not support IPv6, may return a name cased different than the request (when multiple requests are combined to one) 12 years ago
Simon Goldschmidt 3c40d93f36 fixed bug #43110 (call getpeername() before listen() will cause a error) by re-sorting the error numbers and letting listen() continue on ERR_CONN 12 years ago
Simon Goldschmidt 3f016fcc5a Multiple small/minor issues: bug #36492 Static Analysis on code 1.4.0 12 years ago
Simon Goldschmidt c60635855d fixed bug #38404 getpeeraddr returns success on unconnected/listening TCP sockets 12 years ago
Simon Goldschmidt e2c2afbbe0 patch #7885: modification of api modules to support FreeRTOS-MPU (don't pass stack-pointers to other threads) (based on patch by Artem Pisarenko) 12 years ago
Simon Goldschmidt 097bc4c622 patch #8008 Fix a potential null pointer dereference in assert 13 years ago
goldsimon a4a41b9023 fixed bug #37405 'err_tcp()' uses already freed 'netconn' object 14 years ago
goldsimon a070751061 fixed bug #37052: "netconn_alloc: undefined netconn_type" assertion skipped 14 years ago
James Smith e65202f825 Applied patch by James Smith to implement IPV6_V6ONLY support in 14 years ago
goldsimon 8dbf572ea5 Fixed bug #35817: do_connect() invalidly signals op_completed for UDP/RAW with LWIP_TCPIP_CORE_LOCKING==1 14 years ago
goldsimon f8af1a7443 fixed bug #35931: Name space pollution in api_msg.c and netifapi.c 14 years ago
Simon Goldschmidt e039d4103f fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api 15 years ago
Simon Goldschmidt a2aa43a426 Implemented timeout on send (TCP only, bug #33820) 15 years ago
Simon Goldschmidt d0877153bf netconn_alloc(): return on invalid protocol instead of initializing mbox size to 0 15 years ago
Simon Goldschmidt f64808c385 fixed bug #33956 Wrong error returned when calling accept() on UDP connections 15 years ago
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) 15 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