summaryrefslogtreecommitdiff
path: root/usr/transport.h
diff options
context:
space:
mode:
authorAnish Bhatt <anish@chelsio.com>2014-07-25 12:42:27 -0700
committerMike Christie <michaelc@cs.wisc.edu>2014-07-31 12:56:28 -0500
commit96eaaacaeac39625508e6ec8022bb5e565c36a7c (patch)
treef1f82b45bcbc23f8e4b3e028c7c37477b4e094ce /usr/transport.h
parent33cb16e0e432f32e113a2dca45e41df6980b0d18 (diff)
downloadopen-iscsi-96eaaacaeac39625508e6ec8022bb5e565c36a7c.tar.gz
iscsiadm : make iface.ipaddress optional in iface configs for transports that don't have a hard requirement on it.
v2: cxgb4i changed to NOT_REQ as set ipaddress is not supported Signed-off-by: Anish Bhatt <anish@chelsio.com>
Diffstat (limited to 'usr/transport.h')
-rw-r--r--usr/transport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/transport.h b/usr/transport.h
index 388e4b1..73041fa 100644
--- a/usr/transport.h
+++ b/usr/transport.h
@@ -20,6 +20,12 @@
#include "types.h"
#include "config.h"
+enum set_host_ip_opts {
+ SET_HOST_IP_NOT_REQ, /* iface.ipaddress is not supported */
+ SET_HOST_IP_REQ, /* iface.ipaddress must be specified */
+ SET_HOST_IP_OPT, /* iface.ipaddress is not required */
+};
+
struct iscsi_transport;
struct iscsi_conn;