aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/gen_udp.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_udp.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_udp.erl')
-rw-r--r--lib/kernel/src/gen_udp.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/kernel/src/gen_udp.erl b/lib/kernel/src/gen_udp.erl
index 830ca61b3c..c5a1173575 100644
--- a/lib/kernel/src/gen_udp.erl
+++ b/lib/kernel/src/gen_udp.erl
@@ -47,7 +47,8 @@
{recbuf, non_neg_integer()} |
{reuseaddr, boolean()} |
{sndbuf, non_neg_integer()} |
- {tos, non_neg_integer()}.
+ {tos, non_neg_integer()} |
+ {ipv6_v6only, boolean()}.
-type option_name() ::
active |
broadcast |
@@ -69,7 +70,8 @@
recbuf |
reuseaddr |
sndbuf |
- tos.
+ tos |
+ ipv6_v6only.
-type socket() :: port().
-export_type([option/0, option_name/0]).