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
likewise
ba786dc49b
Applied patch #1596 fixing wrongly cast LWIP_DEBUGF arguments.
...
(printf expects integers on the var args stack)
2003-06-11 22:11:42 +00:00
kieranm
8014551908
Changed DEBUGF to LWIP_DEBUGF
2003-06-10 10:45:29 +00:00
likewise
df99ce9d98
Replaced all tabs with two spaces (regardless of indentation is correct).
2003-06-09 21:14:47 +00:00
likewise
734400cafa
Only free the queued packets if there are any.
2003-06-09 20:28:10 +00:00
likewise
08703f46f8
Several additional documentation fixes.
2003-06-04 08:58:51 +00:00
jani
26d9b28f77
sio and PPP updates from Marc
2003-06-02 11:12:56 +00:00
jani
ff63557d39
Cleanups in PPP: C++ comments removed, make it compile for unixsim too. Does not work yet only compiles
2003-05-30 08:49:34 +00:00
jani
31776e23fe
add PPP stack from Marc. Work in progress
2003-05-27 14:37:56 +00:00
jani
8bfe344923
fix format warning
2003-05-06 12:13:34 +00:00
likewise
03bc7c868b
Major stylo search/replace for "One space between keyword and opening bracket."
2003-05-01 13:24:01 +00:00
likewise
042b2a39d9
Either first or last packet can be queued. Fixed (err_t)NULL return value in etharp_query().
2003-04-22 15:08:47 +00:00
likewise
9ef5a61b1e
Prevent compiler warning on unused function arguments.
2003-04-15 12:41:52 +00:00
likewise
1a72feb128
etharp_query() has error return type now. Matched dhcp.c with this change.
...
Added debug messages in other places.
2003-04-01 14:02:50 +00:00
davidhaas
09ca7a181b
In keeping with pbuf->ref always having the count of the number of pointers
...
to the particular buffer (and the last rewrite of pbuf_free), changed most
pbuf_ref_chain() calls back to pbuf_ref(). I think this was causing some pbuf
leaks.
2003-03-31 22:09:39 +00:00
likewise
6c147709b6
Documentation changes. Added missing trailing newlines to debug messages.
2003-03-31 10:32:35 +00:00
likewise
002998cf49
Fixed bugs #2968 (ref count) and #2670 (total length).
...
Name of pbuf_unref() falsely suggests to undo pbuf_ref(), renamed to pbuf_take().
2003-03-28 08:49:05 +00:00
likewise
fa34d51b7e
Added documentation and comments.
2003-03-25 12:59:42 +00:00
jani
c60d0de919
Add sio.h containing interface to platform specific serial layer.Make slipif use it instead of defining extern functions.This is in preparation for PPP
2003-03-24 10:54:03 +00:00