srp_device Struct Reference

An SRP device. More...

#include <srp.h>


Data Fields

struct refcnt refcnt
 Reference count.
struct srp_port_ids port_ids
 Initiator and target port IDs.
struct scsi_lun lun
 Logical unit number.
uint32_t memory_handle
 Memory handle.
unsigned int state
 Current state.
unsigned int retry_count
 Retry counter.
struct scsi_commandcommand
 Current SCSI command.
struct xfer_interface socket
 Underlying data transfer interface.
struct srp_transport_typetransport
 Transport type.
char transport_priv [0]
 Transport private data.


Detailed Description

An SRP device.

Definition at line 812 of file srp.h.


Field Documentation

struct refcnt srp_device::refcnt [read]

Reference count.

Definition at line 814 of file srp.h.

Referenced by srp_attach().

Initiator and target port IDs.

Definition at line 817 of file srp.h.

Referenced by ib_srp_parse_root_path(), sbft_fill_data(), and srp_login().

struct scsi_lun srp_device::lun [read]

Logical unit number.

Definition at line 819 of file srp.h.

Referenced by ib_srp_parse_root_path(), sbft_fill_data(), and srp_cmd().

Memory handle.

Definition at line 821 of file srp.h.

Referenced by ib_srp_connect(), and srp_cmd().

unsigned int srp_device::state

Current state.

This is the bitwise-OR of zero or more SRP_STATE_XXX flags.

Definition at line 828 of file srp.h.

Referenced by srp_cmd(), srp_command(), srp_fail(), srp_login(), and srp_login_rsp().

Retry counter.

Definition at line 830 of file srp.h.

Referenced by srp_fail(), and srp_login_rsp().

Current SCSI command.

Definition at line 832 of file srp.h.

Referenced by srp_cmd(), srp_command(), srp_rsp(), and srp_scsi_done().

Underlying data transfer interface.

Definition at line 835 of file srp.h.

Referenced by ib_srp_connect(), srp_attach(), srp_cmd(), srp_detach(), srp_fail(), srp_login(), srp_xfer_close(), and srp_xfer_deliver_iob().

Transport type.

Definition at line 838 of file srp.h.

Referenced by sbft_fill_data(), srp_attach(), and srp_login().

Transport private data.

Definition at line 840 of file srp.h.

Referenced by srp_transport_priv().


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

Generated on Tue Apr 6 20:02:09 2010 for gPXE by  doxygen 1.5.7.1