Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
iscsi_transport Struct Reference

#include <scsi_transport_iscsi.h>

Data Fields

struct moduleowner
 
charname
 
unsigned int caps
 
struct iscsi_cls_session *(* create_session )(struct iscsi_endpoint *ep, uint16_t cmds_max, uint16_t qdepth, uint32_t sn)
 
void(* destroy_session )(struct iscsi_cls_session *session)
 
struct iscsi_cls_conn *(* create_conn )(struct iscsi_cls_session *sess, uint32_t cid)
 
int(* bind_conn )(struct iscsi_cls_session *session, struct iscsi_cls_conn *cls_conn, uint64_t transport_eph, int is_leading)
 
int(* start_conn )(struct iscsi_cls_conn *conn)
 
void(* stop_conn )(struct iscsi_cls_conn *conn, int flag)
 
void(* destroy_conn )(struct iscsi_cls_conn *conn)
 
int(* set_param )(struct iscsi_cls_conn *conn, enum iscsi_param param, char *buf, int buflen)
 
int(* get_ep_param )(struct iscsi_endpoint *ep, enum iscsi_param param, char *buf)
 
int(* get_conn_param )(struct iscsi_cls_conn *conn, enum iscsi_param param, char *buf)
 
int(* get_session_param )(struct iscsi_cls_session *session, enum iscsi_param param, char *buf)
 
int(* get_host_param )(struct Scsi_Host *shost, enum iscsi_host_param param, char *buf)
 
int(* set_host_param )(struct Scsi_Host *shost, enum iscsi_host_param param, char *buf, int buflen)
 
int(* send_pdu )(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, char *data, uint32_t data_size)
 
void(* get_stats )(struct iscsi_cls_conn *conn, struct iscsi_stats *stats)
 
int(* init_task )(struct iscsi_task *task)
 
int(* xmit_task )(struct iscsi_task *task)
 
void(* cleanup_task )(struct iscsi_task *task)
 
int(* alloc_pdu )(struct iscsi_task *task, uint8_t opcode)
 
int(* xmit_pdu )(struct iscsi_task *task)
 
int(* init_pdu )(struct iscsi_task *task, unsigned int offset, unsigned int count)
 
void(* parse_pdu_itt )(struct iscsi_conn *conn, itt_t itt, int *index, int *age)
 
void(* session_recovery_timedout )(struct iscsi_cls_session *session)
 
struct iscsi_endpoint *(* ep_connect )(struct Scsi_Host *shost, struct sockaddr *dst_addr, int non_blocking)
 
int(* ep_poll )(struct iscsi_endpoint *ep, int timeout_ms)
 
void(* ep_disconnect )(struct iscsi_endpoint *ep)
 
int(* tgt_dscvr )(struct Scsi_Host *shost, enum iscsi_tgt_dscvr type, uint32_t enable, struct sockaddr *dst_addr)
 
int(* set_path )(struct Scsi_Host *shost, struct iscsi_path *params)
 
int(* set_iface_param )(struct Scsi_Host *shost, void *data, uint32_t len)
 
int(* get_iface_param )(struct iscsi_iface *iface, enum iscsi_param_type param_type, int param, char *buf)
 
umode_t(* attr_is_visible )(int param_type, int param)
 
int(* bsg_request )(struct bsg_job *job)
 
int(* send_ping )(struct Scsi_Host *shost, uint32_t iface_num, uint32_t iface_type, uint32_t payload_size, uint32_t pid, struct sockaddr *dst_addr)
 
int(* get_chap )(struct Scsi_Host *shost, uint16_t chap_tbl_idx, uint32_t *num_entries, char *buf)
 
int(* delete_chap )(struct Scsi_Host *shost, uint16_t chap_tbl_idx)
 

Detailed Description

Definition at line 85 of file scsi_transport_iscsi.h.

Field Documentation

Definition at line 124 of file scsi_transport_iscsi.h.

umode_t(* attr_is_visible)(int param_type, int param)

Definition at line 145 of file scsi_transport_iscsi.h.

Definition at line 96 of file scsi_transport_iscsi.h.

