147 Commits (49e8e28cf6bef4bacbcd30dba4cede94b5e91be0)

Author SHA1 Message Date
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
kieranm 2b87f899ab BUG26722: initialise netconn write variables in netconn_alloc 17 years ago
goldsimon 9d5bf57dd9 fixed bug #25695: Segmentation fault in do_writemore() 17 years ago
goldsimon 14cb4eb735 fixed arguments of socket functions to match the standard; converted size argument of netconn_write to 'size_t' for that; fixed some warnings 17 years ago
goldsimon 8c7705bbf9 added configurable default valud for netconn->recv_bufsize: RECV_BUFSIZE_DEFAULT (fixes bug #23726: pbuf pool exhaustion on slow recv()) 17 years ago
goldsimon b0c61ffbb1 Reverted last changes since it's wrong when sizeof(int)==2... 18 years ago
goldsimon aa568727d1 patch #6699: fixed some warnings on platform where sizeof(int) == 2 18 years ago
jifl 1f3fe200df Correct commented description of do_recv(). 18 years ago
goldsimon ae2d5266c5 removed invalid call to tcp_connect() in do_close_internal() 18 years ago
goldsimon 99db244124 fixed bug #23847: do_close_internal references freed memory 18 years ago
fbernon 7774b57a1c api_msg.c: fix wrong mailbox invalidate (NULL was used instead of SYS_MBOX_NULL). Spoted by Silas Boyd-Wickizer. 18 years ago
goldsimon 90cb4b4e09 Corrected comment in do_writemore() 18 years ago
fbernon afcf49ad3a api_msg.c: minor change, fix warning. 18 years ago
fbernon a2f1892480 api_msg.c: fix the netbuf::addr field to point on the ip_src on the pbuf's copy (about bug#22530). 18 years ago
fbernon 552106e2a4 api_msg.c: Fix bug #22530 "api_msg.c's recv_raw() does not consume data". 18 years ago