On 8/11/10, Dmitry Eremin-Solenikov <[email protected]> wrote: > Hello, > > On 8/10/10, Jon Smirl <[email protected]> wrote: >> Other network hardware has a include/linux/if_xxxx.h file describing >> it. IEEE 802.15.4 has the same info, it is just spread out over >> different files. There are also naming conventions that don't match. >> For example IEEE80215_ADDR_LEN vs ARCNET_ALEN, ETH_ALEN, etc... > > I don't like this change: *_ALEN usually means the length of the _whole_ > address as used on the wire. OTOH IEEE802154_ADDR_LEN is the length > only of 64bit part of the address.
Reconsidering: you can add _ALEN constant to the ieee802154.h header, while not removing IEEE802154_ADDR_LEN from af_ieee801254.h. This should allow us to clean up some files which include af_ieee802154.h only to get that magic 64/8=8 address length constant. -- With best wishes Dmitry ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
