]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Declare SO_RDS_TRANSPORT and RDS_TRANS_* constants in uapi/linux/rds.h
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Tue, 2 Jun 2015 00:24:10 +0000 (20:24 -0400)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 21:00:20 +0000 (14:00 -0700)
commitac7ca8d5865b28e12bf96311e0794612611f7a23
tree15acad00c4e3fe9c53a9e6bc7b68d4395112f6e8
parenta9b63e20fa81e369e34eb9b4204e7a741c777e7e
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>

Orabug: 21061146

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
include/uapi/linux/rds.h
net/rds/rds.h