goldsimon
|
7c2054091d
|
Link status does not depend on LWIP_NETIF_LINK_CALLBACK (fixes bug #28899)
|
2010-02-15 19:53:46 +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
|
524b7bc36b
|
Documented the use of netif flags
|
2010-02-14 16:00:46 +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
|
838c35acf6
|
struct ip_hdr: split u16_t _ttl_proto to u8_t _ttl and u8_t _proto to prevent unnecessary loading and htons
|
2010-02-14 11:42:08 +00:00 |
|
goldsimon
|
cbb86fe590
|
Added stats for mutexes
|
2010-02-13 17:26:40 +00:00 |
|
goldsimon
|
a61f5f3a78
|
Fixed old comments
|
2010-02-13 17:26:08 +00:00 |
|
goldsimon
|
0792effc2a
|
task #7865 (implement non-blocking send operation)
|
2010-02-13 17:08:40 +00:00 |
|
goldsimon
|
49c6ce3703
|
Add a new err_t, ERR_WOULDBLOCK in preparation for non-blocking send
|
2010-02-13 16:03:12 +00:00 |
|
goldsimon
|
0f05a6aede
|
Fixed compilation for LWIP_DNS==1 after changing sys layer
|
2010-02-13 15:43:19 +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
|
f89c08872c
|
Fixed indentation
|
2010-02-12 17:57:02 +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
|
39df7d048c
|
Added comment about mem_realloc() vs. realloc()
|
2010-02-12 14:56:34 +00:00 |
|
goldsimon
|
3529349470
|
Fixed compilation for NO_SYS==1
|
2010-02-12 13:56:51 +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
|
2d1631792a
|
struct netconn.socket is only used with LWIP_SOCKET; added comments
|
2010-02-12 09:58:44 +00:00 |
|
goldsimon
|
df7e435b86
|
Fixed bug #28866 (mem_realloc function defined in mem.h)
|
2010-02-12 09:30:31 +00:00 |
|
goldsimon
|
45e51d1929
|
Removed sys_sem_wait_timeout, added comments to the port-supplied sys(-arch)-functions
|
2010-02-09 21:05:39 +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
|
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
|
27c1c7a0f7
|
Added function sys_restart_timeouts() from patch #7085 (Restart system timeout handling)
|
2010-02-09 17:49:20 +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
|
ececc3ca45
|
Internalize another function; use the supplied max_response_time instead of dividing it by 2
|
2010-02-08 19:50:49 +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
|
90bed0c5ac
|
Added yet another IP-address-modifying define, ip_addr_set_any()
|
2010-02-08 17:24:08 +00:00 |
|
goldsimon
|
b3caddab30
|
Minor: source code layout
|
2010-02-08 17:12:45 +00:00 |
|
goldsimon
|
1017279e68
|
Minor: removed one space
|
2010-02-08 17:12:14 +00:00 |
|
goldsimon
|
47756a8faa
|
Fixed macro ip_addr_set_loopback(): htonl was missing (fixes bug #28828: ip_addr.h some macro error)
|
2010-02-08 12:25:01 +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
|
24fcf9a86e
|
Accidentally changed the member name of struct ip_addr for testing...
|
2010-02-04 17:25:22 +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
|
258fe88232
|
Added an own debug-print option for timers.c (used TCPIP_DEBUG and SYS_DEBUG as the code was copied from there)
|
2010-02-04 16:53:10 +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
|
81c5d9e983
|
Prevent mem_free (leave struct dhcp allocated on dhcp_stop) to prevent calling mem_malloc when restarting dhcp later
|
2010-02-01 20:20:38 +00:00 |
|
goldsimon
|
c6f7a34abe
|
Prevent mem_malloc in dhcp_inform, fix check for subnet mask (remember if it was given by server or not) set back request_timeout in dhcp_set_state()
|
2010-02-01 19:55:16 +00:00 |
|
goldsimon
|
72d6f1a418
|
Don't parse broadcast option, we don't use it anyway (made up from ipaddr and netmask), layout change of struct dhcp
|
2010-01-31 18:59:37 +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
|
2e8de4f601
|
Updated comment about recv_bufsize
|
2010-01-30 15:20:01 +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 |
|