diff options
author | Michael Brown <mcb30@ipxe.org> | 2010-11-04 03:31:15 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2010-11-08 03:35:36 +0000 |
commit | 8e718df5e1e18cca3ab204e9344ed2a76e6ed276 (patch) | |
tree | 1df7a834971c55c89f1ea97c86a83af08649fc73 /src/include/ipxe/fc.h | |
parent | 41231fda9c6989c2e1fcc41abef307531926a804 (diff) | |
download | ipxe-8e718df5e1e18cca3ab204e9344ed2a76e6ed276.zip ipxe-8e718df5e1e18cca3ab204e9344ed2a76e6ed276.tar.gz ipxe-8e718df5e1e18cca3ab204e9344ed2a76e6ed276.tar.bz2 |
[fc] Add support for Fibre Channel name server lookups
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/fc.h')
-rw-r--r-- | src/include/ipxe/fc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ipxe/fc.h b/src/include/ipxe/fc.h index 8dbc19e..3a80d56 100644 --- a/src/include/ipxe/fc.h +++ b/src/include/ipxe/fc.h @@ -64,6 +64,7 @@ struct sockaddr_fc { extern struct fc_port_id fc_empty_port_id; extern struct fc_port_id fc_f_port_id; +extern struct fc_port_id fc_gs_port_id; extern struct fc_port_id fc_ptp_low_port_id; extern struct fc_port_id fc_ptp_high_port_id; @@ -190,6 +191,7 @@ enum fc_type { FC_TYPE_BLS = 0x00, /**< Basic Link Service */ FC_TYPE_ELS = 0x01, /**< Extended Link Service */ FC_TYPE_FCP = 0x08, /**< Fibre Channel Protocol */ + FC_TYPE_CT = 0x20, /**< Common Transport */ }; /** Fibre Channel Frame Control - Exchange and Sequence */ @@ -277,6 +279,9 @@ struct fc_port { /** Link port ID (for point-to-point links only) */ struct fc_port_id ptp_link_port_id; + /** Name server PLOGI interface */ + struct interface ns_plogi; + /** List of active exchanges */ struct list_head xchgs; }; @@ -285,6 +290,8 @@ struct fc_port { enum fc_port_flags { /** Port is attached to a fabric */ FC_PORT_HAS_FABRIC = 0x0001, + /** Port is logged in to a name server */ + FC_PORT_HAS_NS = 0x0002, }; /** |