aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-24 11:08:20 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commit8b61022bdca354e541380391e3b0b2606f7af3f8 (patch)
tree41ed15ddee4429ef64661882e7394b7e0913a712 /erts/doc
parentd7ca5ba9d8a7f094037878acfecb52b0bfbacc2e (diff)
downloadotp-8b61022bdca354e541380391e3b0b2606f7af3f8.tar.gz
otp-8b61022bdca354e541380391e3b0b2606f7af3f8.tar.bz2
otp-8b61022bdca354e541380391e3b0b2606f7af3f8.zip
[socket-nif] Add support for socket (level ipv6) option authhdr & hopopts
Added support for the IPv6 socket option(s) AUTHHDR and HOPOPTS. Its possible that the option is AUTHHDR is obsolete. It says so in the include files and when trying to get it (getsockopt) it returns with enoprotoopt. The option HOPOPTS 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.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/erts/doc/src/socket_usage.xml b/erts/doc/src/socket_usage.xml
index b3ee38dbcb..b13582dfbc 100644
--- a/erts/doc/src/socket_usage.xml
+++ b/erts/doc/src/socket_usage.xml
@@ -419,6 +419,13 @@
<cell>none</cell>
</row>
<row>
+ <cell>authhdr</cell>
+ <cell>boolean()</cell>
+ <cell>yes</cell>
+ <cell>yes</cell>
+ <cell>type = dgram | raw, obsolete?</cell>
+ </row>
+ <row>
<cell>drop_membership</cell>
<cell>ipv6_mreq()</cell>
<cell>yes</cell>
@@ -429,8 +436,15 @@
<cell>hoplimit</cell>
<cell>boolean()</cell>
<cell>yes</cell>
- <cell>no</cell>
- <cell>type = dgram | raw</cell>
+ <cell>yes</cell>
+ <cell>type = dgram | raw, requires superuser privileges to update</cell>
+ </row>
+ <row>
+ <cell>hopopts</cell>
+ <cell>boolean()</cell>
+ <cell>yes</cell>
+ <cell>yes</cell>
+ <cell>type = dgram | raw, requires superuser privileges to update</cell>
</row>
<row>
<cell>mtu</cell>