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
0c960a82ce
The recv callback has u8_t return type. Fixed theraw_pcb struct to reflect this.
2004-05-05 14:30:28 +00:00
likewise
e84cc8c0ad
Remember head of queue in pbuf_queue() iff PBUF_DEBUG to generate senseful debug report.
2004-05-05 14:28:41 +00:00
likewise
c69b93b246
The recv callback has u8_t return type. Fixed the raw_recv() prototype to reflect this.
2004-05-05 14:21:05 +00:00
likewise
5e13b9528d
Adpated comments to match Doxygen/JavaDoc style.
2004-05-05 14:12:28 +00:00
likewise
8bb3cab9d2
Adpated comments to match Doxygen/JavaDoc style.
2004-05-05 13:28:44 +00:00
likewise
ed201c35d2
Made raw_input() more generic allowing multiple matches until someone eats the packet.
2004-05-05 13:27:27 +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
jani
4e2260c74c
by default there's no eth padding to preserve preious beahviour
2004-05-03 09:42:58 +00:00
likewise
a5148c14a1
Fixed use of struct ip_addr in DHCP header.
2004-04-30 01:00:21 +00:00
likewise
955d6206ee
Fixed hasty job prototype for pbuf_queue().
2004-04-30 00:58:55 +00:00
likewise
5df22b3468
Added missing prototypes for pbuf_*queue().
2004-04-30 00:57:20 +00:00
likewise
aef86ec5ef
DHCP header used u32_t where struct ip_addr is more appropriate.
2004-04-30 00:51:49 +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
d31830225c
Updated list of fixes/changes to the code.
2004-04-29 21:56:06 +00:00
likewise
8f309a3fec
Clean-up source comment documentation for Doxygen.
2004-04-29 21:50:39 +00:00
likewise
1fe4edbe1c
Fix buggy comment.
2004-04-29 21:49:12 +00:00
likewise
fe1696cef7
Clean-up source comment documentation for Doxygen.
2004-04-29 21:48:31 +00:00
likewise
de2e311e6e
Updated documentation.
2004-04-28 23:40:53 +00:00
likewise
384fb3c353
Corrected comparison by adding missing parentheses.
2004-04-28 23:36:39 +00:00
likewise
8603e19516
Removed ETHARP_ALWAYS_INSERT.
2004-04-28 23:20:18 +00:00
likewise
7a2751043a
Removed ETHARP_ALWAYS_INSERT. Whitespace cleanup.
2004-04-28 23:19:38 +00:00
likewise
e2b0c6c702
Fixed a cast.
2004-04-28 23:18:57 +00:00
likewise
5b12c61a81
Removed old broadcast check macro.
2004-04-28 23:18:20 +00:00
likewise
b8ee8808b4
Updated release procedure to match Savannah changes.
2004-04-28 20:35:17 +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
7dc51270ee
Documented latest fixes in HEAD.
2004-04-23 16:49:35 +00:00
likewise
237b5a2467
Fix in the ip_addr_isbroadcast() check.
2004-04-23 16:45:06 +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
d91b54882a
Fixed #ifdef LWIP_DHCP to #if LWIP_DHCP.
2004-04-16 22:36:48 +00:00
likewise
9106a1f2d5
Fixed #ifdef LWIP_DHCP position. Fixed extranous comma in function arguments.
2004-04-16 22:34:25 +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
jani
6d704c728e
do not export struct timeval to external users of socket.h to avoid conflicts
2004-03-26 13:21:35 +00:00
jani
6c6f32f17f
fix recursive inclusion by forward defining struct netif
2004-03-26 13:21:10 +00:00
jani
0e4ce326c2
warnign fixe for stat_display
2004-03-26 13:11:35 +00:00
jani
d27448da8a
fix up stats_display which was added in previous commit
2004-03-26 12:47:57 +00:00
jani
d36b723056
fix SO_REUSE ifdef fixes
2004-03-26 12:40:58 +00:00
kieranm
2c8aa6f6f4
Kieran Mansley - kjm25@cam.ac.uk - 23rd March 2003
...
- Changed all #ifdef SO_REUSE into #if SO_REUSE
2004-03-23 19:33:53 +00:00
likewise
6f7c8fb355
Made #ifdef's into #if's for SO_REUSE.
2004-03-23 00:19:38 +00:00
likewise
82f852abf3
Fix cyclic dependencies by careful re-ordering of #includes.
...
This is really nasty. Can we forward-declare pointers to structs?
2004-03-12 00:10:07 +00:00
likewise
239c6fe070
Removed offending #include.
2004-03-11 21:39:47 +00:00
likewise
579d2ad811
Disabling ip_addr_isbroadcast() due to recursive header dependencies.
...
Currently, patch #2679 is broken, but will be neatly fixed once this is solved.
2004-03-11 21:37:56 +00:00
likewise
0cb355cd7c
Added netif #include.
2004-03-11 21:28:37 +00:00
likewise
86135d12b9
Fix prototype.
2004-03-11 21:25:28 +00:00