__get_duplex(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __get_duplex(9) β€” Kernel API Manual πŸ’…

hey bestie 🌸 welcome to the Kernel API Manual page for __get_duplex(9). this is the bonding/3ad helper that tells you a port's duplex, and we're gonna read it together, no cap.


✨ NAME ✨

__get_duplex β€” get a port's duplex πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

u8 __get_duplex (struct port *port );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the port we're looking at πŸ‘€

πŸ’œ DESCRIPTION πŸ’œ

okay so this function returns port's duplex in 802.3ad bitmask format. i.e.: 0x01 if in full duplex, 0x00 otherwise. that's the whole vibe β€” literally the bitmask truth, no extra lore. ✨

🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/bonding/bond_3ad.c β€” and the whole bonding/3ad cinematic universe is right here, bestie:


okay bye bestie 🫢 this has been __get_duplex(9) β€” source/version: ./drivers/net/bonding; date: October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from