162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci *	6LoWPAN IPv6 Fragment Header compression according to RFC6282
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#include "nhc.h"
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#define LOWPAN_NHC_FRAGMENT_ID_0	0xe4
962306a36Sopenharmony_ci#define LOWPAN_NHC_FRAGMENT_MASK_0	0xfe
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciLOWPAN_NHC(nhc_fragment, "RFC6282 Fragment", NEXTHDR_FRAGMENT, 0,
1262306a36Sopenharmony_ci	   LOWPAN_NHC_FRAGMENT_ID_0, LOWPAN_NHC_FRAGMENT_MASK_0, NULL, NULL);
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cimodule_lowpan_nhc(nhc_fragment);
1562306a36Sopenharmony_ciMODULE_DESCRIPTION("6LoWPAN next header RFC6282 Fragment compression");
1662306a36Sopenharmony_ciMODULE_LICENSE("GPL");
17