xref: /linux/net/6lowpan/nhc_ghc_udp.c (revision 288440de9e5fdb4a3ff73864850f080c1250fc81)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  *	6LoWPAN UDP compression according to RFC7400
4  */
5 
6 #include "nhc.h"
7 
8 #define LOWPAN_GHC_UDP_ID_0	0xd0
9 #define LOWPAN_GHC_UDP_MASK_0	0xf8
10 
11 LOWPAN_NHC(ghc_udp, "RFC7400 UDP", NEXTHDR_UDP, 0,
12 	   LOWPAN_GHC_UDP_ID_0, LOWPAN_GHC_UDP_MASK_0, NULL, NULL);
13 
14 module_lowpan_nhc(ghc_udp);
15 MODULE_DESCRIPTION("6LoWPAN generic header UDP compression");
16 MODULE_LICENSE("GPL");
17