865 Commits (4dbf1dcad441894de3a60e4818a1638fb8b77e84)
 

Author SHA1 Message Date
goldsimon 4dbf1dcad4 mem_realloc: Added assert to check that memory is shrinked, not expanded. 19 years ago
goldsimon 824ef1ff2c Another attempt to fix bug #17922 19 years ago
goldsimon 79d9b36ece Further update to ARP queueing: Changed pbuf_copy() implementation so that it can be reused (don't allocate the target pbuf inside pbuf_copy()). 19 years ago
goldsimon be316e81a7 Introduced fast one-entry-cache to speed up ARP lookup when sending multiple packets to the same host. 19 years ago
goldsimon 615e52d396 Prototype of igmp_tick() in igmp.h did not match the one in igmp.c 19 years ago
goldsimon 7f232b43ff checked in patch #5913: in memp_malloc() we can return memp as mem to save a little RAM (next pointer of memp is not used while not in pool). 19 years ago
fbernon 5a12aeb4a1 sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c: Fix bug #19162 "lwip_sento: a possible to corrupt remote addr/port connection state". Reduce problems "not enought memory" with netbuf (if we receive lot of datagrams). Improve lwip_sendto (only one exchange between sockets api and api_msg which run in tcpip_thread context). Add netconn_sento function. WARNING, if you directly access to "fromaddr" & "fromport" field from netbuf struct, these fields are now renamed "addr" & "port". 19 years ago
fbernon 05ea5f05ae Minor fix (tab, indent...) to respect source code style... 19 years ago
jifl e895aa71a4 * sockets.c: Fix ioctl FIONREAD when some data remains from last recv. 19 years ago
fbernon eb28133b1f Remove forgotten printf in pbuf_init(). 19 years ago
goldsimon c66932ab25 Checked in patch #5453: removed mutex/other locking stuff if SYS_LIGHTWEIGHT_PROT=0, moved some pbuf pool logic to static functions 19 years ago
goldsimon 36e8213e42 PBUF_POOL_BUFSIZE: For the default length, alignment check in pbuf_init() failed. 19 years ago
goldsimon cde6d0deed pbuf_alloc() / pbuf_realloc(): added LWIP_DEBUG_ASSERT() and cast operator when assigning s32_t to u16_t to get rid of compiler warnings 19 years ago
goldsimon b462cb4575 Define ETH_PAD_SIZE after including opt.h to avoid conflict with lwipopts.h 19 years ago
goldsimon dd4ccfc672 task #6792: added added LWIP_DEBUG_ASSERT(x,y), which triggers #ifndef LWIP_NOASSERT and #ifdef LWIP_DEBUG 19 years ago
goldsimon 6006e2f917 Changed some includes for loopif and added comments 19 years ago
goldsimon 4bedb07aa0 Added some more LWIP_UNUSED_ARG()s 19 years ago
goldsimon 02e194b15f fix bug #2595: "loopif results 19 years ago
goldsimon 82e579a29d Changed the comment to pbuf_realloc() that it can't grow (only shrink) chains to reflect the fact that we decided not to change this. 19 years ago
jifl eacac8ee1d * sockets.h: FD_SETSIZE needs to match number of sockets, which is 19 years ago
jifl cd19d81411 * pbuf.c: Use s32_t in pbuf_realloc(), as an s16_t can't reliably hold 19 years ago
jifl 748ba22a19 * icmp.c: Reset IP header TTL in ICMP ECHO responses (bug #19580). 19 years ago
kieranm 79be888b6f * tcp.c, tcp_in.c, tcp_out.c, tcp.h: Modify way the retransmission 19 years ago
jifl 58b3b0603d Note succesful error return for sys_arch_mbox_tryfetch 19 years ago
jifl 9d43d74ee3 Document new sys_arch_mbox_tryfetch requirement for ports 19 years ago
fbernon 9bc49b3268 opt.h: rename DBG_TYPES_ON & DBG_MIN_LEVEL with LWIP_ prefix. 19 years ago
jifl d92e0dec22 From bug #19222 comment #18. Minor tweak to sys_mbox_fetch to avoid redundant 19 years ago
goldsimon 7932bf483b Ongoing fix to patch #5822: converted more statements like (void)arg; into LWIP_UNUSED_ARG(arg); 19 years ago
goldsimon e54f3fdaac 3rd fix for bug #11400 (arp-queuing): More pbufs than previously thought need to be copied (everything but PBUF_ROM!). Cleaned up pbuf.c: removed functions no needed any more (by etharp). 19 years ago
jifl e8b055b8d3 Oops, forgot final version of Changelog for last change I made. 19 years ago
jifl 0c94f22ded * sys.h, api_lib.c: Provide new sys_mbox_tryfetch function. 19 years ago
kieranm 05909d6fa7 Apply patch #5745: Fix "Constant is long" warnings with 16bit 19 years ago
jifl 712a22e18c Applied patch #5832 from Tai-hwa Liang to keep ipv6 building. 19 years ago
fbernon 35893e36dd opt.h, tcpip.h, tcpip.c, netifapi.h, netifapi.c: New configuration option LWIP_NETIF_API allow to use thread-safe functions to add/remove netif in list, and to start/stop dhcp clients, using new functions from netifapi.h. Disable as default (no port change to do). 19 years ago
fbernon 787eecbf43 Fix mistakes in netconn's error field checking. 19 years ago
fbernon 5f1aac1450 api_msg.c: Fix bug #16830: "err_tcp() posts to connection mailbox when no pend on the mailbox is active". Now, the post is only done during a connect, and do_send, do_write and do_join_leave_group don't do anything if a previous error was signaled. 19 years ago
fbernon 7fdd312cca sockets.c: remplace ENOBUFS errors on alloc_socket by ENFILE to be more BSD compliant. 19 years ago
goldsimon f16911f7dd comment to the last check-in was incomplete: Introduced #define LWIP_UNUSED_ARG(x) use this for and architecture-independent form to tell the compiler you intentionally are not using this variable. Can be overriden in cc.h. 19 years ago
goldsimon f6bdd2cae4 Introduced #define LWIP_UNUSED_ARG(x) use this for and architecture-independent form to tell the compiler you intentionally are not using this variable. Can be overriden in cc.h. 19 years ago
goldsimon f8aa14d402 Fix bug #5848: add #if PAP_SUPPORT around the whole file pap.h 19 years ago
goldsimon 11a4f5538b Change names of 2 global variables again, as the previous names did not have lwip-style... 19 years ago
fbernon 26e88dc2c1 Don't set the IP_DF ("Don't fragment") flag in the IP header in IP output packets. See patch #5834. 19 years ago
goldsimon 34fcccc50b - Changed the names of some variables in SNMP module to avoid them shadowing each other (which produces a lot of warnings and makes the code hard to maintain) 19 years ago
goldsimon 2f53df93e8 Removed printf formatter warning introduced by last check-in (changed local variable from u32_t to u16_t) 19 years ago
fbernon 996d5fda69 ip.c: if IP_REASSEMBLY is set to 1, don't set the IP_DF ("Don't fragment") flag in the IP header in IP output packets. 19 years ago
fbernon f75be85eea Add NETIF_FLAG_ETHARP flag and comments in this skeleton. 19 years ago
fbernon f1412f5e5a api_msg.c: add a "pcb_new" helper function to avoid redundant code, and to add missing pcb allocations checking (in do_bind, and for each raw_new). Fix style. 19 years ago
fbernon 4208bcd8d1 Fix on NETIF_FLAG_ETHARP test (test inverted) 19 years ago
fbernon 5368a760cf most of files: prefix all debug.h define with "LWIP_" to avoid any conflict with others environment defines (these were too "generic"). 19 years ago
fbernon 9ec08fa76a Missing recv_timeout initialize in accept_function. Minor style fix (indent, mbox checking...) 19 years ago