ieee802154: add ieee802154_skb_src_pan helper
authorAlexander Aring <aar@pengutronix.de>
Wed, 6 Jul 2016 21:32:25 +0000 (23:32 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Jul 2016 11:23:12 +0000 (13:23 +0200)
commit19580cc1ed299c736b56b45c7576b477f185f8f5
tree9462cfe0a4bfa24f5c7e91a96288353c441bf5d0
parent9cc577dd25b9762df7f353658426bb2e048c480a
ieee802154: add ieee802154_skb_src_pan helper

This patch adds ieee802154_skb_src_pan function to get the pointer
address of the source pan id at skb mac pointer.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/linux/ieee802154.h
include/net/mac802154.h