fcoe_if_to_netdev(9)
π fcoe_if_to_netdev(9) β it's giving "Kernel API Manual", section 9 π
okay so bestie, welcome to the Kernel API Manual, section 9 β yes, the big-girl kernel internals section π§ this one's all about fcoe_if_to_netdev, and it's honestly such a little workhorse, like the unpaid intern of the FCoE world but make it iconic β¨
πΈ NAME πΈ
fcoe_if_to_netdev β literally just: parse a name buffer to get a net device π¦ that's it, that's the whole job
β¨ SYNOPSIS β¨
struct net_device * fcoe_if_to_netdev (const char *buffer );
like, you hand it a string, and it hands you back a struct net_device *. simple as π«Ά
π ARGUMENTS π
bufferβ the name of the net device π yeah, the string-y name thing, that's what goes in here, no cap
π RETURN π
Returns NULL or a ptr to net_device π so likeβ¦ prepare yourself for either outcome, bestie. it either finds your device or it doesn't, and there's no in-between.
π₯ SEE ALSO π₯
lowkey the whole friend group shows up here, so let's give them all their moment π
First up, the actual file where this lives β Kernel file ./drivers/scsi/fcoe/fcoe_transport.c π
Then the rest of the crew, each one literally serving:
fcoe_link_speed_update(9)__fcoe_get_lesb(9)fcoe_get_lesb(9)fcoe_ctlr_get_lesb(9)fcoe_validate_vport_create(9)fcoe_get_wwn(9)fcoe_fc_crc(9)fcoe_start_io(9)fcoe_clean_pending_queue(9)fcoe_check_wait_queue(9)fcoe_queue_timer(9)fcoe_get_paged_crc_eof(9)fcoe_transport_lookup(9)fcoe_transport_attach(9)fcoe_transport_detach(9)fcoe_netdev_map_lookup(9)libfcoe_device_notification(9)fcoe_transport_create(9)fcoe_transport_destroy(9)fcoe_transport_disable(9)fcoe_transport_enable(9)libfcoe_init(9)libfcoe_exit(9)
like, twenty-three of them. they all ate. no crumbs. ππ₯
ngl, double-check the little (9) on each one before you go looking β that's the section number and it matters, bestie π«Ά
okay that's the page, mwah π this little cutie is brought to you by the source path ./drivers/scsi/fcoe, and the date stamp is October 2026 β β the section is 9, the doc is fcoe_if_to_netdev(9), and she's 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