summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2012-03-22 04:09:01 -0400
committerMike Christie <michaelc@cs.wisc.edu>2012-03-22 04:09:01 -0400
commit04b4a6699f63c4f0bab9523aae3efb8c909d6587 (patch)
tree41e0a098759657094cff25d8d2d9f82ea380a7dc /include
parente6e47f08eef2978c0915658f610c5251e86925ae (diff)
downloadopen-iscsi-04b4a6699f63c4f0bab9523aae3efb8c909d6587.tar.gz
iscsi tools: have iscsi tools bring up offload net iface
bnx2i and cxgb*i need the network interface that the offload engine attaches to brought up before we can connect. This patch has the iscsi tools do this before trying to create a tcp/ip connection.
Diffstat (limited to 'include')
-rw-r--r--include/iscsi_net_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iscsi_net_util.h b/include/iscsi_net_util.h
index 222634d..31b80ad 100644
--- a/include/iscsi_net_util.h
+++ b/include/iscsi_net_util.h
@@ -7,5 +7,6 @@ extern int net_get_transport_name_from_netdev(char *netdev, char *transport);
extern int net_get_netdev_from_hwaddress(char *hwaddress, char *netdev);
extern int net_setup_netdev(char *netdev, char *local_ip, char *mask,
char *gateway, char *remote_ip, int needs_bringup);
+extern int net_ifup_netdev(char *netdev);
#endif