fcoe_wwn_from_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an unsigned 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:

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