STRUCT FCOE_RPORT(9)
β¨ 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 π
enum fip_state(9)struct fcoe_ctlr(9)fcoe_ctlr_priv(9)struct fcoe_fcf(9)is_fip_mode(9)struct fcoe_percpu_s(9)struct fcoe_port(9)fcoe_get_netdev(9)struct fcoe_netdev_mapping(9)
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
- 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