diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-10-20 08:31:23 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-21 00:49:25 +0200 |
commit | 028b2a8c16c7c6a482075fe42275a44fbe5463fa (patch) | |
tree | 2529106be8a56eb47763fb316b81281b6b916568 /include | |
parent | 6350047eb8dbd3dcf0ff29a637ece96db8f59d8d (diff) | |
download | linux-028b2a8c16c7c6a482075fe42275a44fbe5463fa.tar.gz linux-028b2a8c16c7c6a482075fe42275a44fbe5463fa.tar.bz2 linux-028b2a8c16c7c6a482075fe42275a44fbe5463fa.zip |
6lowpan: remove lowpan_is_addr_broadcast
This macro is used at 802.15.4 6LoWPAN only and can be replaced by
memcmp with the interface broadcast address.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/6lowpan.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h index f127a92d1b94..cf3bc564ac03 100644 --- a/include/net/6lowpan.h +++ b/include/net/6lowpan.h @@ -74,16 +74,6 @@ LOWPAN_IPHC_MAX_HEADER_LEN + \ LOWPAN_NHC_MAX_HDR_LEN) -#define lowpan_is_addr_broadcast(a) \ - ((((a)[0]) == 0xFF) && \ - (((a)[1]) == 0xFF) && \ - (((a)[2]) == 0xFF) && \ - (((a)[3]) == 0xFF) && \ - (((a)[4]) == 0xFF) && \ - (((a)[5]) == 0xFF) && \ - (((a)[6]) == 0xFF) && \ - (((a)[7]) == 0xFF)) - #define LOWPAN_DISPATCH_IPV6 0x41 /* 01000001 = 65 */ #define LOWPAN_DISPATCH_IPHC 0x60 /* 011xxxxx = ... */ #define LOWPAN_DISPATCH_IPHC_MASK 0xe0 |