lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] Ethernet MAC address now 3 x u16_t?


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] Ethernet MAC address now 3 x u16_t?
Date: Wed, 08 Jan 2003 22:07:18 -0000

Hi Leon!

On Monday 17 December 2001 11.55, you wrote:
> what's the rational for changing the MAC address struct to
> u16_t?

The only reason was that I was testing out the 16-bit char stuff that was 
discussed here a while ago. Also, 16-bit accesses are a bit faster than 8-bit 
on most CPUs (or am I wrong here?).

> I think six "u18_t" are the obvious choice, given that:
> - a MAC address is defined to be 6 octects
> - is split in two halves of six u16_t
>   (of which three organization unique octets)

You definately have a point here. So you recommend going over to u8_t again? 

By the way, aren't there some kind of private MAC-addresses? I guess such an 
address should be the "default" address in the lwIP distribution files.

> BTW, the cs8900a driver is ready to be released RSN,
> lwIP 0.5 compatible and tested (somewhat).

Great!

/adam
-- 
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]