aboutsummaryrefslogtreecommitdiffstats
path: root/sys/socket_inet6.txt
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-04-07 17:56:19 +0200
committerAndrey Konovalov <andreyknvl@google.com>2017-04-08 20:20:38 +0200
commit274ac94f7cfcea0264d4bdc94fbcd6369d960835 (patch)
tree9152a1b66cb80a86414dba1f897010e1597c9457 /sys/socket_inet6.txt
parent0982b00b6d5f8a5f4bf0e96883df60c55c278585 (diff)
sys: use ipv4_addr & ipv6_addr instead of in_addr & in6_addr
Diffstat (limited to 'sys/socket_inet6.txt')
-rw-r--r--sys/socket_inet6.txt23
1 files changed, 5 insertions, 18 deletions
diff --git a/sys/socket_inet6.txt b/sys/socket_inet6.txt
index c0bd80e2c..f7a40ab87 100644
--- a/sys/socket_inet6.txt
+++ b/sys/socket_inet6.txt
@@ -16,26 +16,11 @@ sock_in6_pair {
}
-in6_addr_empty {
- a0 const[0, int64be]
- a1 const[0, int64be]
-}
-
-in6_addr_loopback {
- a0 const[0, int64be]
- a1 const[1, int64be]
-}
-
-in6_addr [
- empty in6_addr_empty
- loopback in6_addr_loopback
-]
-
sockaddr_in6 {
family const[AF_INET6, int16]
port proc[int16be, 20000, 4]
flow int32
- addr in6_addr
+ addr ipv6_addr
scope int32
}
@@ -74,8 +59,10 @@ sockopt_opt_ipv6_int = IPV6_ADDRFORM, IPV6_MTU, IPV6_MULTICAST_HOPS, IPV6_MULTIC
sockopt_opt_ipv6_mreq = IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST
ipv6_mreq {
- multi in6_addr
+ multi ipv6_addr
ifindex int32
}
-# TODO: ipv6 ioctls
+# IPv6 ioctls
+
+# TODO: http://lxr.free-electrons.com/ident?i=inet6_ioctl