__get_first_agg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __get_first_agg (9) ✨

okay so bestie, welcome to the kernel API manual πŸ’… this one's a little function from the bonding driver and it's honestly kind of a vibe β€” think of it as "who's the first aggregator in this bond?" and it will tell you. let's get into it 🫢


🌸 NAME 🌸

__get_first_agg β€” get the first aggregator in the bond ✨


πŸŽ€ SYNOPSIS πŸŽ€

struct aggregator * __get_first_agg (struct port *port );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the port we're looking at πŸ‘€ like, that's the one you're handing over, no cap.

πŸ’– DESCRIPTION πŸ’–

So what does it do?? It returns the aggregator of the first slave in the bond, or NULL if it can't be found 😭 (yes, NULL is a legit answer here, don't come for me).

⚠️ lowkey important: the caller must hold RCU or RTNL lock. fr fr, that is not optional, that's the whole vibe check for calling this thing πŸ”’

🌈 SEE ALSO 🌈

It's giving "this file is enormous and I know everyone in it" β€” the kernel file is ./drivers/net/bonding/bond_3ad.c and here is the whole squad, no one left out πŸ‘‘


and that's the whole page bestie, you ate that πŸ’… signed, sealed, delivered from ./drivers/net/bonding, dated October 2026 β€” mwah πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from