From 8e718df5e1e18cca3ab204e9344ed2a76e6ed276 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 4 Nov 2010 03:31:15 +0000 Subject: [fc] Add support for Fibre Channel name server lookups Signed-off-by: Michael Brown --- src/include/ipxe/fc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/ipxe/fc.h') diff --git a/src/include/ipxe/fc.h b/src/include/ipxe/fc.h index 8dbc19e7f..3a80d56c9 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, }; /** -- cgit v1.2.3-55-g7522