diff options
author | Micael Karlberg <[email protected]> | 2018-07-24 11:49:12 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-09-18 14:50:18 +0200 |
commit | 9ca6de6efbe844bcf7dc996cfcf51bcd50325007 (patch) | |
tree | 518c101fe7e6d1bb6d08782ae13346fb6a204504 /erts/doc | |
parent | 8b61022bdca354e541380391e3b0b2606f7af3f8 (diff) | |
download | otp-9ca6de6efbe844bcf7dc996cfcf51bcd50325007.tar.gz otp-9ca6de6efbe844bcf7dc996cfcf51bcd50325007.tar.bz2 otp-9ca6de6efbe844bcf7dc996cfcf51bcd50325007.zip |
[socket-nif] Add support for socket (level ipv6) option dstopts
Added support for the IPv6 socket option(s) DSTOPTS.
The option returns with einval when calling setsockopt,
so either you need to be a privileged user to update, or its not
actually possible to update this option (even though it says
nothing about that in the man page. It only talks about set).
This is the same behaviour as with RTHDR and HOPLIMIT.
On FreeBSD, it says that HOPOPTS requires superuser privileges.
Needs furher checking.
OTP-14831.
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/socket_usage.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/doc/src/socket_usage.xml b/erts/doc/src/socket_usage.xml index b13582dfbc..87b44f139f 100644 --- a/erts/doc/src/socket_usage.xml +++ b/erts/doc/src/socket_usage.xml @@ -433,6 +433,13 @@ <cell>none</cell> </row> <row> + <cell>dstopts</cell> + <cell>boolean()</cell> + <cell>yes</cell> + <cell>yes</cell> + <cell>type = dgram | raw, requires superuser privileges to update</cell> + </row> + <row> <cell>hoplimit</cell> <cell>boolean()</cell> <cell>yes</cell> |