diff options
Diffstat (limited to 'usr/transport.h')
-rw-r--r-- | usr/transport.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/transport.h b/usr/transport.h index b0292d1..2df8d8b 100644 --- a/usr/transport.h +++ b/usr/transport.h @@ -18,6 +18,7 @@ #define ISCSI_TRANSPORT_H #include "types.h" +#include "config.h" struct iscsi_transport; struct iscsi_conn; @@ -30,6 +31,16 @@ struct iscsi_transport_template { void (*ep_disconnect) (iscsi_conn_t *conn); }; +/* represents data path provider */ +struct iscsi_transport { + struct list_head list; + uint64_t handle; + uint32_t caps; + char name[ISCSI_TRANSPORT_NAME_MAXLEN]; + struct list_head sessions; + struct iscsi_transport_template *template; +}; + extern int set_transport_template(struct iscsi_transport *t); #endif |