lowpan_header_decompress(9)
π¦ 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β destinationlladdrof the mac header; the compression methods use it.saddrβ sourcelladdrof 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 π
- Kernel file
./include/net/6lowpan.h lowpan_fetch_skb(9)lowpan_header_compress(9)
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
- 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