210 Commits (70487a43d4c846aa4d0f450b64f5ffda2a058a4c)

Author SHA1 Message Date
Axel Lin 031de097db Trivial comment fix for lwip_netconn_do_disconnect() 10 years ago
Axel Lin bd4c4b5959 Use SYS_ARCH_SET macro at appropriate places 10 years ago
Axel Lin ecf9d25ed0 api_msg_c: remove superfluous NETCONN_SET_SAFE_ERR call before TCPIP_APIMSG_ACK 11 years ago
sg c12fa7b4c4 started to move "private" header files containing implementation details to "lwip/priv/" include directory to seperate the API from the implementation. 11 years ago
sg fc1db87318 Fixed compiling api with LWIP_NETCONN_SEM_PER_THREAD==1 && LWIP_MPU_COMPATIBLE==1 11 years ago
goldsimon b401f42520 minor: fixed coding style (lwip style) 11 years ago
sg 2b971400fa minor: coding style 11 years ago
sg 22df34fc70 minor/coding style: removed spaces before line ending (from file header) 11 years ago
sg 490581a0eb minor/coding style: removed spaces before line ending 11 years ago
Dirk Ziegelmeier ae7eeda88a dns_found_callback should take const IP addr 11 years ago
goldsimon c71723101a Removed ip_2_ip4/6_c const macros again now that ip_2_ip4/6 macros keep the original const'ness 11 years ago
Dirk Ziegelmeier f62022cdf3 Compiler warning fixes (mostly constness in dual-stack configurations) 11 years ago
sg 77270adb96 Changed dns_gethostbyname_addrtype() to always be a function, fixed code for C PP :-( 11 years ago
goldsimon 196120fabd worked on task #12243 (Add support for AAAA/IPv6 records to DNS) 11 years ago
sg e171b4e3f0 Fixed usages of SYS_SEM_NULL after using pointers everywhere 11 years ago
goldsimon 4dc3c7a6a0 Fixed warnings about NULL check not required (ip_addr_isany) and implicit conversion (~) 11 years ago
Sylvain Rochet 44af6978db netconn: api_msg.c, fixed warning about unused state variable by using it a little more 11 years ago
goldsimon 902d190a11 Many const fixes throughout the stack (although these are not all, yet) 11 years ago
sg c1c65777b6 worked on task #13480: added LWIP_IPV4 define - IPv4 can be disabled, leaving an IPv6-only stack (SNMP is still missing) 11 years ago
sg ce7e31cd04 task #12722 (improve IPv4/v6 address handling): renamed ip_addr_t to ip4_addr_t, renamed ipX_addr_t to ip_addr_t and added IP version; 11 years ago
sg 9eb900c448 fixed race conditions in assigning netconn->last_err (fixed bugs #38121 and #37676) 11 years ago
sg 3e8ac30940 Fixed bug #44297 (CORE_LOCKING was broken some days ago); fixed that netconn_connect still used message passing for LWIP_TCPIP_CORE_LOCKING==1 11 years ago
sg ec5cf8593e Continued chrysn's work: changed nearly all functions taking 'ip(X)_addr_t' pointer to take const pointers (changed user callbacks: raw_recv_fn, udp_recv_fn; changed port callbacks: netif_output_fn, netif_igmp_mac_filter_fn) 11 years ago
sg 2cfc9e286e "Not connected" shouldn't be fatal (as opposed to "closed") 11 years ago
sg 604a92dc3d fixed bug #38853 "connect() use a wrong errno": return ERR_ALREADY/EALRADY during connect, ERR_ISCONN/EISCONN when already connected 11 years ago
goldsimon 0963e91c34 api_msg_c: fixed compiler warning (added brackets in if statement) 11 years ago
goldsimon 5d13b5a2fb fixed bug #37614 "Errors from ipX_output are not processed". Now tcp_output(_segment) checks for the return value of ipX_output and does not try to send more on error. A netif driver can call tcp_txnow() (from tcpip_thread!) to try to send again if TX buffers are available again. 11 years ago
sg 276e35ecfb Fixed a bug in linger-closing when LWIP_TCPIP_CORE_LOCKING==1 11 years ago
sg 7ff9825f55 started to implement fullduplex sockets/netconns (note that this is highly unstable yet!) 11 years ago
sg 6c3f6cfd89 netconn/socket api: fixed bug #44225 "closing TCP socket should time out eventually", implemented task #6930 "Implement SO_LINGER": closing TCP sockets times out after 20 seconds or after the configured SND_TIMEOUT or depending on the linger settings; fixed that netconn_close/netconn_delete still used message passing for LWIP_TCPIP_CORE_LOCKING==1 11 years ago
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