LOWPAN_NHC(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual page for LOWPAN_NHC(9) β it's the helper macro that generates nh id fields and the lowpan_nhc struct. no cap, it's giving very specific setup energy and we're obsessed. β¨
β¨ SYNOPSIS β¨
LOWPAN_NHC (__nhc , _name , _nexthdr , _hdrlen , _id , _idmask ,
_uncompress , _compress );
lowkey that's the whole shape of it β the macro and its argument lineup, exactly like that. π
π ARGUMENTS π
__nhcβ variable name of thelowpan_nhcstruct. that's the variable-name spot, periodt. π_nameβ aconst char *of the common header compression name. string moment, fr fr. πΈ_nexthdrβ the ipv6 nexthdr field for the header compression. yep, that field. π¦_hdrlenβ the ipv6 nexthdr len for the reserved space. keep it in mind bestie. β_idβ one byte nhc id value. one byte, exactly. π_idmaskβ one byte nhc id mask value. also one byte, also iconic. π_uncompressβ callback for uncompression call. callback vibes. π§_compressβ callback for compression call. callback vibes again, slay. π₯
bestie, the parameter order is literally right there in the synopsis β don't freestyle it. π
π¦ SEE ALSO π¦
- Kernel file
./net/6lowpan/nhc.h struct lowpan_nhc(9)lowpan_nhc_by_nexthdr(9)lowpan_nhc_check_compression(9)lowpan_nhc_do_compression(9)lowpan_nhc_do_uncompression(9)lowpan_nhc_add(9)lowpan_nhc_del(9)lowpan_nhc_init(9)
mwah π β source/version is ./net/6lowpan, dated October 2026, and this whole page is LOWPAN_NHC(9). bye bestie, go be iconic with your nh id fields π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms