christiaans
67dd939d83
Match update_arp_entry() to prototype.
2004-10-28 08:21:33 +00:00
likewise
99e3fe9ae1
17th October 2004 Leon Woestenberg <leon.woestenberg@gmx.net>
...
ethernetif.c: Fix lwip/stats.h support, reported by Andrew McGeachie.
2004-10-17 18:13:18 +00:00
kieranm
1e1f5d5462
Kieran Mansley - kjm25@cam.ac.uk - 20th September 2004
...
* Change the return type of ethernetif_init from void to err_t to avoid confusing porters.
2004-09-20 17:00:31 +00:00
softins
36df79b207
Make sure the first pbuf queued on an ARP entry is properly ref counted.
2004-08-20 09:17:52 +00:00
likewise
515fb5a3fd
First packet on queue generated assertion failure. Reported by David Haas on lwip-users on Friday 13th.
2004-08-17 08:39:43 +00:00
likewise
fb18e1f036
Removed obsolete debug define.
2004-07-22 21:56:31 +00:00
softins
4d30218eb2
Updated low_level_output() to match prototype for netif->linkoutput
...
and changed low_level_input() similarly for consistency.
2004-07-21 09:31:03 +00:00
softins
5e24ae49a6
Removed spurious semicolon and added missing end-of-comment.
2004-07-21 08:36:15 +00:00
likewise
bf74ffe974
Outgoing packets caused ARP requests even when the destination IP was already cached.
...
Matched documentation.
2004-07-20 23:18:09 +00:00
likewise
2074861b57
Outgoing packets caused ARP requests even when the destination IP was already cached.
2004-07-20 23:07:54 +00:00
likewise
45e36d9f56
Dependencies on C library memset() etc., so include <string.h>.
2004-07-05 00:00:21 +00:00
likewise
efe5ce5c78
Made loop counters unsigned where possible.
2004-07-04 23:40:44 +00:00
likewise
2d94bf4998
Bug fix: etharp_output() should not free pbufs.
...
Bug was introduced in 1.60 and reported by Tim Newsham on 30-Jun-2004 on lwip-users.
2004-06-30 18:41:39 +00:00
likewise
26819e6c39
Fixed documentation for internal function.
2004-05-13 00:28:38 +00:00
likewise
6587efb3e8
Fixed #if ETHARP_QUEUEING to #if ARP_QUEUEING.
2004-05-07 01:20:28 +00:00
likewise
8d2200f29b
Optimized search loop a bit. Conditional code for ETHARP_QUEUEING option.
2004-05-07 01:06:56 +00:00
likewise
e4295396ac
Re-instantiated the pack directives. Nested structs do break individual field natural alignment on arm-gcc.
2004-05-06 03:27:13 +00:00
likewise
5c7a70df28
Fixed wrong argument to find_entry() in etharp_query().
2004-05-06 02:55:53 +00:00
likewise
16a7a8258f
Fixed ETH_EMPTY into ETHARP_STABLE_EMPTY.
2004-05-06 02:54:06 +00:00
likewise
fb1f61b212
Do not empty entries unless allowed to in find_entry().
2004-05-06 02:51:15 +00:00
likewise
c3137df39c
More fixes.
2004-05-06 02:49:10 +00:00
likewise
2df9cd7262
Exported etharp_request().
2004-05-06 02:43:47 +00:00
likewise
a23f6afbee
Fixed typos.
2004-05-06 02:38:42 +00:00
likewise
e37f7fafc1
Optimized through re-use of common code. Results in 50 lines less and more modular code.
...
Work towards timed out and retries of ARP requests. Currently, one timed out ARP request.
2004-05-06 02:35:27 +00:00
likewise
7b803465ad
Simplified update_arp_entry().
2004-05-06 00:14:39 +00:00
likewise
273612b251
Prevent non-unicast addresses from polluting the ARP cache.
2004-05-05 23:47:33 +00:00
likewise
79110ba469
Removed all structure packing directives. Protocol header fields are naturally aligned by design.
...
(Earlier, the 14-byte ethernet header screwed this up, this had already been fixed by adding two pad bytes.)
Assumption is that compilers do not align with larger-than-sizeof(type) boundaries.
Pre-tag PRE_PACK_REMOVE. Post-tag POST_TAG_REMOVE.
2004-05-05 19:16:51 +00:00
likewise
9dd10e46ab
Fix three bugs during tests.
2004-05-05 18:33:01 +00:00
likewise
29df95c514
As etharp already sends packets from the queue asynchronously, also make it send packet submitted through etharp_output().
...
etharp_output() now returns err_t.
etharp_query() now sends a packet directly if the IP address is stable.
2004-05-05 18:28:42 +00:00
likewise
015cb1a35d
etharp_*_input() return value (pbuf) removed; it has not been used since the packet queue
...
implementation. Packets are always sent to the network interface on behalf of ARP.
2004-05-05 15:59:12 +00:00
likewise
b217b020a5
Changed PAD_ETH_SIZE into ETH_PAD_SIZE for consistency with de-facto lwIP naming convention.
2004-05-05 15:09:13 +00:00
likewise
4eadc22a36
Some updates on "gratuitious ARP" from RFC3220. Cleanup of some code and comments.
2004-05-03 17:50:11 +00:00
likewise
94d3b04d68
Applied cleaner new patch for bug #8708 .
...
Implemented multiple packets on the outgoing queue in etharp.c.
Removed etharp.c specific queueing functions.
Fixed generic pbuf.c queueing functions.
2004-04-30 00:25:03 +00:00
likewise
8603e19516
Removed ETHARP_ALWAYS_INSERT.
2004-04-28 23:20:18 +00:00
likewise
2db9551750
Patch of bug #8708 applied which should fix header alignment issues on 32-bit processors.
...
While this patch might need further clean-up, it is applied to make sure this gets attention.
2004-04-28 00:26:35 +00:00
likewise
110e5af36c
Two trivial typo fixes.
2004-04-23 15:24:36 +00:00
jani
7d4aef9576
spelling fix from Tony Mountfield
2004-04-22 09:50:22 +00:00
jani
811b360df7
more uptodate eth driver skeleton from Tony Mountfield
2004-04-22 09:47:47 +00:00
likewise
2e2dada561
etharp_query(): Fixed the case where the packet that initiates the ARP request is not queued, and gets lost.
...
etharp_query(): Fixed the case where the packets destination address is already known.
As a result, we now always queue the packet and perform an ARP request, unless the entry is stable and no packet is submitted for transmission.
2004-04-14 19:12:10 +00:00
likewise
10d42c6fa3
Replaced ip_addr_isbroadcast() macro by function.
...
Overrides patch #2679 , as this must be solved inside ip_addr_isbroadcast(), inspired by BSD.
2004-03-11 21:20:10 +00:00
jani
30e5dfddb9
fix inet_ntoa prototype to be standard, and fix ppp code that used the non-standard version
2004-03-10 13:23:04 +00:00
kieranm
70cd10beae
23/02/2003 - Kieran Mansley - kieranm@gtemail.net
...
* Applied patch #2679
* Sets netif->flags at line 202 to NETIF_FLAG_POINTTOPOINT
2004-02-23 10:15:06 +00:00
likewise
e1c4bfad05
Merged from DEVEL, except for the API change in etharp.c.
2004-02-07 00:30:03 +00:00
likewise
7129d4797c
Merged ARP fixes from STABLE. Should have made those fixes in HEAD first.
2004-02-06 22:28:37 +00:00
uid67528
eed8ea5bc1
Merged from DEVEL. etharp prepared for queueing feature. DHCP fix.
2003-12-28 02:38:51 +00:00
likewise
3c71c378bc
An overriden merge from DEVEL to main was needed as small changes had been made to main.
2003-11-14 14:56:30 +00:00
likewise
e4a6d199fe
Merged from DEVEL into main tree.
2003-11-14 13:17:23 +00:00
marcbou
351e590e01
Merged from DEVEL.
2003-06-27 20:46:11 +00:00
marcbou
55f64f13c7
Important bug fixes and improvements.
2003-06-19 11:31:25 +00:00
marcbou
f0e0e72e4d
Patch #1623 : Add missing pbuf_free() call after pbuf_chain() in slipif_input()
2003-06-19 10:30:13 +00:00