lowpan_header_decompress(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ lowpan_header_decompress(9) πŸ¦‹ β€” from the Kernel API Manual

πŸŽ€ NAME πŸŽ€

lowpan_header_decompress β€” replace 6LoWPAN header with IPv6 header. Yup, that's the whole vibe: header swap, but make it IPv6 ✨

✨ SYNOPSIS ✨

int lowpan_header_decompress (struct sk_buff *skb , const struct
       net_device *dev , const void *daddr , const void *saddr );

πŸ’… ARGUMENTS πŸ’…

okay bestie, here's the cast:

  • skb β€” the buffer that should be manipulated. That's the one getting the header treatment πŸ’…
  • dev β€” the lowpan net device pointer.
  • daddr β€” destination lladdr of the mac header; the compression methods use it.
  • saddr β€” source lladdr of the mac header; the compression methods use it.

🫢 DESCRIPTION 🫢

This function takes the IPHC 6LoWPAN header that's pointed at by skb->data and skb_network_header, and replaces it with the IPv6 header. Iconic, no cap. πŸ’–

It would be nice if the caller already has the necessary headroom for the IPv6 header plus the greatest Transport layer header β€” because that lowkey reduces the overhead of reallocating headroom. Think of it as a nice-to-have, not a demand πŸŽ€

🌈 SEE ALSO 🌈

go read those too, bestie β€” iykyk πŸ’œ

bye bestie πŸ’• β€” source/version: ./include/net; dated October 2026; lowpan_header_decompress(9) out. πŸŽ€

πŸ“¦ where this page comes from