iPXE
Data Fields
fc_ulp Struct Reference

A Fibre Channel upper-layer protocol. More...

#include <fc.h>

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct fc_peerpeer
 Fibre Channel peer. More...
 
struct list_head list
 List of upper-layer protocols. More...
 
unsigned int type
 Type. More...
 
unsigned int flags
 Flags. More...
 
struct fc_link_state link
 Link state monitor. More...
 
struct interface prli
 PRLI interface. More...
 
void * param
 Service parameters, if any. More...
 
size_t param_len
 Service parameter length. More...
 
struct list_head users
 Active users of this upper-layer protocol. More...
 

Detailed Description

A Fibre Channel upper-layer protocol.

Definition at line 413 of file fc.h.

Field Documentation

◆ refcnt

struct refcnt fc_ulp::refcnt

Reference count.

Definition at line 415 of file fc.h.

Referenced by fc_ulp_create(), fc_ulp_get(), and fc_ulp_put().

◆ peer

struct fc_peer* fc_ulp::peer

◆ list

struct list_head fc_ulp::list

List of upper-layer protocols.

Definition at line 419 of file fc.h.

Referenced by fc_peer_login(), fc_peer_logout(), fc_ulp_close(), fc_ulp_create(), fc_ulp_detach(), fc_ulp_get_type(), and fcpeerstat().

◆ type

unsigned int fc_ulp::type

◆ flags

unsigned int fc_ulp::flags

Flags.

Definition at line 424 of file fc.h.

Referenced by fc_ulp_examine(), fc_ulp_login(), and fc_ulp_logout().

◆ link

struct fc_link_state fc_ulp::link

◆ prli

struct interface fc_ulp::prli

PRLI interface.

Definition at line 429 of file fc.h.

Referenced by fc_els_prli_rx(), fc_els_prli_tx(), fc_ulp_close(), fc_ulp_create(), fc_ulp_examine(), and fc_ulp_prli_done().

◆ param

void* fc_ulp::param

Service parameters, if any.

Definition at line 431 of file fc.h.

Referenced by fc_els_prli_detect(), fc_els_prli_rx(), fc_ulp_login(), fc_ulp_logout(), fcpdev_scsi_command(), and fcpeerstat().

◆ param_len

size_t fc_ulp::param_len

Service parameter length.

Definition at line 433 of file fc.h.

Referenced by fc_ulp_login(), fc_ulp_logout(), fcpdev_scsi_command(), and fcpeerstat().

◆ users

struct list_head fc_ulp::users

Active users of this upper-layer protocol.

As with peers, an upper-layer protocol may be created in response to an unsolicited login request received via the fabric. This list records the number of active users of the ULP; the number of entries in the list is equivalent to the peer usage count.

Definition at line 443 of file fc.h.

Referenced by fc_ulp_attach(), fc_ulp_close(), fc_ulp_create(), fc_ulp_detach(), fc_ulp_login(), and fc_ulp_logout().


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