diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-10-20 08:31:24 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-21 00:49:25 +0200 |
commit | c8a3e7eb98236f7c88e6deddf9f330874070fa09 (patch) | |
tree | dd06fc315fcfe90b0625497367885a96e95c4853 /net/mac80211/mesh_ps.c | |
parent | 028b2a8c16c7c6a482075fe42275a44fbe5463fa (diff) | |
download | linux-c8a3e7eb98236f7c88e6deddf9f330874070fa09.tar.gz linux-c8a3e7eb98236f7c88e6deddf9f330874070fa09.tar.bz2 linux-c8a3e7eb98236f7c88e6deddf9f330874070fa09.zip |
6lowpan: iphc: change define values
This patch has the main goal to delete shift operations. Instead we
doing masks and equals afterwards. E.g. for the SAM evaluation we
masking only the SAM value which fits in iphc1 byte, then comparing with
all possible SAM values over a switch case statement. We will not
shifting the SAM value to somewhat readable anymore.
Additional this patch slighty change the naming style like RFC 6282,
e.g. TTL to HLIM and we will drop an errno now if CID flag is set,
because we don't support it.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac80211/mesh_ps.c')
0 files changed, 0 insertions, 0 deletions