diff options
author | Micael Karlberg <bmk@erlang.org> | 2018-07-19 17:34:15 +0200 |
---|---|---|
committer | Micael Karlberg <bmk@erlang.org> | 2018-09-18 14:50:18 +0200 |
commit | 6bb60f1fecef368991806e25a0022c63b8650f39 (patch) | |
tree | 92eabb798b7d0813dfe65e4b0f9369ba99e08264 /erts/doc | |
parent | 7a5b320b5bb5ec45b21839005e8538172908fb57 (diff) | |
download | otp-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 'erts/doc')
-rw-r--r-- | erts/doc/src/socket.xml | 3 | ||||
-rw-r--r-- | erts/doc/src/socket_usage.xml | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/erts/doc/src/socket.xml b/erts/doc/src/socket.xml index 3e8e7af5c6..f6b25c8563 100644 --- a/erts/doc/src/socket.xml +++ b/erts/doc/src/socket.xml @@ -140,6 +140,9 @@ <datatype> <name name="sctp_assocparams"/> </datatype> + <datatype> + <name name="sctp_rtoinfo"/> + </datatype> </datatypes> <funcs> diff --git a/erts/doc/src/socket_usage.xml b/erts/doc/src/socket_usage.xml index 60cb424cde..1e325016ff 100644 --- a/erts/doc/src/socket_usage.xml +++ b/erts/doc/src/socket_usage.xml @@ -50,6 +50,13 @@ <cell><em>Other</em></cell> </row> <row> + <cell>assoc_id</cell> + <cell>integer()</cell> + <cell>no</cell> + <cell>yes</cell> + <cell>type = seqpacket, protocol = sctp, is an association</cell> + </row> + <row> <cell>debug</cell> <cell>boolean()</cell> <cell>yes</cell> @@ -486,6 +493,13 @@ <cell>yes</cell> <cell>none</cell> </row> + <row> + <cell>rtoinfo</cell> + <cell>sctp_rtoinfo()</cell> + <cell>yes</cell> + <cell>yes</cell> + <cell>none</cell> + </row> </table> </section> |