batadv_print_vid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_print_vid(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for batadv_print_vid(9) β€” yes that's the header, yes it's the whole title, and yes we're about to make a tiny kernel helper feel like main character energy ✨


🌸 NAME 🌸

batadv_print_vid β€” returns the printable version of vid information, periodt πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_print_vid (unsigned short vid );

like, that's it. one (1) function. she's small, she's focused, she slays πŸŽ€

πŸ“ ARGUMENTS πŸ“

  • vid β€” the VLAN identifier, bestie. that's the whole vibe check on this one πŸ™ˆ

⭐ RETURN ⭐

  • -1 when no VLAN is used 😭
  • the VLAN id otherwise πŸ₯³

so basically: no VLAN β†’ -1, VLAN β†’ the actual id. no cap, that's the whole return contract πŸ”₯

ngl this is the easiest return value you'll ever read. no tricks, no gotchas, just vibes and an int.

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, assembled 🫢:

like literally, that's a full roster. click through them, iykyk πŸ’œ


and that's the page, bestie πŸ’– cute little sign-off time: this one lives in ./net/batman-adv, and the date on it is October 2026 πŸ—“οΈβœ¨ go forth and print your vids πŸ’…

πŸ“¦ where this page comes from