goldsimon
|
a84590273d
|
Merge 3 u8_t for netconn-internal status into one u8_t 'flags' to prevent waisting memory when adding more flags
|
2010-02-09 18:41:07 +00:00 |
|
goldsimon
|
b0b4290c29
|
Reduced the time SYS_ARCH_PROTECT is protecting the socket array
|
2010-02-08 17:25:57 +00:00 |
|
goldsimon
|
848debf999
|
Fixed bug #28818 (New connection probably not marked writable on accept()) introduced a week ago while implementing non-blocking connect
|
2010-02-08 12:33:28 +00:00 |
|
goldsimon
|
5d360a6711
|
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
|
2010-02-04 18:47:44 +00:00 |
|
goldsimon
|
a23b446ddf
|
Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code).
|
2010-02-04 17:21:32 +00:00 |
|
goldsimon
|
a66039b86c
|
Let netdb use a memp pool for allocating memory when getaddrinfo() is called.
|
2010-02-01 21:04:29 +00:00 |
|
goldsimon
|
c22d3b4c98
|
Use SYS_LIGHTWEIGHT_PROT instead of a semaphore to protect the sockets array since the protection time is short
|
2010-01-30 15:01:29 +00:00 |
|
goldsimon
|
f8c22c7428
|
Moved freeing a socket to its own function (free_socket, like alloc_socket
|
2010-01-30 14:19:18 +00:00 |
|
goldsimon
|
855dcadf7a
|
Added except set support in select (patch #6860)
|
2010-01-29 23:05:33 +00:00 |
|
goldsimon
|
c70c3eac62
|
Added function-like macro for struct netconn::non_blocking
|
2010-01-29 22:21:45 +00:00 |
|
goldsimon
|
e58f4c567a
|
Add non-blocking support for connect (partly from patch #6860) plus many cleanups in socket & netconn API
|
2010-01-29 22:09:31 +00:00 |
|
goldsimon
|
5fa0347e64
|
Cleanly separate the portability file inet.h and its contents from the stack: moved htonX- functions to def.h (and the new def.c - they are not ipv4 dependent), let inet.h depend on ip_addr.h and not the other way round. This fixes bug #28732.
|
2010-01-29 08:20:32 +00:00 |
|
goldsimon
|
32c16fad42
|
igmp related: renamed netif pointers from 'interface' to 'netif' to not use keywords (or at least my editor highlights it as one...)
|
2010-01-28 18:42:40 +00:00 |
|
goldsimon
|
04a8b0f85d
|
Added TCP_SNDQUEUELOWAT corresponding to TCP_SNDLOWAT and added tcp_sndqueuelen() - this fixes bug #28605
|
2010-01-27 18:24:57 +00:00 |
|
goldsimon
|
e678e1bdcb
|
bug #28659: Missing casts
|
2010-01-25 08:24:30 +00:00 |
|
goldsimon
|
408829bcf6
|
Fixed compilation for LWIP_TCPIP_CORE_LOCKING
|
2010-01-23 18:13:55 +00:00 |
|
goldsimon
|
dbcce3a4be
|
bug #26523: Compiler Warnings
|
2010-01-23 17:48:36 +00:00 |
|
goldsimon
|
426dd9bfad
|
Fixed bug #28716: select() returns 0 after waiting for less than 1 ms
|
2010-01-23 15:01:15 +00:00 |
|
goldsimon
|
82318c0ef1
|
Fixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in raw- and netconn-API
|
2010-01-21 18:43:37 +00:00 |
|
goldsimon
|
52389fc09a
|
Fixed bug #27316 (netconn: Possible deadlock in err_tcp) by using sys_mbox_trypost in err_tcp
|
2010-01-19 18:34:01 +00:00 |
|
goldsimon
|
cc1e9370af
|
Minor: fixed argument casts for mbox_fetch parameters (to fix compiler warnings)
|
2010-01-18 08:11:39 +00:00 |
|
goldsimon
|
34139606ca
|
task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg
|
2010-01-17 18:28:56 +00:00 |
|
goldsimon
|
ca11baf1cd
|
Changed netconn_recv() and netconn_accept() to return err_t (bugs #27709 and #28087)
|
2010-01-17 16:21:07 +00:00 |
|
goldsimon
|
2d4e76874c
|
Using typedefs for function prototypes and -pointers throughout the stack for clarity
|
2010-01-14 20:02:15 +00:00 |
|
goldsimon
|
97f797e859
|
do_connect(): set conn->err to an error if conn->pcb is NULL
|
2010-01-14 19:49:27 +00:00 |
|
goldsimon
|
9521f54741
|
Another fix for bug #28562: Segfault @ err_tcp
|
2010-01-14 15:43:11 +00:00 |
|
goldsimon
|
0e38a52edc
|
Again: Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox
|
2010-01-13 15:59:47 +00:00 |
|
goldsimon
|
533e6b5f8d
|
Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox
|
2010-01-08 15:10:03 +00:00 |
|
goldsimon
|
28f0bbd575
|
Fixed bug #28519 (lwip_recvfrom bug with len > 65535)
|
2010-01-08 14:51:14 +00:00 |
|
goldsimon
|
a566f9d8f2
|
Separated timer implementation from semaphore/mbox implementation, moved timer implementation to timers.c/.h (TASK#7235)
|
2009-12-31 16:16:44 +00:00 |
|
goldsimon
|
a1c0b9da7b
|
Added an additional option LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE) - no changes in the ppp code yet
|
2009-12-27 11:40:48 +00:00 |
|
goldsimon
|
4391463832
|
Got the tcp_nagle_*() defines wrong (inverted) :-(
|
2009-11-26 15:51:29 +00:00 |
|
goldsimon
|
c8d2d2a8ea
|
Fixed bug #28099 (API required to disable Nagle algorithm at PCB level): added tcp_nagele_*() function-like macros
|
2009-11-26 15:19:30 +00:00 |
|
goldsimon
|
8a81cb4ba0
|
Fixed bug #27955: netconn_close may nether return when LWIP_TCPIP_CORE_LOCKING enabled
|
2009-11-22 16:08:52 +00:00 |
|
goldsimon
|
94a7fee8c8
|
Fixed bug #28062: Data received directly after accepting does not wake up select
|
2009-11-20 16:16:20 +00:00 |
|
goldsimon
|
e2de2c6bb2
|
Added netifapi_netif_set_addr()
|
2009-10-27 20:29:16 +00:00 |
|
goldsimon
|
db259c3557
|
Improved heap usage of lwip_getaddrinfo by only allocating one block of memory per call.
|
2009-10-26 09:30:50 +00:00 |
|
goldsimon
|
a9740c6a44
|
Fixed bug #27709: conn->err race condition on netconn_recv() timeout by directly returning when sys_arch_mbox_fetch times out.
|
2009-10-15 14:33:18 +00:00 |
|
goldsimon
|
a9cbdc141b
|
patch #6888: Patch for UDP Netbufs to support dest-addr and dest-port
|
2009-10-07 17:58:30 +00:00 |
|
goldsimon
|
8a7c1c4926
|
do_connect: LWIP_ERROR on invalid/disabled protocol
|
2009-08-30 20:24:08 +00:00 |
|
goldsimon
|
bc10ad2356
|
patch #6900: added define ip_ntoa(struct ip_addr*)
|
2009-08-25 14:53:25 +00:00 |
|
goldsimon
|
8bf57c0e14
|
Fixed bug #26657: DNS, if host name is "localhost", result is error.
|
2009-08-23 13:51:12 +00:00 |
|
goldsimon
|
3a6165f0b9
|
Added missing include to <string.h>
|
2009-08-11 14:38:55 +00:00 |
|
goldsimon
|
cc4b968f0a
|
Fixed bug #27114: Missing #include in api_msg.c on LWIP 1.3.1RC1; added include <string.h>
|
2009-07-27 15:13:24 +00:00 |
|
fbernon
|
ce5699f41b
|
minor changes: typos and coding style
|
2009-07-09 10:21:16 +00:00 |
|
kieranm
|
1eee0be951
|
BUG23240 use signed counters for recv_avail and don't increment
counters until message successfully sent to mbox
|
2009-07-09 09:35:07 +00:00 |
|
kieranm
|
2b87f899ab
|
BUG26722: initialise netconn write variables in netconn_alloc
|
2009-06-25 10:17:18 +00:00 |
|
goldsimon
|
22d6558f13
|
task #7013: Added option LWIP_NETIF_TX_SINGLE_PBUF to try to create transmit packets from only one pbuf to help MACs that don't support scatter-gather DMA.
|
2009-05-10 17:07:25 +00:00 |
|
goldsimon
|
99d82c4980
|
Fixed bug #26405: Prematurely released semaphore causes lwip_select() to crash
|
2009-05-05 17:20:45 +00:00 |
|
goldsimon
|
152d22d4f9
|
fixed tcpip_untimeout (does not need the time, broken after 1.3.0 in CVS only) - fixes compilation of ppp_oe.c
|
2009-05-02 16:12:35 +00:00 |
|