goldsimon
|
d9157a71bb
|
Task #10088: Correctly implement close() vs. shutdown(). Now the application does not get any more recv callbacks after calling tcp_close(). Added tcp_shutdown().
|
2010-02-20 18:05:56 +00:00 |
|
goldsimon
|
52970c2459
|
Renamed mem_realloc() to mem_trim() to prevent confusion with realloc()
|
2010-02-19 16:23:46 +00:00 |
|
goldsimon
|
7c2054091d
|
Link status does not depend on LWIP_NETIF_LINK_CALLBACK (fixes bug #28899)
|
2010-02-15 19:53:46 +00:00 |
|
goldsimon
|
e04e0cb98e
|
Fixed bug #28877 (Duplicate ARP gratuitous packet with LWIP_NETIF_LINK_CALLBACK set on) by only sending if both link- and admin-status of a netif are up
|
2010-02-14 20:20:28 +00:00 |
|
goldsimon
|
e983865ad5
|
Disable ETHARP_TRUST_IP_MAC by default since it slows down packet reception and is not really necessary
|
2010-02-14 18:10:34 +00:00 |
|
goldsimon
|
4c9fe60693
|
Fixed ARP input processing: only add a new entry if a request was directed as us (RFC 826, Packet Reception), otherwise only update existing entries; internalized some functions
|
2010-02-14 18:08:16 +00:00 |
|
goldsimon
|
c5dfa4099d
|
Fixed bug #28183 (ARP and TCP/IP cannot be disabled on netif used for PPPoE) by adding a new netif flag (NETIF_FLAG_ETHERNET) that tells the stack the device is an ethernet device but prevents usage of ARP (so that ethernet_input can be used for PPPoE).
|
2010-02-14 16:44:47 +00:00 |
|
goldsimon
|
7e0204bb7b
|
Improved some defines working on ip addresses, added faster macro to copy addresses that cannot be NULL
|
2010-02-14 12:41:46 +00:00 |
|
goldsimon
|
0792effc2a
|
task #7865 (implement non-blocking send operation)
|
2010-02-13 17:08:40 +00:00 |
|
goldsimon
|
8fbaf0304a
|
Added a minimal version of posix fctl() to have a standardised way to set O_NONBLOCK for nonblocking sockets.
|
2010-02-12 17:59:20 +00:00 |
|
goldsimon
|
29eb56a2f6
|
netif_set_link_up/down: only do something if the link state actually changes
|
2010-02-12 16:50:23 +00:00 |
|
goldsimon
|
2e795d2706
|
task #10139 (Prefer statically allocated memory): added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work with user-allocated structs instead of callin mem_malloc
|
2010-02-12 16:42:02 +00:00 |
|
goldsimon
|
8768e4488a
|
patch #6865: use so_options SOF_REUSEADDR instead of flags TF_REUSEADDR (which has ben removed again)
|
2010-02-12 16:32:31 +00:00 |
|
goldsimon
|
d3635c5eef
|
patch #6865 (SO_REUSEADDR for TCP): if tcp_pcb.flags has TF_REUSEADDR set, allow binding to endpoint in TIME_WAIT
|
2010-02-12 15:33:02 +00:00 |
|
goldsimon
|
c73b1b4fa2
|
Fixed bug #28865 (Cannot close socket/netconn in non-blocking connect)
|
2010-02-12 15:21:37 +00:00 |
|
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)
|
2010-02-12 13:49:21 +00:00 |
|
goldsimon
|
df7e435b86
|
Fixed bug #28866 (mem_realloc function defined in mem.h)
|
2010-02-12 09:30:31 +00:00 |
|
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
|
2010-02-09 20:23:39 +00:00 |
|
goldsimon
|
1550c4215d
|
Fixed bug #28853 (lwip_recvfrom() returns 0 on receive time-out or any netconn_recv() error)
|
2010-02-09 18:46:54 +00:00 |
|
goldsimon
|
6fe258c6bc
|
task #10154 (PPP: Update snmp in/out counters for tx/rx packets)
|
2010-02-09 18:21:21 +00:00 |
|
goldsimon
|
27c1c7a0f7
|
Added function sys_restart_timeouts() from patch #7085 (Restart system timeout handling)
|
2010-02-09 17:49:20 +00:00 |
|
goldsimon
|
b1250f003d
|
For loopback packets, adjust the stats- and snmp-counters for the loopback netif.
|
2010-02-09 17:00:57 +00:00 |
|
goldsimon
|
077caac76d
|
task #10153 (Integrate loopif into netif.c) - loopif does not have to be created by the port any more, just define LWIP_HAVE_LOOPIF to 1.
|
2010-02-09 16:01:24 +00:00 |
|
goldsimon
|
79e6b4c819
|
Added reentrant versions of inet_ntoa/ipaddr_ntoa inet_ntoa_r/ipaddr_ntoa_r
|
2010-02-08 20:14:21 +00:00 |
|
goldsimon
|
630f575017
|
Moved most defines from igmp.h to igmp.c for clarity since they are not used anywhere else; removed some function prototypes from igmp.h, too
|
2010-02-08 19:41:53 +00:00 |
|
goldsimon
|
49274c1507
|
added netif_s/get_igmp_mac_filter() macros
|
2010-02-08 19:32:40 +00:00 |
|
goldsimon
|
27d4cf6aef
|
Improved IGMP stats (patch from bug #28798)
|
2010-02-08 19:19:26 +00:00 |
|
goldsimon
|
b156d392cb
|
Fixed bug #28798 (Error in "Max Response Time" processing) and another bug when LWIP_RAND() returns zero.
|
2010-02-08 18:12:53 +00:00 |
|
goldsimon
|
758e99f362
|
Added function-like macros to get/set the hostname on a netif
|
2010-02-05 11:17:55 +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
|
8cb3ea1398
|
Reworked the code that parses DHCP options: parse them once instead of parsing for every option. This also removes the need for mem_malloc from dhcp_recv and makes it possible to correctly retrieve the BOOTP file.
|
2010-01-31 17:27:15 +00:00 |
|
goldsimon
|
8712deb0b2
|
Don't call the link-callback from netif_set_up/down() since
this invalidly retriggers DHCP.
|
2010-01-31 13:30:47 +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
|
855dcadf7a
|
Added except set support in select (patch #6860)
|
2010-01-29 23:05:33 +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 |
|
kieranm
|
95445fc328
|
Ensure ssthresh >= 2*MSS
|
2010-01-28 13:14:42 +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
|
0644c4c08e
|
Fixed bug #27871: Calling tcp_abort() in recv callback can lead to accessing unallocated memory. As a consequence, ERR_ABRT means the application has called tcp_abort()!
|
2010-01-27 17:22:06 +00:00 |
|
goldsimon
|
606fed8896
|
Use memp pools for snmp instead of the heap; added 4 new pools.
|
2010-01-26 20:28:24 +00:00 |
|
goldsimon
|
96338314f1
|
Partly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY not implemented in SNMP): write-only or not-accessible are still returned by getnext (though not by get)
|
2010-01-25 17:44:07 +00:00 |
|
goldsimon
|
1811a344f5
|
Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords
|
2010-01-24 17:25:22 +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
|
972ca9e6c1
|
reorganised PPP sourcecode to 2.3.11 including some bugfix backports from 2.4.x.
|
2010-01-18 20:49:43 +00:00 |
|
goldsimon
|
e0c5c4de88
|
Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it
|
2010-01-18 17:45:41 +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 |
|