summaryrefslogtreecommitdiff
path: root/inet/netinet/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'inet/netinet/in.h')
-rw-r--r--inet/netinet/in.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 7ec6741eb1..6aee842530 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -273,6 +273,29 @@ struct ipv6_mreq
};
+/* Multicast group request. */
+struct group_req
+ {
+ /* Interface index. */
+ uint32_t gr_interface;
+
+ /* Group address. */
+ struct sockaddr_storage gr_group;
+ };
+
+struct group_source_req
+ {
+ /* Interface index. */
+ uint32_t gsr_interface;
+
+ /* Group address. */
+ struct sockaddr_storage gsr_group;
+
+ /* Source address. */
+ struct sockaddr_storage gsr_source;
+ };
+
+
/* Get system-specific definitions. */
#include <bits/in.h>