iPXE
Data Fields
fcp_command Struct Reference

An FCP command. More...

Data Fields

struct refcnt refcnt
 Reference count.
struct fcp_devicefcpdev
 FCP SCSI device.
struct list_head list
 List of active commands.
struct interface scsi
 SCSI command interface.
struct interface xchg
 Fibre Channel exchange interface.
struct process process
 Send process.
int(* send )(struct fcp_command *fcpcmd)
 Send current IU.
struct scsi_cmd command
 SCSI command.
size_t offset
 Data offset within command.
size_t remaining
 Length of data remaining to be sent within this IU.
uint16_t xchg_id
 Exchange ID.

Detailed Description

An FCP command.

Definition at line 168 of file fcp.c.


Field Documentation

Reference count.

Definition at line 170 of file fcp.c.

Referenced by fcpdev_scsi_command().

List of active commands.

Definition at line 174 of file fcp.c.

Referenced by fcpcmd_free(), fcpdev_close(), and fcpdev_scsi_command().

SCSI command interface.

Definition at line 176 of file fcp.c.

Referenced by fcpcmd_close(), fcpcmd_recv_rsp(), and fcpdev_scsi_command().

Fibre Channel exchange interface.

Definition at line 178 of file fcp.c.

Referenced by fcpcmd_close(), fcpcmd_send_cmnd(), fcpcmd_send_wrdata(), and fcpdev_scsi_command().

Send process.

Definition at line 180 of file fcp.c.

Referenced by fcpdev_scsi_command().

int( * fcp_command::send)(struct fcp_command *fcpcmd)

Send current IU.

Parameters:
fcpcmdFCP command
Return values:
rcReturn status code

Definition at line 186 of file fcp.c.

Referenced by fcpcmd_step().

SCSI command.

Definition at line 188 of file fcp.c.

Referenced by fcpcmd_recv_rddata(), fcpcmd_recv_rsp(), fcpcmd_send_cmnd(), fcpcmd_send_wrdata(), and fcpdev_scsi_command().

Data offset within command.

Definition at line 190 of file fcp.c.

Referenced by fcpcmd_recv_rddata(), fcpcmd_recv_rsp(), fcpcmd_recv_xfer_rdy(), and fcpcmd_send_wrdata().

Length of data remaining to be sent within this IU.

Definition at line 192 of file fcp.c.

Referenced by fcpcmd_recv_xfer_rdy(), and fcpcmd_send_wrdata().


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