ENUM BATADV_GENL_OPS_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for enum batadv_genl_ops_flags(9) β€” literally the flags for genl_ops's internal_flags, no cap. It's giving "small enum, very important netlink energy" ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

enum batadv_genl_ops_flags {
    BATADV_FLAG_NEED_MESH ,
    BATADV_FLAG_NEED_HARDIF ,
    BATADV_FLAG_NEED_VLAN

};

πŸŽ€ Constants πŸŽ€

  • BATADV_FLAG_NEED_MESH β€” request requires valid mesh interface in attribute BATADV_ATTR_MESH_IFINDEX and expects a pointer to it to be saved in info->user_ptr[0] πŸ’…
  • BATADV_FLAG_NEED_HARDIF β€” request requires valid hard interface in attribute BATADV_ATTR_HARD_IFINDEX and expects a pointer to it to be saved in info->user_ptr[1] 🌸
  • BATADV_FLAG_NEED_VLAN β€” request requires valid vlan in attribute BATADV_ATTR_VLANID and expects a pointer to it to be saved in info->user_ptr[1] 🫢
not me being obsessed with the way these flags just require valid things and then save pointers in info->user_ptr[…] β€” iconic behavior, fr fr 😭

🌈 SEE ALSO 🌈

Kernel file ./net/batman-adv/netlink.c (enum) β€” the place this lives, periodt:


xoxo, signed off by the ./net/batman-adv source/version girlies, October 2026 edition β€” slay πŸ’…πŸŒˆπŸŽ€

πŸ“¦ where this page comes from