batadv_meshif_create_vlan(9)
π batadv_meshif_create_vlan(9) β the Kernel API Manual, bestie edition π
okay so this is a page straight out of the Kernel API Manual, and it's about batadv_meshif_create_vlan. yes, that's a whole mouthful, but like... it's lowkey iconic? iykyk.
β¨ NAME β¨
batadv_meshif_create_vlan β allocate the needed resources for a new vlan
like, it literally sets up all the stuff a brand-new vlan needs to exist. the way that it just... allocates. we love a resource-giving king π
π¦ SYNOPSIS π¦
int batadv_meshif_create_vlan (struct batadv_priv *bat_priv , unsigned
short vid );
that's the whole signature, no notes, no cap β¨
πΈ ARGUMENTS πΈ
bat_privβ the bat priv with all the mesh interface information. it's giving main character energy because it's holding all the mesh interface info fr fr π«Άvidβ the VLAN identifier. literally just the vid. that's it. that's the whole vibe check π
β RETURN β
0 on success, a negative error otherwise.
so like, zero means slay, anything negative means... not slay π keep an eye on that return value bestie, it's telling you something.
π₯ SEE ALSO π₯
okay this list is LONG, like genuinely obsessed with how many friends this function has π the kernel file itself lives at ./net/batman-adv/mesh-interface.c, and here's everyone else in the group chat:
batadv_skb_head_push(9)batadv_sum_counter(9)batadv_interface_stats(9)batadv_interface_set_mac_addr(9)batadv_interface_change_mtu(9)batadv_interface_set_rx_mode(9)batadv_interface_tx(9)batadv_interface_rx(9)batadv_meshif_vlan_release(9)batadv_meshif_vlan_get(9)batadv_meshif_destroy_vlan(9)batadv_interface_add_vid(9)batadv_interface_kill_vid(9)batadv_set_lockdep_class_one(9)batadv_set_lockdep_class(9)batadv_meshif_init_late(9)batadv_meshif_slave_add(9)batadv_meshif_slave_del(9)batadv_get_drvinfo(9)batadv_get_strings(9)batadv_get_ethtool_stats(9)batadv_get_sset_count(9)batadv_meshif_free(9)batadv_meshif_init_early(9)batadv_meshif_validate(9)batadv_meshif_newlink(9)batadv_meshif_destroy_netlink(9)batadv_meshif_is_valid(9)
twenty-eight of them. twenty-eight!! ate and left no crumbs ππ
and that's the whole page, bestie π§π it came from the manpage source living at ./net/batman-adv, dated October 2026, in the Kernel API Manual β go off, mesh networking, you absolute legend π
π¦ 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