summaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2015-05-29 17:28:07 -0400
committerDavid S. Miller <davem@davemloft.net>2015-05-31 21:47:23 -0700
commita28c257c9eb0bd76a4adcac97c07e34044ec71fb (patch)
tree5700f6cd82bcb190c72cb4404ec264a24697d295 /net/rds
parentf16e9d86ae435d7ee6e9eaceb8ba1cf3b1895b72 (diff)
downloadop-kernel-dev-a28c257c9eb0bd76a4adcac97c07e34044ec71fb.zip
op-kernel-dev-a28c257c9eb0bd76a4adcac97c07e34044ec71fb.tar.gz
net/rds: Declare SO_RDS_TRANSPORT and RDS_TRANS_* constants in uapi/linux/rds.h
User space applications that desire to explicitly select the underlying transport for a PF_RDS socket may do so by using the SO_RDS_TRANSPORT socket option at the SOL_RDS level before bind(). The integer argument provided to the socket option would be one of the RDS_TRANS_* values, e.g., RDS_TRANS_TCP. This commit exports the constant values need by such applications via <linux/rds.h> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-rw-r--r--net/rds/rds.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index 0d41155..76db508 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -408,11 +408,6 @@ struct rds_notifier {
* should try hard not to block.
*/
-#define RDS_TRANS_IB 0
-#define RDS_TRANS_IWARP 1
-#define RDS_TRANS_TCP 2
-#define RDS_TRANS_COUNT 3
-
struct rds_transport {
char t_name[TRANSNAMSIZ];
struct list_head t_item;
OpenPOWER on IntegriCloud