fcoe_wwn_from_mac(9)
π fcoe_wwn_from_mac β the kernel API manual page, bestie edition
Okay so this is fcoe_wwn_from_mac(9), and it's genuinely such a little icon. It does exactly one thing and does it slay: takes a 48-bit IEEE MAC address and turns it into a 64-bit FC WWN. That's it. That's the whole personality. Periodt.
β¨ NAME β¨
fcoe_wwn_from_mac β converts a 48-bit IEEE MAC address to a 64-bit FC WWN.
Like literally a glow-up for your MAC address. Six bytes in, eight bytes out. Main character transformation arc π¦
πΈ SYNOPSIS πΈ
u64 fcoe_wwn_from_mac (unsigned char mac[ETH_ALEN] , unsigned int scheme
, unsigned int port );
Yup, that's the whole signature β copy it exactly, no improvising, we respect the source π
π ARGUMENTS π
macβ the MAC address you want to convert. It's anunsigned char mac[ETH_ALEN], so a 48-bit IEEE MAC address, and it is the input. The moment. The blueprint π«schemeβ the scheme to use when converting. Like, which flavour of conversion are we doing? That's the scheme's whole job.portβ the port indicator for converting. It's the port vibe check π«Ά
π RETURN π
It returns a u64 β the FC world wide name. Eight bytes of pure destiny. No cap β¨
π SEE ALSO π
Everything lives in the kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c, and here is the full friend group β every single one, no gatekeeping:
fcoe_ctlr_set_state(9)fcoe_ctlr_mtu_valid(9)fcoe_ctlr_fcf_usable(9)fcoe_ctlr_map_dest(9)fcoe_ctlr_init(9)fcoe_sysfs_fcf_add(9)fcoe_sysfs_fcf_del(9)fcoe_ctlr_reset_fcfs(9)fcoe_ctlr_destroy(9)fcoe_ctlr_announce(9)fcoe_ctlr_fcoe_size(9)fcoe_ctlr_solicit(9)fcoe_ctlr_link_up(9)fcoe_ctlr_reset(9)fcoe_ctlr_link_down(9)fcoe_ctlr_send_keep_alive(9)fcoe_ctlr_encaps(9)fcoe_ctlr_els_send(9)fcoe_ctlr_age_fcfs(9)fcoe_ctlr_parse_adv(9)fcoe_ctlr_recv_adv(9)fcoe_ctlr_recv_els(9)fcoe_ctlr_recv_clr_vlink(9)fcoe_ctlr_recv(9)fcoe_ctlr_recv_handler(9)fcoe_ctlr_select(9)fcoe_ctlr_flogi_send_locked(9)fcoe_ctlr_flogi_retry(9)fcoe_ctlr_flogi_send(9)fcoe_ctlr_timeout(9)fcoe_ctlr_timer_work(9)fcoe_ctlr_recv_work(9)fcoe_ctlr_recv_flogi(9)fcoe_ctlr_rport(9)fcoe_ctlr_vn_send(9)fcoe_ctlr_vn_rport_callback(9)fcoe_ctlr_disc_stop_locked(9)fcoe_ctlr_disc_stop(9)fcoe_ctlr_disc_stop_final(9)fcoe_ctlr_vn_restart(9)fcoe_ctlr_vn_start(9)fcoe_ctlr_vn_parse(9)fcoe_ctlr_vn_send_claim(9)fcoe_ctlr_vn_probe_req(9)fcoe_ctlr_vn_probe_reply(9)fcoe_ctlr_vn_add(9)fcoe_ctlr_vn_lookup(9)fcoe_ctlr_vn_claim_notify(9)fcoe_ctlr_vn_claim_resp(9)fcoe_ctlr_vn_beacon(9)fcoe_ctlr_vn_age(9)fcoe_ctlr_vn_recv(9)fcoe_ctlr_vlan_parse(9)fcoe_ctlr_vlan_send(9)fcoe_ctlr_vlan_disc_reply(9)fcoe_ctlr_vlan_recv(9)fcoe_ctlr_disc_recv(9)fcoe_ctlr_vn_disc(9)fcoe_ctlr_vn_timeout(9)fcoe_ctlr_mode_set(9)fcoe_libfc_config(9)
Lowkey a whole friend group chat in ./drivers/scsi/fcoe π§
That's the page, bestie β all sixty of those see-alsos intact, none left on read. This one came from ./drivers/scsi/fcoe, dated October 2026, and it's fcoe_wwn_from_mac(9) forever π
π¦ 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