iPXE
Data Fields
fc_peer Struct Reference

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_portport
 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...
 

Detailed Description

A Fibre Channel peer.

Definition at line 340 of file fc.h.

Field Documentation

◆ refcnt

struct refcnt fc_peer::refcnt

Reference count.

Definition at line 342 of file fc.h.

◆ list

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().

◆ port_wwn

struct fc_name fc_peer::port_wwn

◆ link

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().

◆ plogi

struct interface fc_peer::plogi

PLOGI interface.

Definition at line 352 of file fc.h.

Referenced by fc_els_plogi_rx().

◆ port

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().

◆ port_id

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().

◆ ulps

struct list_head fc_peer::ulps

List of upper-layer protocols.

Definition at line 359 of file fc.h.

◆ usage

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.


The documentation for this struct was generated from the following file: