162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci *	6LoWPAN Extension Header compression according to RFC7400
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#include "nhc.h"
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#define LOWPAN_GHC_EXT_FRAG_ID_0	0xb4
962306a36Sopenharmony_ci#define LOWPAN_GHC_EXT_FRAG_MASK_0	0xfe
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciLOWPAN_NHC(ghc_ext_frag, "RFC7400 Fragmentation Extension Header",
1262306a36Sopenharmony_ci	   NEXTHDR_FRAGMENT, 0, LOWPAN_GHC_EXT_FRAG_ID_0,
1362306a36Sopenharmony_ci	   LOWPAN_GHC_EXT_FRAG_MASK_0, NULL, NULL);
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_cimodule_lowpan_nhc(ghc_ext_frag);
1662306a36Sopenharmony_ciMODULE_DESCRIPTION("6LoWPAN generic header fragmentation extension compression");
1762306a36Sopenharmony_ciMODULE_LICENSE("GPL");
18