aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/gen_tcp.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2012-10-12 09:42:08 +0200
committerRaimo Niskanen <[email protected]>2012-10-31 09:14:44 +0100
commit654e820db89c42eb30c3c4b4f1be747265df1e10 (patch)
tree043bf505754d8781deabf85302afd55d01c07fa4 /lib/kernel/src/gen_tcp.erl
parent487ff0f54a3a311d1e3f79ae5be5e6b4a9c2f40c (diff)
downloadotp-654e820db89c42eb30c3c4b4f1be747265df1e10.tar.gz
otp-654e820db89c42eb30c3c4b4f1be747265df1e10.tar.bz2
otp-654e820db89c42eb30c3c4b4f1be747265df1e10.zip
erts,kernel: Implement socket option ipv6_v6only in erlang code
Diffstat (limited to 'lib/kernel/src/gen_tcp.erl')
-rw-r--r--lib/kernel/src/gen_tcp.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/kernel/src/gen_tcp.erl b/lib/kernel/src/gen_tcp.erl
index e6dfdadb03..22e6aa5bc8 100644
--- a/lib/kernel/src/gen_tcp.erl
+++ b/lib/kernel/src/gen_tcp.erl
@@ -57,7 +57,8 @@
{send_timeout, non_neg_integer() | infinity} |
{send_timeout_close, boolean()} |
{sndbuf, non_neg_integer()} |
- {tos, non_neg_integer()}.
+ {tos, non_neg_integer()} |
+ {ipv6_v6only, boolean()}.
-type option_name() ::
active |
buffer |
@@ -85,7 +86,8 @@
send_timeout |
send_timeout_close |
sndbuf |
- tos.
+ tos |
+ ipv6_v6only.
-type connect_option() ::
{ip, inet:ip_address()} |
{fd, Fd :: non_neg_integer()} |