1046 Commits (af71292abae35d03cf6cd2e58335e57773d63a69)
 

Author SHA1 Message Date
fbernon af71292aba Minor fix (extra spaces) 19 years ago
goldsimon 24e29cecae Fixed bug #20287: Fixed nagle algorithm (sending was done too early if a segment contained chained pbufs) 19 years ago
fbernon ab4c3a326f autoip.c: replace most of rand() calls by a macro LWIP_AUTOIP_RAND which compute a "pseudo-random" value based on netif's MAC and some autoip fields. It's always possible to define this macro in your own lwipopts.h to always use C library's rand(). Note that autoip_create_rand_addr doesn't use this macro. 19 years ago
goldsimon d73ca29a07 Fixed minor indentation fault 19 years ago
fbernon d6fbe45296 netifapi.h, netifapi.c, tcpip.h, tcpip.c: Update code to handle the option LWIP_TCPIP_CORE_LOCKING, and do some changes to be coherent with last modifications in api_lib/api_msg (use pointers and not type with table, etc...) 19 years ago
fbernon dd1cd5e491 sockets.c: process NETCONN_RAW connections with LWIP_TCPIP_CORE_LOCKING=1 19 years ago
goldsimon 2b02db2675 Remove warning in tcp_enqueue (cast from u32_t to u16_t) 19 years ago
goldsimon 6f93a8f091 Set the err_to_errno_table to be const 19 years ago
goldsimon 47074c897e Removed warning: LWIP_DEBUGF had wrong argument count 19 years ago
goldsimon 2270f0d172 Fixed bug #20259: struct udp_hdr was lacking the packin defines. 19 years ago
goldsimon 1b5d3466ba etharp_arp_input: stricter checking of hwtype, proto, hwlen & protolen allows us to leave some header fields like they are when sending ARP reply (only changing the addresses is needed) 19 years ago
goldsimon dcc2247a90 Fixed bug #20253: icmp_dest_unreach was called with a wrong p->payload for udp packets with no matching pcb. 19 years ago
goldsimon 00b7aeb49b Fixed bug #20220: UDP PCB search in udp_input(): a non-local match could get udp input packets if the remote side matched. 19 years ago
goldsimon 4f5b781b88 Moved filling of ethernet header for outgoing IP packets into an extra function to reduce code size. 19 years ago
goldsimon b51d1b79a3 Combined etharp_request with etharp_raw for both LWIP_AUTOIP =0 and =1 to remove redundant code. 19 years ago
goldsimon 4848de3a8e etharp_tmr function had a bug (pending entries were pending for too long) 19 years ago
goldsimon 88b1cebe1d Sorry, checked in some of my local changes with the LWIP_ERROR modification! 19 years ago
goldsimon bb9e9e5480 Changed the expression of LWIP_ERROR to the same as for LWIP_ASSERT 19 years ago
goldsimon 786a7fbaf4 no-pool-big-enough was not correctly caught 19 years ago
goldsimon 0ce27296aa ASSERTS were using old MEM_ALIGN define, therefore, was not compilable without LWIP_NOASSERT defined 19 years ago
fbernon a1d176b643 autoip.h/.c: change autoip_init & autoip_create_rand_addr to use netif's MAC address and tried_llipaddr to generate an "autoip"... 19 years ago
goldsimon 0c18e653e8 Introduced the option MEM_USE_POOLS to use 4 pools with different sized elements instead of a heap. This both prevents memory fragmentation and gives a higher speed at the cost of more memory consumption. Turned off by default. 19 years ago
goldsimon 065b8c945b Added ASSERT to check that lwip_send(to) is not called for length not fitting into u16_t (for UDP & RAW sockets) 19 years ago
goldsimon f49fc35f55 Converted the length argument of netconn_write (and therefore also api_msg_msg.msg.w.len) from u16_t into int to be able to send a bigger buffer than 64K with one time (mainly used from lwip_send). 19 years ago
goldsimon 67795ad26e Corrected do_write for LWIP_TCPIP_CORE_LOCKING=1 19 years ago
goldsimon 2aef8bad55 Moved the nagle algorithm from netconn_write/do_write into a define (tcp_output_nagle) in tcp.h to provide it to raw api users, too. 19 years ago
goldsimon 9f05cabf87 Fixed bug #20021: Moved sendbuf-processing in netconn_write from api_lib.c to api_msg.c to also prevent multiple context-changes on low memory or empty send-buffer. 19 years ago
fbernon 4c07b1606c Minor changes: fix some comments for Doygen documentation 19 years ago
goldsimon d3f0a3211d Changed etharp to use a defined hardware address length of 6 to avoid loading netif->hwaddr_len every time (since this file is only used for ethernet and struct eth_addr already had a defined length of 6). 19 years ago
fbernon ec7333d406 Some changes for AutoIP integration in tcpip.c, and some comments. 19 years ago
fbernon 6a40426421 Minor fix: warning, type... for patch #5952 : Integration of AutoIP module 19 years ago
goldsimon c9ebb895a1 Removed warning "empty body in an if statement" in tcp_receive() for LWIP_DEBUG=0 19 years ago
goldsimon f66bbda8b1 Ooops, checked in a wrong (test-) version before! 19 years ago
goldsimon da2d9f3733 Shortened some lines to ~80 19 years ago
goldsimon 9e0252b209 Corrected two formatters in LWIP_DEBUGF calls 19 years ago
goldsimon 531ea17088 Forgot to implement getsockopt for SO_NO_CHECK 19 years ago
fbernon e89f5983be tcp_in.c: Fix bug #20126 : Zero ssthresh bug (by Per-Henrik Lundblom and Kieran Mansley). 19 years ago
goldsimon 6784fd64f3 Done some work on task #6933: converted some LWIP_ASSERTs to LWIP_ERROR to give back an error return value for LWIP_NOASSERT=1 19 years ago
goldsimon ced2543be0 Done some work on task #6933: converted some LWIP_ASSERTs to LWIP_ERROR to give back an error return value for LWIP_NOASSERT=1 19 years ago
goldsimon 261e92c57b In accept_function, one LWIP_ERROR had a wrong expression (since it is inverted compared to LWIP_ASSERT...) 19 years ago
goldsimon 55bd48dc10 Always align PBUF_POOL_BUFSIZE, pbuf_init is not needed any more, minor changes to meet coding style requirements 19 years ago
goldsimon 96dc30dea2 Done some work on task #1549 (function documentation) 19 years ago
goldsimon ea7b0052f3 Implemented socket options SO_NO_CHECK for UDP sockets to disable UDP checksum generation on transmit. 19 years ago
goldsimon 1db9013bc4 Done some work on task #1549 (function documentation) 19 years ago
goldsimon 060cbe15d6 Done some work on task #1549 (function documentation), added some LWIP_ERROR checks, don't call pcb_new() from do_bind() and do_connect() since a netconn without pcb can't exist any more (after the recent changes to netconn_new_*()) 19 years ago
goldsimon 8532d0d152 Added comments for the callback functions included in struct tcp_listen_pcb 19 years ago
goldsimon 173e63f01b Minor fix: coding style 19 years ago
goldsimon 066daf21ef Added comments for the callback functions included in structs tcp_pcb, udp_pcb and raw_pcb. 19 years ago
goldsimon 10f4604939 Corrected some copy & paste errors 19 years ago
goldsimon 08ab2d89f4 Created define instead of extra-function for netconn_new, netconn_new_with_callback and netconn_err, added netconn_type NETCONN_INVALID 19 years ago