diff options
| author | Phoebe Buckheister <[email protected]> | 2014-05-14 15:43:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-05-15 19:51:42 +0000 |
| commit | c3a6114f31600b94ee10ebf62e4d493b401ade87 (patch) | |
| tree | a854819cfede389764da13bcc0d7670e1f1e964f /net/unix/af_unix.c | |
| parent | drivers: net: Register Micrel ksz884x network devices in PCI device tree. (diff) | |
| download | kernel-c3a6114f31600b94ee10ebf62e4d493b401ade87.tar.gz kernel-c3a6114f31600b94ee10ebf62e4d493b401ade87.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
