fcoe_get_netdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ fcoe_get_netdev(9) ✨

okay so this is from the Kernel API Manual bestie, and it's literally the whole "which net device does this port belong to" situation 🫢


πŸ’– NAME πŸ’–

fcoe_get_netdev β€” bestie, it returns the net device that's associated with a local port, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

struct net_device * fcoe_get_netdev (const struct fc_lport *lport );

like, you hand it an lport and it hands you back a struct net_device *, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • lport β€” the local port you're pulling the net device from πŸ¦‹ this is your main character input, the one you gotta give it

πŸ’œ RETURN πŸ’œ

it returns the net_device that's associated with this lport 😭 like that's it, that's the whole gift, the net device for your local port, slay πŸ‘‘


🌈 SEE ALSO 🌈

  • Kernel file ./include/scsi/libfcoe.h
  • enum fip_state(9)
  • struct fcoe_ctlr(9)
  • fcoe_ctlr_priv(9)
  • struct fcoe_fcf(9)
  • struct fcoe_rport(9)
  • is_fip_mode(9)
  • struct fcoe_percpu_s(9)
  • struct fcoe_port(9)
  • struct fcoe_netdev_mapping(9)

like go read the whole friend group, they all hang out together in ./include/scsi/libfcoe.h fr fr 🧚


no thoughts just struct net_device *, obsessed πŸ“

kk that's the page!! πŸ’– it lives under ./include/scsi, dated October 2026, and yeah the version/source is literally that path and that date β€” iconic, periodt 🌟

πŸ“¦ where this page comes from