RDS: Documentation: Document AF_RDS, PF_RDS and SOL_RDS correctly.
AF_RDS, PF_RDS and SOL_RDS are available in header files,
and there is no need to get their values from /proc. Document
this correctly.
Fixes: 0c5f9b8830
("RDS: Documentation")
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0ad2a83659
commit
ebe96e641d
1 changed files with 4 additions and 5 deletions
|
@ -62,11 +62,10 @@ Socket Interface
|
||||||
================
|
================
|
||||||
|
|
||||||
AF_RDS, PF_RDS, SOL_RDS
|
AF_RDS, PF_RDS, SOL_RDS
|
||||||
These constants haven't been assigned yet, because RDS isn't in
|
AF_RDS and PF_RDS are the domain type to be used with socket(2)
|
||||||
mainline yet. Currently, the kernel module assigns some constant
|
to create RDS sockets. SOL_RDS is the socket-level to be used
|
||||||
and publishes it to user space through two sysctl files
|
with setsockopt(2) and getsockopt(2) for RDS specific socket
|
||||||
/proc/sys/net/rds/pf_rds
|
options.
|
||||||
/proc/sys/net/rds/sol_rds
|
|
||||||
|
|
||||||
fd = socket(PF_RDS, SOCK_SEQPACKET, 0);
|
fd = socket(PF_RDS, SOCK_SEQPACKET, 0);
|
||||||
This creates a new, unbound RDS socket.
|
This creates a new, unbound RDS socket.
|
||||||
|
|
Loading…
Add table
Reference in a new issue