STRUCT FCOE_RPORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct fcoe_rport(9) ✨

okay so this is a page from the Kernel API Manual, and it's literally all about struct fcoe_rport β€” the VN2VN remote port πŸ¦‹ bestie, we're in libfc/FCoE land now, and it's giving very much "niche but iconic" iykyk πŸ’…


🌸 NAME 🌸

struct fcoe_rport β€” VN2VN remote port. that's it, that's the whole vibe. one struct, one purpose, no cap ✨


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole layout, copied exactly because we do not freestyle struct definitions in this house 🫢

struct fcoe_rport {
    struct fc_rport_priv rdata;
    unsigned long time;
    u16 fcoe_len;
    u16 flags;
    u8 login_count;
    u8 enode_mac[ETH_ALEN];
    u8 vn_mac[ETH_ALEN];
 };

πŸ‘‘ Members πŸ‘‘

okay so every field gets its moment, bestie. no skipping, no summarising, we're doing all seven 🌈

  • rdata β€” libfc remote port private data. like, the actual libfc payload living rent-free inside this thing πŸ’œ
  • time β€” time of create, or the time of the last beacon packet received from the node. so it's either a birthday or a "last seen" timestamp, main character energy either way ⭐
  • fcoe_len β€” max FCoE frame size β€” and note bestie, this does not include the VLAN or Ethernet headers. those are separate, don't come for this field πŸ™ˆ
  • flags β€” flags that came from probe or claim πŸ”₯
  • login_count β€” number of unsuccessful rport logins to this port. yes, we're counting the L's. it's giving sad but necessary 😭
  • enode_mac β€” E_Node control MAC address πŸŽ€
  • vn_mac β€” VN_Node assigned MAC address, used for data πŸ‘‘

πŸ” SEE ALSO πŸ”

go read these too, they're all in the kernel file ./include/scsi/libfcoe.h and honestly it's a whole friend group πŸ’–


ngl bestie, if you're poking at VN2VN remote ports you're already kind of a legend, so like… slay? πŸ’…βœ¨

and that's the page! it lives at ./include/scsi, dated October 2026 β€” periodt, go touch some FCoE πŸ¦‹πŸ“

πŸ“¦ where this page comes from