aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-19 17:34:15 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commit6bb60f1fecef368991806e25a0022c63b8650f39 (patch)
tree92eabb798b7d0813dfe65e4b0f9369ba99e08264 /lib
parent7a5b320b5bb5ec45b21839005e8538172908fb57 (diff)
downloadotp-6bb60f1fecef368991806e25a0022c63b8650f39.tar.gz
otp-6bb60f1fecef368991806e25a0022c63b8650f39.tar.bz2
otp-6bb60f1fecef368991806e25a0022c63b8650f39.zip
[socket-nif] Add (partial) support for socket (level sctp) option rtoinfo
Added support for the SCTP option RTOINFO. We have the same questions for this option as for ASSOCINFO. Maybe the assoc field shall be made 'out' only (that is, it will be ignored for setopt). The assoc id used will be that which is stored in the descriptor (how do we get it to begin with?). Questions, questions... OTP-14831
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/test/socket_server.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/kernel/test/socket_server.erl b/lib/kernel/test/socket_server.erl
index 56200e0ae9..7320192e6a 100644
--- a/lib/kernel/test/socket_server.erl
+++ b/lib/kernel/test/socket_server.erl
@@ -204,10 +204,12 @@ do_manager_init(Domain, seqpacket = Type, sctp = Proto, _Peek) ->
i("Miscellaneous options: "
"~n associnfo: ~s"
"~n autoclose: ~s"
- "~n disable-fragments: ~s",
+ "~n disable-fragments: ~s"
+ "~n rtoinfo: ~s",
[GO(associnfo),
GO(autoclose),
- GO(disable_fragments)]),
+ GO(disable_fragments),
+ GO(rtoinfo)]),
Events = #{data_in => true,
association => true,
address => true,