iPXE
Data Fields
fc_ulp Struct Reference

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

#include <fc.h>

Data Fields

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

Detailed Description

A Fibre Channel upper-layer protocol.

Definition at line 413 of file fc.h.


Field Documentation

Reference count.

Definition at line 415 of file fc.h.

Referenced by fc_ulp_create().

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

unsigned int fc_ulp::type
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().

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

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

Service parameter length.

Definition at line 433 of file fc.h.

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

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: