fcoe_get_netdev(9)
β¨ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms