From: Phoebe Buckheister Date: Fri, 14 Mar 2014 20:24:00 +0000 (+0100) Subject: ieee802154: add header structs with endiannes and operations X-Git-Tag: v3.15-rc1~113^2~151^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94b4f6c21cf54029377a0645675a9d81b6cf890d;p=pandora-kernel.git ieee802154: add header structs with endiannes and operations This patch provides a set of structures to represent 802.15.4 MAC headers, and a set of operations to push/pull/peek these structs from skbs. We cannot simply pointer-cast the skb MAC header pointer to these structs, because 802.15.4 headers are wildly variable - depending on the first three bytes, virtually all other fields of the header may be present or not, and be present with different lengths. The new header creation/parsing routines also support 802.15.4 security headers, which are currently not supported by the mac802154 implementation of the protocol. Signed-off-by: Phoebe Buckheister Signed-off-by: David S. Miller --- Reading git-diff-tree failed