batadv_hard_if_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_hard_if_event(9) β€” like, the kernel API manual bestie ✨

okay so real talk, you're reading the Kernel API Manual page for batadv_hard_if_event, and honestly? she's giving "quiet but crucial". let's get into it πŸŽ€


🌸 NAME

batadv_hard_if_event β€” the netdevice notifier callback for hard interfaces, periodt.

✨ SYNOPSIS

int batadv_hard_if_event (struct notifier_block *this , unsigned long
event , void *ptr );

🫢 ARGUMENTS

  • this β€” the notifier block. lowkey she's just there vibing, literally unused πŸ’€
  • event β€” the NETDEV_* event we're handling. main character energy, this is the actual occasion.
  • ptr β€” notifier info, pointing right at the affected net_device. she knows exactly which interface we're talking about πŸ‘‘

πŸ¦‹ DESCRIPTION

So here's the vibe: this function dispatches netdevice events that affect potential or existing hard interfaces. that's it, that's the job πŸ’–

but bestie, important note β€” mesh interfaces are handled separately, by batadv_hard_if_event_meshif. don't come for her, they're different departments, iykyk. 🌈

⭐ RETURN

NOTIFY_DONE β€” and that's on doing your part and handing the notification chain back politely 🫑

no cap, it just returns NOTIFY_DONE, no drama, no complications. we love a low-maintenance return value πŸ™ˆ

πŸ‘‘ SEE ALSO

Kernel file ./net/batman-adv/hard-interface.c and her entire friend group:


and that's the page!! πŸ’œ this lil beauty lives out of ./net/batman-adv and was dated October 2026 β€” go off, hard-interface.c, we're obsessed 🧚✨

πŸ“¦ where this page comes from