batadv_netl...d_get_hardif(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

batadv_netlink_cmd_get_hardif β€” bestie, this one gets the hardif attributes ✨

So like, if you're hanging out in the batman-adv netlink world (from the Kernel API Manual, iykyk 🫢) and you need the hardif attributes fetched, this is the little function that does it.


πŸŽ€ SYNOPSIS πŸŽ€

int batadv_netlink_cmd_get_hardif (struct sk_buff *skb , struct
genl_info *info );

🌸 ARGUMENTS 🌸

  • skb β€” the netlink message carrying the request data, aka the whole reason we're here πŸ’Œ
  • info β€” the receiver information. yes that's literally what it's called, she's the receiver info, she received πŸ’…

⭐ RETURN ⭐

0 on success, or a negative error number if it didn't work out 😭 (no cap, that's the whole return contract)


πŸ¦‹ SEE ALSO πŸ¦‹

Okay so the kernel file we're living in is ./net/batman-adv/netlink.c, and there's also an enum situation going on. Here's the full friend group, no one gets left out:


and that's the page, bestie 🌈 this whole thing is just chillin' in ./net/batman-adv and the version vibes are dated October 2026 β€” go read the batman-adv source if you wanna see her in her natural habitat, ily, bye πŸŽ€πŸ’–

πŸ“¦ where this page comes from