aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/ebin/socket.beambin64540 -> 64588 bytes
-rw-r--r--erts/preloaded/src/socket.erl7
2 files changed, 7 insertions, 0 deletions
diff --git a/erts/preloaded/ebin/socket.beam b/erts/preloaded/ebin/socket.beam
index 125191c1d0..5b14af3ad8 100644
--- a/erts/preloaded/ebin/socket.beam
+++ b/erts/preloaded/ebin/socket.beam
Binary files differ
diff --git a/erts/preloaded/src/socket.erl b/erts/preloaded/src/socket.erl
index 3d65f52a2b..8af052e149 100644
--- a/erts/preloaded/src/socket.erl
+++ b/erts/preloaded/src/socket.erl
@@ -228,6 +228,12 @@
-type ipv6_pmtudisc() :: ip_pmtudisc().
+-type ipv6_pktinfo() :: #{
+ addr := ip6_address(),
+ ifindex := integer()
+ }.
+
+
-type sctp_assoc_id() :: int32().
-type sctp_sndrcvinfo() :: #{
stream := uint16(),
@@ -560,6 +566,7 @@
integer().
-type cmsghdr_data() :: timeval() | % if level = socket and type = timstamp
ip_pktinfo() | % if level = ip and type = pktinfo
+ ipv6_pktinfo() | % if level = ipv6 and type = pktinfo
ip_tos() | % if level = ip and type = tos
integer() | % if level = ip and type = ttl
sockaddr_in4() | % if level = ip and type = origdstaddr