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