summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 4df2b87..380b8c3 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -467,6 +467,14 @@ struct route_in6 {
* the source address.
*/
+/*
+ * The following option is private; do not use it from user applications.
+ * It is deliberately defined to the same value as IP_MSFILTER.
+ */
+#define IPV6_MSFILTER 74 /* struct __msfilterreq;
+ * set/get multicast source filter list.
+ */
+
/* to define items, should talk with KAME guys first, for *BSD compatibility */
#define IPV6_RTHDR_LOOSE 0 /* this hop need not be a neighbor. XXX old spec */
@@ -487,6 +495,18 @@ struct ipv6_mreq {
unsigned int ipv6mr_interface;
};
+#ifdef notyet
+/*
+ * Argument structure for IPV6_ADD_SOURCE_MEMBERSHIP,
+ * IPV6_DROP_SOURCE_MEMBERSHIP, IPV6_BLOCK_SOURCE, and IPV6_UNBLOCK_SOURCE.
+ */
+struct ipv6_mreq_source {
+ struct in6_addr ipv6mr_multiaddr;
+ struct in6_addr ipv6mr_sourceaddr;
+ uint32_t ipv6mr_interface;
+};
+#endif
+
/*
* IPV6_PKTINFO: Packet information(RFC2292 sec 5)
*/
OpenPOWER on IntegriCloud