aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-26 11:07:05 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commit6b01561dc13a0152f56da0a2c61ad88236f87de7 (patch)
tree83541c84c02ddb1b3ab978a351e688401de1d535 /erts/doc
parent8ed757c8df2df54e19e67ca0a0734cd5a0f9ab23 (diff)
downloadotp-6b01561dc13a0152f56da0a2c61ad88236f87de7.tar.gz
otp-6b01561dc13a0152f56da0a2c61ad88236f87de7.tar.bz2
otp-6b01561dc13a0152f56da0a2c61ad88236f87de7.zip
[socket-nif] Add support for socket (level ip) option sendsrcaddr
Added support for ip level socket option SENDSRCADDR. This option requires sendmsg to actually use, so we cannot test this fully at the moment. OTP-14831
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/socket_usage.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/erts/doc/src/socket_usage.xml b/erts/doc/src/socket_usage.xml
index f69aa75820..933341bd35 100644
--- a/erts/doc/src/socket_usage.xml
+++ b/erts/doc/src/socket_usage.xml
@@ -35,6 +35,10 @@
<p>The socket interface (module) is basically an "thin" layer on top of
the OS socket interface. It is assumed that, unless you have special needs,
gen_[tcp|udp|sctp] should be sufficent. </p>
+ <p>Note that just because we have a documented and described option,
+ it does <em>not</em> mean that the OS supports it. So its recommended
+ that the user reads the platform specific documentation for the
+ option used. </p>
</section>
<section>
@@ -429,6 +433,13 @@
<cell>type = raw</cell>
</row>
<row>
+ <cell>sendsrcaddr</cell>
+ <cell>boolean()</cell>
+ <cell>yes</cell>
+ <cell>yes</cell>
+ <cell>none</cell>
+ </row>
+ <row>
<cell>tos</cell>
<cell>ip_tos()</cell>
<cell>yes</cell>