|
#define | ISCSI_TRANSPORT_VERSION "2.0-870" |
|
#define | ISCSI_DBG_TRANS_SESSION(_session, dbg_fmt, arg...) |
|
#define | ISCSI_DBG_TRANS_CONN(_conn, dbg_fmt, arg...) |
|
#define | to_iscsi_internal(tmpl) container_of(tmpl, struct iscsi_internal, t) |
|
#define | dev_to_iscsi_internal(_dev) container_of(_dev, struct iscsi_internal, dev) |
|
#define | show_transport_attr(name, format) |
|
#define | iscsi_dev_to_endpoint(_dev) container_of(_dev, struct iscsi_endpoint, dev) |
|
#define | ISCSI_ATTR(_prefix, _name, _mode, _show, _store) |
|
#define | ISCSI_MAX_EPID -1 |
|
#define | ISCSI_IFACE_ATTR(_prefix, _name, _mode, _show, _store) |
|
#define | iscsi_iface_attr_show(type, name, param_type, param) |
|
#define | iscsi_iface_net_attr(type, name, param) |
|
#define | ISCSI_CLASS_ATTR(_prefix, _name, _mode, _show, _store) |
|
#define | iscsi_conn_attr_show(param) |
|
#define | iscsi_conn_attr(field, param) |
|
#define | iscsi_conn_ep_attr_show(param) |
|
#define | iscsi_conn_ep_attr(field, param) |
|
#define | iscsi_session_attr_show(param, perm) |
|
#define | iscsi_session_attr(field, param, perm) |
|
#define | iscsi_priv_session_attr_show(field, format) |
|
#define | iscsi_priv_session_attr_store(field) |
|
#define | iscsi_priv_session_rw_attr(field, format) |
|
#define | iscsi_host_attr_show(param) |
|
#define | iscsi_host_attr(field, param) |
|
|
| module_param_named (debug_session, dbg_session, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (debug_session,"Turn on debugging for sessions in scsi_transport_iscsi ""module. Set to 1 to turn on, and zero to turn off. Default ""is off.") |
|
| module_param_named (debug_conn, dbg_conn, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (debug_conn,"Turn on debugging for connections in scsi_transport_iscsi ""module. Set to 1 to turn on, and zero to turn off. Default ""is off.") |
|
| show_transport_attr (caps,"0x%x") |
|
struct iscsi_endpoint * | iscsi_create_endpoint (int dd_size) |
|
| EXPORT_SYMBOL_GPL (iscsi_create_endpoint) |
|
void | iscsi_destroy_endpoint (struct iscsi_endpoint *ep) |
|
| EXPORT_SYMBOL_GPL (iscsi_destroy_endpoint) |
|
struct iscsi_endpoint * | iscsi_lookup_endpoint (u64 handle) |
|
| EXPORT_SYMBOL_GPL (iscsi_lookup_endpoint) |
|
| iscsi_iface_net_attr (ipv4_iface, ipaddress, ISCSI_NET_PARAM_IPV4_ADDR) |
|
| iscsi_iface_net_attr (ipv4_iface, gateway, ISCSI_NET_PARAM_IPV4_GW) |
|
| iscsi_iface_net_attr (ipv4_iface, subnet, ISCSI_NET_PARAM_IPV4_SUBNET) |
|
| iscsi_iface_net_attr (ipv4_iface, bootproto, ISCSI_NET_PARAM_IPV4_BOOTPROTO) |
|
| iscsi_iface_net_attr (ipv6_iface, ipaddress, ISCSI_NET_PARAM_IPV6_ADDR) |
|
| iscsi_iface_net_attr (ipv6_iface, link_local_addr, ISCSI_NET_PARAM_IPV6_LINKLOCAL) |
|
| iscsi_iface_net_attr (ipv6_iface, router_addr, ISCSI_NET_PARAM_IPV6_ROUTER) |
|
| iscsi_iface_net_attr (ipv6_iface, ipaddr_autocfg, ISCSI_NET_PARAM_IPV6_ADDR_AUTOCFG) |
|
| iscsi_iface_net_attr (ipv6_iface, link_local_autocfg, ISCSI_NET_PARAM_IPV6_LINKLOCAL_AUTOCFG) |
|
| iscsi_iface_net_attr (iface, enabled, ISCSI_NET_PARAM_IFACE_ENABLE) |
|
| iscsi_iface_net_attr (iface, vlan_id, ISCSI_NET_PARAM_VLAN_ID) |
|
| iscsi_iface_net_attr (iface, vlan_priority, ISCSI_NET_PARAM_VLAN_PRIORITY) |
|
| iscsi_iface_net_attr (iface, vlan_enabled, ISCSI_NET_PARAM_VLAN_ENABLED) |
|
| iscsi_iface_net_attr (iface, mtu, ISCSI_NET_PARAM_MTU) |
|
| iscsi_iface_net_attr (iface, port, ISCSI_NET_PARAM_PORT) |
|
struct iscsi_iface * | iscsi_create_iface (struct Scsi_Host *shost, struct iscsi_transport *transport, uint32_t iface_type, uint32_t iface_num, int dd_size) |
|
| EXPORT_SYMBOL_GPL (iscsi_create_iface) |
|
void | iscsi_destroy_iface (struct iscsi_iface *iface) |
|
| EXPORT_SYMBOL_GPL (iscsi_destroy_iface) |
|
int | iscsi_session_chkready (struct iscsi_cls_session *session) |
|
| EXPORT_SYMBOL_GPL (iscsi_session_chkready) |
|
int | iscsi_is_session_online (struct iscsi_cls_session *session) |
|
| EXPORT_SYMBOL_GPL (iscsi_is_session_online) |
|
int | iscsi_is_session_dev (const struct device *dev) |
|
| EXPORT_SYMBOL_GPL (iscsi_is_session_dev) |
|
void | iscsi_host_for_each_session (struct Scsi_Host *shost, void(*fn)(struct iscsi_cls_session *)) |
|
| EXPORT_SYMBOL_GPL (iscsi_host_for_each_session) |
|
int | iscsi_scan_finished (struct Scsi_Host *shost, unsigned long time) |
|
| EXPORT_SYMBOL_GPL (iscsi_scan_finished) |
|
int | iscsi_block_scsi_eh (struct scsi_cmnd *cmd) |
|
| EXPORT_SYMBOL_GPL (iscsi_block_scsi_eh) |
|
void | iscsi_unblock_session (struct iscsi_cls_session *session) |
|
| EXPORT_SYMBOL_GPL (iscsi_unblock_session) |
|
void | iscsi_block_session (struct iscsi_cls_session *session) |
|
| EXPORT_SYMBOL_GPL (iscsi_block_session) |
|
struct iscsi_cls_session * | iscsi_alloc_session (struct Scsi_Host *shost, struct iscsi_transport *transport, int dd_size) |
|
| EXPORT_SYMBOL_GPL (iscsi_alloc_session) |
|
int | iscsi_add_session (struct iscsi_cls_session *session, unsigned int target_id) |
|
| EXPORT_SYMBOL_GPL (iscsi_add_session) |
|
struct iscsi_cls_session * | iscsi_create_session (struct Scsi_Host *shost, struct iscsi_transport *transport, int dd_size, unsigned int target_id) |
|
| EXPORT_SYMBOL_GPL (iscsi_create_session) |
|
void | iscsi_remove_session (struct iscsi_cls_session *session) |
|
| EXPORT_SYMBOL_GPL (iscsi_remove_session) |
|
void | iscsi_free_session (struct iscsi_cls_session *session) |
|
| EXPORT_SYMBOL_GPL (iscsi_free_session) |
|
int | iscsi_destroy_session (struct iscsi_cls_session *session) |
|
| EXPORT_SYMBOL_GPL (iscsi_destroy_session) |
|
struct iscsi_cls_conn * | iscsi_create_conn (struct iscsi_cls_session *session, int dd_size, uint32_t cid) |
|
| EXPORT_SYMBOL_GPL (iscsi_create_conn) |
|
int | iscsi_destroy_conn (struct iscsi_cls_conn *conn) |
|
| EXPORT_SYMBOL_GPL (iscsi_destroy_conn) |
|
int | iscsi_recv_pdu (struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, char *data, uint32_t data_size) |
|
| EXPORT_SYMBOL_GPL (iscsi_recv_pdu) |
|
int | iscsi_offload_mesg (struct Scsi_Host *shost, struct iscsi_transport *transport, uint32_t type, char *data, uint16_t data_size) |
|
| EXPORT_SYMBOL_GPL (iscsi_offload_mesg) |
|
void | iscsi_conn_error_event (struct iscsi_cls_conn *conn, enum iscsi_err error) |
|
| EXPORT_SYMBOL_GPL (iscsi_conn_error_event) |
|
void | iscsi_conn_login_event (struct iscsi_cls_conn *conn, enum iscsi_conn_state state) |
|
| EXPORT_SYMBOL_GPL (iscsi_conn_login_event) |
|
void | iscsi_post_host_event (uint32_t host_no, struct iscsi_transport *transport, enum iscsi_host_event_code code, uint32_t data_size, uint8_t *data) |
|
| EXPORT_SYMBOL_GPL (iscsi_post_host_event) |
|
void | iscsi_ping_comp_event (uint32_t host_no, struct iscsi_transport *transport, uint32_t status, uint32_t pid, uint32_t data_size, uint8_t *data) |
|
| EXPORT_SYMBOL_GPL (iscsi_ping_comp_event) |
|
int | iscsi_session_event (struct iscsi_cls_session *session, enum iscsi_uevent_e event) |
|
| EXPORT_SYMBOL_GPL (iscsi_session_event) |
|
| iscsi_conn_attr (max_recv_dlength, ISCSI_PARAM_MAX_RECV_DLENGTH) |
|
| iscsi_conn_attr (max_xmit_dlength, ISCSI_PARAM_MAX_XMIT_DLENGTH) |
|
| iscsi_conn_attr (header_digest, ISCSI_PARAM_HDRDGST_EN) |
|
| iscsi_conn_attr (data_digest, ISCSI_PARAM_DATADGST_EN) |
|
| iscsi_conn_attr (ifmarker, ISCSI_PARAM_IFMARKER_EN) |
|
| iscsi_conn_attr (ofmarker, ISCSI_PARAM_OFMARKER_EN) |
|
| iscsi_conn_attr (persistent_port, ISCSI_PARAM_PERSISTENT_PORT) |
|
| iscsi_conn_attr (exp_statsn, ISCSI_PARAM_EXP_STATSN) |
|
| iscsi_conn_attr (persistent_address, ISCSI_PARAM_PERSISTENT_ADDRESS) |
|
| iscsi_conn_attr (ping_tmo, ISCSI_PARAM_PING_TMO) |
|
| iscsi_conn_attr (recv_tmo, ISCSI_PARAM_RECV_TMO) |
|
| iscsi_conn_ep_attr (address, ISCSI_PARAM_CONN_ADDRESS) |
|
| iscsi_conn_ep_attr (port, ISCSI_PARAM_CONN_PORT) |
|
| iscsi_session_attr (targetname, ISCSI_PARAM_TARGET_NAME, 0) |
|
| iscsi_session_attr (initial_r2t, ISCSI_PARAM_INITIAL_R2T_EN, 0) |
|
| iscsi_session_attr (max_outstanding_r2t, ISCSI_PARAM_MAX_R2T, 0) |
|
| iscsi_session_attr (immediate_data, ISCSI_PARAM_IMM_DATA_EN, 0) |
|
| iscsi_session_attr (first_burst_len, ISCSI_PARAM_FIRST_BURST, 0) |
|
| iscsi_session_attr (max_burst_len, ISCSI_PARAM_MAX_BURST, 0) |
|
| iscsi_session_attr (data_pdu_in_order, ISCSI_PARAM_PDU_INORDER_EN, 0) |
|
| iscsi_session_attr (data_seq_in_order, ISCSI_PARAM_DATASEQ_INORDER_EN, 0) |
|
| iscsi_session_attr (erl, ISCSI_PARAM_ERL, 0) |
|
| iscsi_session_attr (tpgt, ISCSI_PARAM_TPGT, 0) |
|
| iscsi_session_attr (username, ISCSI_PARAM_USERNAME, 1) |
|
| iscsi_session_attr (username_in, ISCSI_PARAM_USERNAME_IN, 1) |
|
| iscsi_session_attr (password, ISCSI_PARAM_PASSWORD, 1) |
|
| iscsi_session_attr (password_in, ISCSI_PARAM_PASSWORD_IN, 1) |
|
| iscsi_session_attr (chap_out_idx, ISCSI_PARAM_CHAP_OUT_IDX, 1) |
|
| iscsi_session_attr (chap_in_idx, ISCSI_PARAM_CHAP_IN_IDX, 1) |
|
| iscsi_session_attr (fast_abort, ISCSI_PARAM_FAST_ABORT, 0) |
|
| iscsi_session_attr (abort_tmo, ISCSI_PARAM_ABORT_TMO, 0) |
|
| iscsi_session_attr (lu_reset_tmo, ISCSI_PARAM_LU_RESET_TMO, 0) |
|
| iscsi_session_attr (tgt_reset_tmo, ISCSI_PARAM_TGT_RESET_TMO, 0) |
|
| iscsi_session_attr (ifacename, ISCSI_PARAM_IFACE_NAME, 0) |
|
| iscsi_session_attr (initiatorname, ISCSI_PARAM_INITIATOR_NAME, 0) |
|
| iscsi_session_attr (targetalias, ISCSI_PARAM_TARGET_ALIAS, 0) |
|
| iscsi_priv_session_rw_attr (recovery_tmo,"%d") |
|
| iscsi_host_attr (netdev, ISCSI_HOST_PARAM_NETDEV_NAME) |
|
| iscsi_host_attr (hwaddress, ISCSI_HOST_PARAM_HWADDRESS) |
|
| iscsi_host_attr (ipaddress, ISCSI_HOST_PARAM_IPADDRESS) |
|
| iscsi_host_attr (initiatorname, ISCSI_HOST_PARAM_INITIATOR_NAME) |
|
| iscsi_host_attr (port_state, ISCSI_HOST_PARAM_PORT_STATE) |
|
| iscsi_host_attr (port_speed, ISCSI_HOST_PARAM_PORT_SPEED) |
|
char * | iscsi_get_port_speed_name (struct Scsi_Host *shost) |
|
| EXPORT_SYMBOL_GPL (iscsi_get_port_speed_name) |
|
char * | iscsi_get_port_state_name (struct Scsi_Host *shost) |
|
| EXPORT_SYMBOL_GPL (iscsi_get_port_state_name) |
|
struct scsi_transport_template * | iscsi_register_transport (struct iscsi_transport *tt) |
|
| EXPORT_SYMBOL_GPL (iscsi_register_transport) |
|
int | iscsi_unregister_transport (struct iscsi_transport *tt) |
|
| EXPORT_SYMBOL_GPL (iscsi_unregister_transport) |
|
| module_init (iscsi_transport_init) |
|
| module_exit (iscsi_transport_exit) |
|
| MODULE_AUTHOR ("Mike Christie <[email protected]>, ""Dmitry Yusupov <[email protected]>, ""Alex Aizman <[email protected]>") |
|
| MODULE_DESCRIPTION ("iSCSI Transport Interface") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (ISCSI_TRANSPORT_VERSION) |
|
| MODULE_ALIAS_NET_PF_PROTO (PF_NETLINK, NETLINK_ISCSI) |
|