Merge tag 'x86_platform_for_v6.1_rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-rpi.git] / net / 6lowpan / nhc_ghc_icmpv6.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  *      6LoWPAN ICMPv6 compression according to RFC7400
4  */
5
6 #include "nhc.h"
7
8 #define LOWPAN_GHC_ICMPV6_ID_0          0xdf
9 #define LOWPAN_GHC_ICMPV6_MASK_0        0xff
10
11 LOWPAN_NHC(ghc_icmpv6, "RFC7400 ICMPv6", NEXTHDR_ICMP, 0,
12            LOWPAN_GHC_ICMPV6_ID_0, LOWPAN_GHC_ICMPV6_MASK_0, NULL, NULL);
13
14 module_lowpan_nhc(ghc_icmpv6);
15 MODULE_DESCRIPTION("6LoWPAN generic header ICMPv6 compression");
16 MODULE_LICENSE("GPL");