Merge tag 'iomap-6.4-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[platform/kernel/linux-starfive.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");