batadv_netlink_set_hardif(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk, this is one of those kernel-doc pages from the Kernel API Manual, and it's honestly giving "small function, big friend group" energy. It's batadv_netlink_set_hardif, and yes she's a kernel symbol so she does have a manual page, slay.


✨ NAME ✨

batadv_netlink_set_hardif β€” Set hardif attributes πŸ’… that's it, that's the whole vibe. She sets attributes on a hardif. Iconic behaviour tbh.


πŸ¦‹ SYNOPSIS πŸ¦‹

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

like look at her. returns an int, takes two pointers, does her little thing. no cap. πŸŽ€


🌸 ARGUMENTS 🌸

  • skb β€” the Netlink message with the request data inside it. it's the whole reason we're here, the main character of the packet world fr fr πŸ“¨
  • info β€” the receiver information. it's giving "who's asking and what do they want", and we love her for it 🫢

⭐ RETURN ⭐

Returns 0 on success, or a negative error number if it didn't work out 😭 that's it. binary mood: either slaying or a negative errno. no in-between.


πŸ’œ SEE ALSO πŸ’œ

okay this is the part where she tags the whole group chat in. literally everyone's here, iykyk πŸ‘‘

Also peep the kernel file ./net/batman-adv/netlink.c and enum, and then:

every single one, accounted for. not me being thorough πŸ’€βœ¨


heads up bestie: this page is generated from the kernel source in ./net/batman-adv, and the version we're looking at is dated October 2026. so if the calendar says otherwise, that's just how the kernel docs roll, don't come for me πŸ™ˆ

okay that's the whole page, mwah πŸ’‹ go forth and set those hardif attributes, you absolute legend πŸŒˆπŸ“πŸ§š

πŸ“¦ where this page comes from