xref: /linux/net/6lowpan/nhc_ipv6.c (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  *	6LoWPAN IPv6 Header compression according to RFC6282
4  */
5 
6 #include "nhc.h"
7 
8 #define LOWPAN_NHC_IPV6_ID_0	0xee
9 #define LOWPAN_NHC_IPV6_MASK_0	0xfe
10 
11 LOWPAN_NHC(nhc_ipv6, "RFC6282 IPv6", NEXTHDR_IPV6, 0, LOWPAN_NHC_IPV6_ID_0,
12 	   LOWPAN_NHC_IPV6_MASK_0, NULL, NULL);
13 
14 module_lowpan_nhc(nhc_ipv6);
15 MODULE_DESCRIPTION("6LoWPAN next header RFC6282 IPv6 compression");
16 MODULE_LICENSE("GPL");
17