BATADV_SKB_CB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… BATADV_SKB_CB(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is the BATADV_SKB_CB page and honestly it's a short one but it's iconic in its own little way πŸŽ€


✨ NAME ✨

BATADV_SKB_CB β€” the macro that gets you the batadv_skb_cb out of the skb control buffer. that's the whole job. she's focused. she's employed. πŸ’…


🌸 SYNOPSIS 🌸

BATADV_SKB_CB (__skb );

literally just one argument, no cap. give her the skb and she'll give you the goods ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • __skb β€” the skb holding the control buffer. that's it. that's the whole input. she's not asking for much, just your skb 🫢

🧚 DESCRIPTION 🧚

so like, the members of the control buffer? they're defined in struct batadv_skb_cb over in types.h β€” that's where all the actual shape of the thing lives, go look there if you want the details, i'm just the messenger πŸŽ€

and plot twist: this macro is inspired by the similar macro TCP_SKB_CB in tcp.h. like, it looked at that macro and said "i want that energy." and honestly? it ate. πŸ”₯


⭐ RETURN ⭐

it hands you back a pointer to the batadv_skb_cb of the skb. pointer. to the cb. of the skb. the way that it just... returns exactly what it says it returns πŸ˜­πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

run don't walk, bestie, there's a whole friend group here 🌈:


okay that's the whole page, you're basically a batman-adv girlie now πŸ¦‡βœ¨ mwah πŸ’‹

~ with love, from ./net/batman-adv, dated October 2026 β€” see you in the next manpage, bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from