goldsimon
|
52970c2459
|
Renamed mem_realloc() to mem_trim() to prevent confusion with realloc()
|
2010-02-19 16:23:46 +00:00 |
|
goldsimon
|
8336796c1a
|
Add matching comment to #endif
|
2010-02-16 21:05:06 +00:00 |
|
goldsimon
|
16a63c6554
|
Bug #28917: don't increase error counters for icmp echo response
|
2010-02-16 20:38:35 +00:00 |
|
goldsimon
|
c637441f52
|
tcp_seg(s)_free: remove return value, noone uses it
|
2010-02-16 17:20:10 +00:00 |
|
goldsimon
|
5b221ecd4f
|
Added missing cast; added more debug output
|
2010-02-16 11:28:40 +00:00 |
|
goldsimon
|
7af77aefa7
|
Added missing casts
|
2010-02-16 11:28:15 +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
|
524b7bc36b
|
Documented the use of netif flags
|
2010-02-14 16:00:46 +00:00 |
|
goldsimon
|
8908055b63
|
Revert my last changes and remove structure packing from struct dns_query and struct dns_answer since they are only used with SMEMCPY
|
2010-02-14 14:02:05 +00:00 |
|
goldsimon
|
10abe8aba2
|
Use pointers instead of using SMEMCPY
|
2010-02-14 12:51:53 +00:00 |
|
goldsimon
|
7b24a6360c
|
Minor speedups: use ip_addr_copy, use SMEMCPY, use htonX on constants instead of variables
|
2010-02-14 12:43:24 +00:00 |
|
goldsimon
|
96e9689dbd
|
Use new macro ip_addr_copy where applicable
|
2010-02-14 12:42:49 +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
|
dfb80c6b86
|
fixed compilation for LWIp_SNMP && PPP_INPROC_MULTITHREADED
|
2010-02-14 12:26:01 +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
|
c858aa5686
|
Fixed compiler warnings for checksum algorithms 2 and 3
|
2010-02-14 11:40:13 +00:00 |
|
goldsimon
|
b1736b13d7
|
Use checksum algorithm 2 as default as it should be faster than 1 on most (if not all) platforms
|
2010-02-14 11:31:10 +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
|
7ccf8cb731
|
Fixed compilation with LWIP_DNS==1 after changing sys layer
|
2010-02-13 15:01:55 +00:00 |
|
goldsimon
|
7c28c66d32
|
Don't use C++ reserved keyword 'class'
|
2010-02-13 14:51:46 +00:00 |
|
goldsimon
|
c49a3ab2d6
|
Fixed compilation for LWIP_SO_RCVBUF==0
|
2010-02-13 10:06:42 +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
|
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
|
bd3f86e505
|
Code layout: splitted long line
|
2010-02-12 16:31:18 +00:00 |
|
goldsimon
|
82e4716784
|
Fixed comment to our flag names
|
2010-02-12 16:30:58 +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
|
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
|
b6babe38ea
|
Use braces for if blocks
|
2010-02-12 09:51:30 +00:00 |
|
goldsimon
|
df7e435b86
|
Fixed bug #28866 (mem_realloc function defined in mem.h)
|
2010-02-12 09:30:31 +00:00 |
|
goldsimon
|
9e59f661bc
|
Fixed a compiler warning (comparison between signed and unsigned)
|
2010-02-10 08:11:18 +00:00 |
|
goldsimon
|
87c2d911c9
|
Removed invalid assert (always true)
|
2010-02-10 07:58:21 +00:00 |
|
goldsimon
|
44af02aa1e
|
Fixed wrong printf formatter
|
2010-02-10 07:58:01 +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
|
59a623e648
|
Use sys_arch_sem_wait instead of sys_sem_wait_timeout (same function, different name)
|
2010-02-09 21:04:50 +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 |
|