LOWPAN_NHC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the lowpan_nhc struct. that's the variable-name spot, periodt. πŸ’…
  • _name β€” a const 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 πŸ¦‹


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