iPXE
|
A Fibre Channel peer. More...
#include <fc.h>
Data Fields | |
struct refcnt | refcnt |
Reference count. More... | |
struct list_head | list |
List of all peers. More... | |
struct fc_name | port_wwn |
Port name. More... | |
struct fc_link_state | link |
Link state monitor. More... | |
struct interface | plogi |
PLOGI interface. More... | |
struct fc_port * | port |
Fibre Channel port, if known. More... | |
struct fc_port_id | port_id |
Peer port ID, if known. More... | |
struct list_head | ulps |
List of upper-layer protocols. More... | |
unsigned int | usage |
Active usage count. More... | |
struct list_head fc_peer::list |
List of all peers.
Definition at line 344 of file fc.h.
Referenced by fc_peer_get_port_id(), fc_peer_get_wwn(), fc_port_login(), fc_port_logout(), and fcstat_exec().
struct fc_name fc_peer::port_wwn |
Port name.
Definition at line 347 of file fc.h.
Referenced by fc_ns_query(), fc_ns_query_deliver(), fc_ns_query_step(), fc_peer_create(), fc_peer_get_wwn(), fc_ulp_close(), fc_ulp_create(), fc_ulp_examine(), fc_ulp_get_wwn_type(), fc_ulp_login(), and fc_ulp_logout().
struct fc_link_state fc_peer::link |
Link state monitor.
Definition at line 350 of file fc.h.
Referenced by fc_els_prli_rx(), and fc_ulp_examine().
struct interface fc_peer::plogi |
struct fc_port* fc_peer::port |
Fibre Channel port, if known.
Definition at line 354 of file fc.h.
Referenced by fc_ulp_examine(), fcpdev_identify_device(), and fcpdev_scsi_command().
struct fc_port_id fc_peer::port_id |
Peer port ID, if known.
Definition at line 356 of file fc.h.
Referenced by fc_port_login(), fc_ulp_examine(), and fcpdev_scsi_command().
unsigned int fc_peer::usage |
Active usage count.
A peer (and attached ULPs) may be created in response to unsolicited login requests received via the fabric. We track our own active usage count independently of the existence of the peer, so that if the peer becomes logged out (e.g. due to a link failure) then we know whether or not we should attempt to relogin.