summaryrefslogtreecommitdiffstats
path: root/libc/include/netinet/in6.h
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2009-06-11 19:33:45 -0700
committerLorenzo Colitti <lorenzo@google.com>2009-06-16 18:55:37 -0700
commitc52c174e412fa6c829cf6353ce8dbebdf710511f (patch)
tree0a45a8dbd770b3a7222ff24105cff47ec0b1f978 /libc/include/netinet/in6.h
parent040ae31701ea2583225b5ff9cc5b91de2719f7e8 (diff)
downloadbionic-c52c174e412fa6c829cf6353ce8dbebdf710511f.zip
bionic-c52c174e412fa6c829cf6353ce8dbebdf710511f.tar.gz
bionic-c52c174e412fa6c829cf6353ce8dbebdf710511f.tar.bz2
Make IPv6 definitions comply with RFC 3493:
- Add some definitions to netinet/in6.h - Include netinet/in6.h from netinet/in.h
Diffstat (limited to 'libc/include/netinet/in6.h')
-rw-r--r--libc/include/netinet/in6.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/include/netinet/in6.h b/libc/include/netinet/in6.h
index e645c48..2f5fee1 100644
--- a/libc/include/netinet/in6.h
+++ b/libc/include/netinet/in6.h
@@ -90,4 +90,12 @@
#define INET6_ADDRSTRLEN 46
+#define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP
+#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP
+
+#define IN6ADDR_ANY_INIT {{{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}}
+
+#define ipv6mr_interface ipv6mr_ifindex
+
+
#endif /* _NETINET_IN6_H */