ieee802154: add definitions for link-layer security and header functions
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Wed, 14 May 2014 15:43:06 +0000 (17:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2014 19:51:42 +0000 (15:51 -0400)
commitc3a6114f31600b94ee10ebf62e4d493b401ade87
treea854819cfede389764da13bcc0d7670e1f1e964f
parent9dbccc30f3306114e1ca4a89da69be6d5f675782
ieee802154: add definitions for link-layer security and header functions

When dealing with 802.15.4, one often has to know the maximum payload
size for a given packet. This depends on many factors, one of which is
whether or not a security header is present in the frame. These
definitions and functions provide an easy way for any upper layer to
calculate the maximum payload size for a packet. The first obvious user
for this is 6lowpan, which duplicates this calculation and gets it
partially wrong because it ignores security headers.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ieee802154.h
include/net/ieee802154_netdev.h
net/ieee802154/header_ops.c
This page took 0.025773 seconds and 5 git commands to generate.