batadv_bla_is_backbone_gw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_bla_is_backbone_gw(9) ✨

okay bestie, welcome to the Kernel API Manual page for batadv_bla_is_backbone_gw(9) β€” yes, that whole mouthful is the name, and yes, we are going to make it make sense. πŸ’…

πŸ’– NAME πŸ’–

batadv_bla_is_backbone_gw β€” check if originator is a backbone gw for a VLAN

🌸 SYNOPSIS 🌸

bool batadv_bla_is_backbone_gw (struct sk_buff *skb , struct batadv_orig_node *orig_node , int hdr_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the frame to be checked
  • orig_node β€” the orig_node of the frame
  • hdr_size β€” maximum length of the frame

πŸ¦‹ DESCRIPTION πŸ¦‹

So the whole vibe here is a warning, and it is not a skip-it situation, fr fr:

⚠️ Warning: this function may reallocate the skb data buffer via pskb_may_pull/batadv_get_vid/... Any pointer into the skb data β€” like one you got from skb->data or eth_hdr β€” must be considered invalid afterwards and has to be reacquired. No cap, reacquire it. 😭

πŸ”₯ RETURN πŸ”₯

It returns true if the orig_node is also a gateway on the mesh interface; otherwise it returns false. Periodt. πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file: ./net/batman-adv/bridge_loop_avoidance.c

The whole BLA bestie squad:

xoxo, your Unix bestie πŸ’– β€” from ./net/batman-adv, October 2026, page batadv_bla_is_backbone_gw(9).

πŸ“¦ where this page comes from