int(* bsg_request)(struct bsg_job *job)

Definition at line 146 of file scsi_transport_iscsi.h.

unsigned int caps

Definition at line 88 of file scsi_transport_iscsi.h.

void(* cleanup_task)(struct iscsi_task *task)

Definition at line 122 of file scsi_transport_iscsi.h.

struct iscsi_cls_conn*(* create_conn)(struct iscsi_cls_session *sess, uint32_t cid)
read

Definition at line 94 of file scsi_transport_iscsi.h.

Definition at line 90 of file scsi_transport_iscsi.h.

Definition at line 152 of file scsi_transport_iscsi.h.

void(* destroy_conn)(struct iscsi_cls_conn *conn)

Definition at line 101 of file scsi_transport_iscsi.h.

void(* destroy_session)(struct iscsi_cls_session *session)

Definition at line 93 of file scsi_transport_iscsi.h.

Definition at line 132 of file scsi_transport_iscsi.h.

void(* ep_disconnect)(struct iscsi_endpoint *ep)

Definition at line 136 of file scsi_transport_iscsi.h.

Definition at line 135 of file scsi_transport_iscsi.h.

Definition at line 150 of file scsi_transport_iscsi.h.

int(* get_conn_param)(struct iscsi_cls_conn *conn, enum iscsi_param param, char *buf)

Definition at line 106 of file scsi_transport_iscsi.h.

int(* get_ep_param)(struct iscsi_endpoint *ep, enum iscsi_param param, char *buf)

Definition at line 104 of file scsi_transport_iscsi.h.

int(* get_host_param)(struct Scsi_Host *shost, enum iscsi_host_param param, char *buf)

Definition at line 110 of file scsi_transport_iscsi.h.

int(* get_iface_param)(struct iscsi_iface *iface, enum iscsi_param_type param_type, int param, char *buf)

Definition at line 142 of file scsi_transport_iscsi.h.

int(* get_session_param)(struct iscsi_cls_session *session, enum iscsi_param param, char *buf)

Definition at line 108 of file scsi_transport_iscsi.h.

Definition at line 117 of file scsi_transport_iscsi.h.

int(* init_pdu)(struct iscsi_task *task, unsigned int offset, unsigned int count)

Definition at line 126 of file scsi_transport_iscsi.h.

int(* init_task)(struct iscsi_task *task)

Definition at line 120 of file scsi_transport_iscsi.h.

char* name

Definition at line 87 of file scsi_transport_iscsi.h.

struct module* owner

Definition at line 86 of file scsi_transport_iscsi.h.

void(* parse_pdu_itt)(struct iscsi_conn *conn, itt_t itt, int *index, int *age)

Definition at line 128 of file scsi_transport_iscsi.h.

Definition at line 115 of file scsi_transport_iscsi.h.

Definition at line 147 of file scsi_transport_iscsi.h.

void(* session_recovery_timedout)(struct iscsi_cls_session *session)

Definition at line 131 of file scsi_transport_iscsi.h.

int(* set_host_param)(struct Scsi_Host *shost, enum iscsi_host_param param, char *buf, int buflen)

Definition at line 112 of file scsi_transport_iscsi.h.

int(* set_iface_param)(struct Scsi_Host *shost, void *data, uint32_t len)

Definition at line 140 of file scsi_transport_iscsi.h.

int(* set_param)(struct iscsi_cls_conn *conn, enum iscsi_param param, char *buf, int buflen)

Definition at line 102 of file scsi_transport_iscsi.h.

Definition at line 139 of file scsi_transport_iscsi.h.

int(* start_conn)(struct iscsi_cls_conn *conn)

Definition at line 99 of file scsi_transport_iscsi.h.

void(* stop_conn)(struct iscsi_cls_conn *conn, int flag)

Definition at line 100 of file scsi_transport_iscsi.h.

Definition at line 137 of file scsi_transport_iscsi.h.

int(* xmit_pdu)(struct iscsi_task *task)

Definition at line 125 of file scsi_transport_iscsi.h.

int(* xmit_task)(struct iscsi_task *task)

Definition at line 121 of file scsi_transport_iscsi.h.


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