bond_3ad_set_carrier(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function but she's important, she's the one deciding whether your bond looks alive or absolutely ghosting everyone. let's get into it 🫢


✨ NAME ✨

bond_3ad_set_carrier β€” set link state for bonding master πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

int bond_3ad_set_carrier (struct bonding *bond );

(yes, that space before the closing paren is canon, don't come for her πŸ’…)


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bond β€” the bonding structure πŸ’« that's it. that's the whole argument. she takes one (1) struct and she takes it seriously.

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• and it's genuinely simple:

if we have an active aggregator, we're up. if we don't, we're down. periodt πŸ’€ that's the entire vibe check.

she presumes β€” and this is the important part, bestie, don't skip it πŸ™ˆ β€” that we cannot have an active aggregator if there are no slaves with link up. like, no live slaves = no active aggregator. it's giving main character logic, honestly.

this behavior complies with IEEE 802.3 section 43.3.9 πŸ“œ so like, it's not just a vibe, it's standards-compliant ✨ iconic.

she's called by bond_set_carrier πŸ‘‘ (iykyk).

and the return value? okay so:

  • returns zero if the carrier state does not change (nothing happened, she's unbothered 🌸)
  • returns nonzero if it does change (she ate, and left no crumbs πŸ”₯)

🌈 SEE ALSO 🌈

so like, this function lives in the kernel file ./drivers/net/bonding/bond_3ad.c and it is surrounded by her extended friend group πŸ’œ β€” every single one of these, no cap:


πŸ’€ friendly reminder bestie: this one's kernel-side documentation, so treat the source as the source of truth β€” don't go inventing behavior she didn't promise, okay? 🫢

and that's the whole page, babes πŸŽ€ this little cutie came to you from ./drivers/net/bonding, dated October 2026 β€” stan the kernel docs, they're literally doing the most πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from