goldsimon
|
2b02db2675
|
Remove warning in tcp_enqueue (cast from u32_t to u16_t)
|
2007-06-27 16:42:20 +00:00 |
|
goldsimon
|
6f93a8f091
|
Set the err_to_errno_table to be const
|
2007-06-26 17:38:52 +00:00 |
|
goldsimon
|
47074c897e
|
Removed warning: LWIP_DEBUGF had wrong argument count
|
2007-06-26 08:12:15 +00:00 |
|
goldsimon
|
2270f0d172
|
Fixed bug #20259: struct udp_hdr was lacking the packin defines.
|
2007-06-26 07:32:17 +00:00 |
|
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)
|
2007-06-25 18:03:23 +00:00 |
|
goldsimon
|
dcc2247a90
|
Fixed bug #20253: icmp_dest_unreach was called with a wrong p->payload for udp packets with no matching pcb.
|
2007-06-25 17:30:16 +00:00 |
|
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.
|
2007-06-25 17:24:31 +00:00 |
|
goldsimon
|
4f5b781b88
|
Moved filling of ethernet header for outgoing IP packets into an extra function to reduce code size.
|
2007-06-25 17:20:10 +00:00 |
|
goldsimon
|
b51d1b79a3
|
Combined etharp_request with etharp_raw for both LWIP_AUTOIP =0 and =1 to remove redundant code.
|
2007-06-24 12:51:22 +00:00 |
|
goldsimon
|
4848de3a8e
|
etharp_tmr function had a bug (pending entries were pending for too long)
|
2007-06-24 12:46:13 +00:00 |
|
goldsimon
|
88b1cebe1d
|
Sorry, checked in some of my local changes with the LWIP_ERROR modification!
|
2007-06-23 13:09:58 +00:00 |
|
goldsimon
|
bb9e9e5480
|
Changed the expression of LWIP_ERROR to the same as for LWIP_ASSERT
|
2007-06-22 20:50:21 +00:00 |
|
goldsimon
|
786a7fbaf4
|
no-pool-big-enough was not correctly caught
|
2007-06-22 20:26:30 +00:00 |
|
goldsimon
|
0ce27296aa
|
ASSERTS were using old MEM_ALIGN define, therefore, was not compilable without LWIP_NOASSERT defined
|
2007-06-22 20:23:26 +00:00 |
|
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"...
|
2007-06-22 18:54:34 +00:00 |
|
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.
|
2007-06-21 20:12:11 +00:00 |
|
goldsimon
|
065b8c945b
|
Added ASSERT to check that lwip_send(to) is not called for length not fitting into u16_t (for UDP & RAW sockets)
|
2007-06-21 19:58:31 +00:00 |
|
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).
|
2007-06-21 19:32:26 +00:00 |
|
goldsimon
|
67795ad26e
|
Corrected do_write for LWIP_TCPIP_CORE_LOCKING=1
|
2007-06-21 19:14:02 +00:00 |
|
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.
|
2007-06-21 18:55:09 +00:00 |
|
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.
|
2007-06-21 18:40:21 +00:00 |
|
fbernon
|
4c07b1606c
|
Minor changes: fix some comments for Doygen documentation
|
2007-06-21 07:17:29 +00:00 |
|
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).
|
2007-06-19 16:22:55 +00:00 |
|
fbernon
|
ec7333d406
|
Some changes for AutoIP integration in tcpip.c, and some comments.
|
2007-06-19 10:11:27 +00:00 |
|
fbernon
|
6a40426421
|
Minor fix: warning, type... for patch #5952 : Integration of AutoIP module
|
2007-06-18 21:45:34 +00:00 |
|
goldsimon
|
c9ebb895a1
|
Removed warning "empty body in an if statement" in tcp_receive() for LWIP_DEBUG=0
|
2007-06-18 20:08:31 +00:00 |
|
goldsimon
|
f66bbda8b1
|
Ooops, checked in a wrong (test-) version before!
|
2007-06-18 19:52:55 +00:00 |
|
goldsimon
|
da2d9f3733
|
Shortened some lines to ~80
|
2007-06-18 19:36:58 +00:00 |
|
goldsimon
|
9e0252b209
|
Corrected two formatters in LWIP_DEBUGF calls
|
2007-06-18 19:23:27 +00:00 |
|
goldsimon
|
531ea17088
|
Forgot to implement getsockopt for SO_NO_CHECK
|
2007-06-17 19:18:59 +00:00 |
|
fbernon
|
e89f5983be
|
tcp_in.c: Fix bug #20126 : Zero ssthresh bug (by Per-Henrik Lundblom and Kieran Mansley).
|
2007-06-17 16:15:34 +00:00 |
|
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
|
2007-06-17 15:20:21 +00:00 |
|
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
|
2007-06-17 14:39:50 +00:00 |
|
goldsimon
|
261e92c57b
|
In accept_function, one LWIP_ERROR had a wrong expression (since it is inverted compared to LWIP_ASSERT...)
|
2007-06-17 14:38:32 +00:00 |
|
goldsimon
|
55bd48dc10
|
Always align PBUF_POOL_BUFSIZE, pbuf_init is not needed any more, minor changes to meet coding style requirements
|
2007-06-17 14:36:19 +00:00 |
|
goldsimon
|
96dc30dea2
|
Done some work on task #1549 (function documentation)
|
2007-06-17 12:18:11 +00:00 |
|
goldsimon
|
ea7b0052f3
|
Implemented socket options SO_NO_CHECK for UDP sockets to disable UDP checksum generation on transmit.
|
2007-06-17 11:46:30 +00:00 |
|
goldsimon
|
1db9013bc4
|
Done some work on task #1549 (function documentation)
|
2007-06-16 15:08:47 +00:00 |
|
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_*())
|
2007-06-16 15:07:11 +00:00 |
|
goldsimon
|
8532d0d152
|
Added comments for the callback functions included in struct tcp_listen_pcb
|
2007-06-16 15:04:50 +00:00 |
|
goldsimon
|
173e63f01b
|
Minor fix: coding style
|
2007-06-16 15:03:09 +00:00 |
|
goldsimon
|
066daf21ef
|
Added comments for the callback functions included in structs tcp_pcb, udp_pcb and raw_pcb.
|
2007-06-16 14:33:37 +00:00 |
|
goldsimon
|
10f4604939
|
Corrected some copy & paste errors
|
2007-06-16 14:09:27 +00:00 |
|
goldsimon
|
08ab2d89f4
|
Created define instead of extra-function for netconn_new, netconn_new_with_callback and netconn_err, added netconn_type NETCONN_INVALID
|
2007-06-16 13:58:32 +00:00 |
|
goldsimon
|
775deefeaa
|
Done some work on task #1549 (function documentation), added some LWIP_ERROR checks, created define instead of extra-function for netconn_new, netconn_new_with_callback and netconn_err
|
2007-06-16 13:57:30 +00:00 |
|
goldsimon
|
cbf281589b
|
Fixed bug #20180 (TCP pcbs listening on IP_ADDR_ANY could get changed in netif_set_ipaddr if previous netif->ip_addr.addr was 0.
|
2007-06-16 13:32:10 +00:00 |
|
goldsimon
|
f1d95379bc
|
Changed all references to old debug defines to the new ones (e.g. LWIP_DBG_TRACE)
|
2007-06-16 11:39:01 +00:00 |
|
goldsimon
|
7c4377af0e
|
Added debug output for icmp_input if ip_output_if worked or not.
|
2007-06-16 11:23:26 +00:00 |
|
goldsimon
|
f93b8fe377
|
pbuf_copy(): removed copy & paste error which did not copy pbuf chains correctly
|
2007-06-14 17:40:39 +00:00 |
|
goldsimon
|
978c68dcf8
|
pbuf_copy: chained pbufs were not copied correctly because of wrong packet-queue-check
|
2007-06-14 07:22:43 +00:00 |
|