phylink_set_fixed_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual ✨ this one's from phylink_set_fixed_link(9) and it's lowkey a little icon β€” no cap.


🌸 NAME 🌸

phylink_set_fixed_link β€” set the fixed link πŸŽ€


✨ SYNOPSIS ✨

int phylink_set_fixed_link (struct phylink *pl , const struct
       phylink_link_state *state );

🫢 ARGUMENTS 🫢

  • pl β€” a pointer to a struct phylink returned from phylink_create πŸ’– like, that's your whole phylink handle, bestie.
  • state β€” a pointer to a struct phylink_link_state. that's the link state struct, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this function is the one you reach for when the link parameters are already known and they do not change πŸ‘‘ it's literally built for that. which makes it suitable for certain types of network connections β€” iykyk ✨


🌈 RETURN 🌈

zero on success πŸŽ‰ or a negative error code 😭 (so like, check it, fr fr).


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/phy/phylink.c β€” plus the whole friend group:


that's the whole page, bestie, you ate that πŸ“πŸ’œ mwah πŸ’‹

sign-off time: this lil masterpiece lives under ./drivers/net/phy, dated October 2026, and it's filed as phylink_set_fixed_link(9) ✨ go forth and set those fixed links πŸ§šβ€β™€οΈπŸ’…

πŸ“¦ where this page comes from