diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-04-20 05:11:57 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2008-04-20 14:38:23 -0500 |
commit | d44b347d893c7dc2ba536494322b779028283baf (patch) | |
tree | f3cea8ebcb622c4775dd858bbd8090d38e4ccefd /usr/transport.h | |
parent | 364e6f8af405a9b7c6a23896a2da62bcbd92b5db (diff) | |
download | open-iscsi-d44b347d893c7dc2ba536494322b779028283baf.tar.gz |
break up iface code and add default iser, tcp/default and bnx2i ifaces
This patch moves the iface code to iface.c/.h. It also adds some
default ifaces for iser and bnx2i. Currently if those modules
are loaded then we will bind to them along with default/tcp when
discovery is run. The user can then set the startup flag or delete
the record.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Diffstat (limited to 'usr/transport.h')
-rw-r--r-- | usr/transport.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/transport.h b/usr/transport.h index 2df8d8b..402747f 100644 --- a/usr/transport.h +++ b/usr/transport.h @@ -26,9 +26,9 @@ struct iscsi_conn; struct iscsi_transport_template { const char *name; uint8_t rdma; - int (*ep_connect) (iscsi_conn_t *conn, int non_blocking); - int (*ep_poll) (iscsi_conn_t *conn, int timeout_ms); - void (*ep_disconnect) (iscsi_conn_t *conn); + int (*ep_connect) (struct iscsi_conn *conn, int non_blocking); + int (*ep_poll) (struct iscsi_conn *conn, int timeout_ms); + void (*ep_disconnect) (struct iscsi_conn *conn); }; /* represents data path provider */ |