batadv_print_vid(9)
π 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 β
-1when 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 π«Ά:
- Kernel file
./net/batman-adv/main.hβ the iconic source file, go say hi π BATADV_TP_MAX_NUM(9)enum batadv_mesh_state(9)enum batadv_uev_action(9)enum batadv_uev_type(9)batadv_compare_eth(9)batadv_has_timed_out(9)batadv_atomic_dec_not_zero(9)batadv_smallest_signed_int(9)batadv_seq_before(9)batadv_seq_after(9)batadv_add_counter(9)batadv_inc_counter(9)BATADV_SKB_CB(9)
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
- 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