lowpan_fetch_skb(9)
π lowpan_fetch_skb(9) π
okay so real talk, bestie β welcome to the Kernel API Manual β¨ this page is all about <pink>lowpan_fetch_skb</pink>, and honestly? she's a tiny little function with one very specific job and she does it slayfully π
πΈ NAME πΈ
lowpan_fetch_skb β the girl who gets that inline data out of a 6LoWPAN header π
β¨ SYNOPSIS β¨
bool lowpan_fetch_skb (struct sk_buff *skb , void *data , unsigned int
len );
like yes, she returns a bool, and no, we are not being normal about it π«Ά
π¦ ARGUMENTS π¦
skbβ the buffer where the inline data should be pulled from. that's the source, the origin, the main character in this little story πdataβ destination buffer for the inline data. the little home the data moves into πlenβ amount of data which should be pulled, in bytes. yes, bytes, we're measuring in bytes, keep up bestie π
π DESCRIPTION π
so here's the vibe: this function pulls data from the sk buffer and puts it into data, and the whole reason it exists is to remove the 6LoWPAN inline data π like it's literally the cleanup crew, taking the inline data out of your header so you don't have to think about it. iconic behaviour, no notes.
and here's the plot twist π β this function returns true if the sk buffer is too small to pull the amount of data which is specified by len. like, true is not the happy ending here, it's the "girl the buffer is not big enough" ending π so fr fr, check that return value, do not ignore her.
ngl, atruecoming back from this one is your signal thatlenasked for more than the buffer could give. read it, respect it, handle it π
π₯ SEE ALSO π₯
- Kernel file
./include/net/6lowpan.hβ go read the header, iykyk π lowpan_header_decompress(9)π«lowpan_header_compress(9)π«
like the whole friend group is right there, go say hi π§
and that's the page!! mwah π this little manpage came from ./include/net and she's dated October 2026 β shoutout to the source, shoutout to the date, periodt πβ¨π
π¦ 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