1872 Commits (1d8538bca422ec9fa512b6073acdaba2f91cc067)
 

Author SHA1 Message Date
goldsimon 1d8538bca4 Added const char* name to mem- and memp-stats for easier debugging. 16 years ago
goldsimon b73dcfb8cf task #10140: Remove DNS_USES_STATIC_BUF (keep the implementation of DNS_USES_STATIC_BUF==1) 16 years ago
goldsimon bcd4b76d31 Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains the actual application programmer's API 16 years ago
goldsimon 7c57ee0c17 Use tcp_debug_state_str() instead of tcp_debug_print_state() 16 years ago
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(). 16 years ago
goldsimon eae9798276 Fixed pcb leak when accept-callback is NULL and asserts are disabled 16 years ago
goldsimon e131d3e32a tcp_alloc: set given prio to the new pcb, not TCP_PRIO_NORMAL; minor: changed comments and source code layout 16 years ago
goldsimon 36043a92e7 Restructured TCP_PCB_COMMON for a smaller size (u16_t at the end) 16 years ago
goldsimon 9b48657444 Added UPGRADING doc file that should help to upgrade apps/ports from older versions of lwIP 16 years ago
goldsimon 52970c2459 Renamed mem_realloc() to mem_trim() to prevent confusion with realloc() 16 years ago
goldsimon 8336796c1a Add matching comment to #endif 16 years ago
goldsimon 16a63c6554 Bug #28917: don't increase error counters for icmp echo response 16 years ago
goldsimon c637441f52 tcp_seg(s)_free: remove return value, noone uses it 16 years ago
goldsimon 5b221ecd4f Added missing cast; added more debug output 16 years ago
goldsimon 7af77aefa7 Added missing casts 16 years ago
goldsimon 7c2054091d Link status does not depend on LWIP_NETIF_LINK_CALLBACK (fixes bug #28899) 16 years ago
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 16 years ago
goldsimon e983865ad5 Disable ETHARP_TRUST_IP_MAC by default since it slows down packet reception and is not really necessary 16 years ago
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 16 years ago
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). 16 years ago
goldsimon 524b7bc36b Documented the use of netif flags 16 years ago
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 16 years ago
goldsimon 10abe8aba2 Use pointers instead of using SMEMCPY 16 years ago
goldsimon 7b24a6360c Minor speedups: use ip_addr_copy, use SMEMCPY, use htonX on constants instead of variables 16 years ago
goldsimon 96e9689dbd Use new macro ip_addr_copy where applicable 16 years ago
goldsimon 7e0204bb7b Improved some defines working on ip addresses, added faster macro to copy addresses that cannot be NULL 16 years ago
goldsimon dfb80c6b86 fixed compilation for LWIp_SNMP && PPP_INPROC_MULTITHREADED 16 years ago
goldsimon 838c35acf6 struct ip_hdr: split u16_t _ttl_proto to u8_t _ttl and u8_t _proto to prevent unnecessary loading and htons 16 years ago
goldsimon c858aa5686 Fixed compiler warnings for checksum algorithms 2 and 3 16 years ago
goldsimon b1736b13d7 Use checksum algorithm 2 as default as it should be faster than 1 on most (if not all) platforms 16 years ago
goldsimon cbb86fe590 Added stats for mutexes 16 years ago
goldsimon a61f5f3a78 Fixed old comments 16 years ago
goldsimon 0792effc2a task #7865 (implement non-blocking send operation) 16 years ago
goldsimon 49c6ce3703 Add a new err_t, ERR_WOULDBLOCK in preparation for non-blocking send 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 7c28c66d32 Don't use C++ reserved keyword 'class' 16 years ago
goldsimon c49a3ab2d6 Fixed compilation for LWIP_SO_RCVBUF==0 16 years ago
goldsimon 8fbaf0304a Added a minimal version of posix fctl() to have a standardised way to set O_NONBLOCK for nonblocking sockets. 16 years ago
goldsimon f89c08872c Fixed indentation 16 years ago
goldsimon 29eb56a2f6 netif_set_link_up/down: only do something if the link state actually changes 16 years ago
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 16 years ago
goldsimon 8768e4488a patch #6865: use so_options SOF_REUSEADDR instead of flags TF_REUSEADDR (which has ben removed again) 16 years ago
goldsimon bd3f86e505 Code layout: splitted long line 16 years ago
goldsimon 82e4716784 Fixed comment to our flag names 16 years ago
goldsimon d3635c5eef patch #6865 (SO_REUSEADDR for TCP): if tcp_pcb.flags has TF_REUSEADDR set, allow binding to endpoint in TIME_WAIT 16 years ago
goldsimon c73b1b4fa2 Fixed bug #28865 (Cannot close socket/netconn in non-blocking connect) 16 years ago
goldsimon 39df7d048c Added comment about mem_realloc() vs. realloc() 16 years ago
goldsimon 3529349470 Fixed compilation for NO_SYS==1 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