From d44b347d893c7dc2ba536494322b779028283baf Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Sun, 20 Apr 2008 05:11:57 -0500 Subject: 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 --- usr/transport.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/transport.h') 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 */ -- cgit v1.2.1