Thomas Gleixner | 2874c5f | 2019-05-27 08:55:01 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Alexander Aring | ff0fcc2 | 2015-01-09 16:42:59 +0100 | [diff] [blame] | 2 | /* |
| 3 | * 6LoWPAN IPv6 Destination Options Header compression according to |
| 4 | * RFC6282 |
Alexander Aring | ff0fcc2 | 2015-01-09 16:42:59 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include "nhc.h" |
| 8 | |
Alexander Aring | ff0fcc2 | 2015-01-09 16:42:59 +0100 | [diff] [blame] | 9 | #define LOWPAN_NHC_DEST_ID_0 0xe6 |
| 10 | #define LOWPAN_NHC_DEST_MASK_0 0xfe |
| 11 | |
Alexander Aring | ff0fcc2 | 2015-01-09 16:42:59 +0100 | [diff] [blame] | 12 | LOWPAN_NHC(nhc_dest, "RFC6282 Destination Options", NEXTHDR_DEST, 0, |
Alexander Aring | 31264f9 | 2022-04-27 23:05:33 -0400 | [diff] [blame] | 13 | LOWPAN_NHC_DEST_ID_0, LOWPAN_NHC_DEST_MASK_0, NULL, NULL); |
Alexander Aring | ff0fcc2 | 2015-01-09 16:42:59 +0100 | [diff] [blame] | 14 | |
| 15 | module_lowpan_nhc(nhc_dest); |
| 16 | MODULE_DESCRIPTION("6LoWPAN next header RFC6282 Destination Options compression"); |
| 17 | MODULE_LICENSE("GPL"); |