ManiacBug has released a package, ZMAC, that modifies the Atmel
802.15.4 MAC library to work under the Arduino environment. He wrote
it up on his blog
(http://maniacbug.wordpress.com/2011/07/17/zigduino-and-zmac-2/) and I
did a quick write up on the Logos blog
(http://www.logos-electro.com/blog/2011/7/16/zmac-bringing-atmels-802154-mac-library-to-the-arduino-envir.html),
which is mostly a blockquote from Maniac's post. You can fetch the
package from Github at https://github.com/maniacbug/ZMAC.
Enjoy!
--
Pierce Nichols
Principal Engineer
Logos Electromechanical, LLC