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 refcnt fc_peer::refcnt |
Reference count.
Definition at line 342 of file fc.h.
Referenced by fc_peer_create(), fc_peer_get(), and fc_peer_put().
struct list_head fc_peer::list |
List of all peers.
Definition at line 344 of file fc.h.
Referenced by fc_peer_close(), fc_peer_create(), 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_close(), fc_peer_create(), fc_peer_examine(), fc_peer_get_wwn(), fc_peer_login(), fc_peer_logout(), fc_peer_plogi(), fc_ulp_close(), fc_ulp_create(), fc_ulp_examine(), fc_ulp_get_wwn_type(), fc_ulp_login(), fc_ulp_logout(), and fcpeerstat().
struct fc_link_state fc_peer::link |
Link state monitor.
Definition at line 350 of file fc.h.
Referenced by fc_els_prli_rx(), fc_peer_close(), fc_peer_create(), fc_peer_examine(), fc_peer_login(), fc_peer_logout(), fc_port_login(), fc_port_logout(), fc_ulp_examine(), and fcpeerstat().
struct interface fc_peer::plogi |
PLOGI interface.
Definition at line 352 of file fc.h.
Referenced by fc_els_plogi_rx(), fc_peer_close(), fc_peer_create(), fc_peer_plogi(), and fc_peer_plogi_done().
struct fc_port* fc_peer::port |
Fibre Channel port, if known.
Definition at line 354 of file fc.h.
Referenced by fc_peer_examine(), fc_peer_get_port_id(), fc_peer_login(), fc_peer_logout(), fc_ulp_examine(), fcpdev_identify_device(), fcpdev_scsi_command(), and fcpeerstat().
struct fc_port_id fc_peer::port_id |
Peer port ID, if known.
Definition at line 356 of file fc.h.
Referenced by fc_peer_get_port_id(), fc_peer_login(), fc_port_login(), fc_ulp_examine(), fcpdev_scsi_command(), and fcpeerstat().
struct list_head fc_peer::ulps |
List of upper-layer protocols.
Definition at line 359 of file fc.h.
Referenced by fc_peer_close(), fc_peer_create(), fc_peer_login(), fc_peer_logout(), fc_ulp_create(), fc_ulp_get_type(), and fcpeerstat().
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.
Definition at line 369 of file fc.h.
Referenced by fc_peer_decrement(), fc_peer_increment(), and fc_peer_logout().