Commit | Line | Data |
---|---|---|
2874c5fd | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
c39da3bb SS |
2 | /* |
3 | * 6LoWPAN ICMPv6 compression according to RFC7400 | |
c39da3bb SS |
4 | */ |
5 | ||
6 | #include "nhc.h" | |
7 | ||
c39da3bb SS |
8 | #define LOWPAN_GHC_ICMPV6_ID_0 0xdf |
9 | #define LOWPAN_GHC_ICMPV6_MASK_0 0xff | |
10 | ||
c39da3bb | 11 | LOWPAN_NHC(ghc_icmpv6, "RFC7400 ICMPv6", NEXTHDR_ICMP, 0, |
31264f95 | 12 | LOWPAN_GHC_ICMPV6_ID_0, LOWPAN_GHC_ICMPV6_MASK_0, NULL, NULL); |
c39da3bb SS |
13 | |
14 | module_lowpan_nhc(ghc_icmpv6); | |
15 | MODULE_DESCRIPTION("6LoWPAN generic header ICMPv6 compression"); | |
16 | MODULE_LICENSE("GPL"); |