summaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-20 07:53:39 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-20 07:53:39 +0000
commitb82276d1f5138b267031d43aec76748544ea9f23 (patch)
tree944bb5cf6eece656f3bd6d806bba2c3c6aa550ec /inet
parentd8433bd075f7384e5d34940b0da89d8a1a8aab5d (diff)
downloadglibc-b82276d1f5138b267031d43aec76748544ea9f23.tar.gz
Update.
Define struct group_req and struct group_source_req.
Diffstat (limited to 'inet')
-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>