Date: Sat, 9 Jun 2007 09:00:40 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de> To: ticso@cicely.de Cc: arm@freebsd.org Subject: Re: if_ate handles the bytes of the MAC address in a "wrong" order Message-ID: <63859.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181372440.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <20070608225912.GB16463@cicely12.cicely.de> References: <53385.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181314300.squirrel@webmail.alpha-tierchen.de> <20070608.120902.-399284744.imp@bsdimp.com> <20070608225912.GB16463@cicely12.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Bernd schrieb: > Ethernet is little endian. > 0x01 is the first byte to be transmitted and it is done in 1000000 > order. > For my understanding 0x01 is the _least_ significant byte. If we would talk about a big 48-bit number with little endianess I would agree with you that 0x01 is the least significant byte. However, a MAC address is not a 48-bit number, it's rather a 48-bit address consisting of six 8-bit numbers, so I think it's inappropriate and confusing to talk about a most and least significant byte for the purpose of endianess. I'd like to stick to IEEE802 and call the bytes from left to right: first, second, third, ... and the sixth byte is the last. In my opinion the first bytes in transmission have a higher significance than the last bytes, because stations can already make decisions upon the first bytes. That's the reason why Atmel (among many others) call the first byte the most significant byte. Regards Björn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63859.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181372440.squirrel>