aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet6_tcp_dist.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-06-14 18:42:33 +0200
committerSverker Eriksson <[email protected]>2016-08-15 17:37:13 +0200
commit8f03f5dc4c8bc2804acfaec5d3558456d27282b0 (patch)
treeda580c42255b3ea7695f4dd4a84fa4612bb6f2b1 /lib/kernel/src/inet6_tcp_dist.erl
parentfec9c26cf1746898a76043df7f2d0bebfa36c927 (diff)
downloadotp-8f03f5dc4c8bc2804acfaec5d3558456d27282b0.tar.gz
otp-8f03f5dc4c8bc2804acfaec5d3558456d27282b0.tar.bz2
otp-8f03f5dc4c8bc2804acfaec5d3558456d27282b0.zip
kernel: Add net_kernel:setopts/2 and getopts/2
Diffstat (limited to 'lib/kernel/src/inet6_tcp_dist.erl')
-rw-r--r--lib/kernel/src/inet6_tcp_dist.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/kernel/src/inet6_tcp_dist.erl b/lib/kernel/src/inet6_tcp_dist.erl
index 3aa61973af..9b6c2745d5 100644
--- a/lib/kernel/src/inet6_tcp_dist.erl
+++ b/lib/kernel/src/inet6_tcp_dist.erl
@@ -24,6 +24,7 @@
-export([listen/1, accept/1, accept_connection/5,
setup/5, close/1, select/1, is_node_name/1]).
+-export([setopts/2, getopts/2]).
%% ------------------------------------------------------------
%% Select this protocol based on node name
@@ -72,3 +73,9 @@ close(Socket) ->
is_node_name(Node) when is_atom(Node) ->
inet_tcp_dist:is_node_name(Node).
+
+setopts(S, Opts) ->
+ inet_tcp_dist:setopts(S, Opts).
+
+getopts(S, Opts) ->
+ inet_tcp_dist:getopts(S, Opts).