summaryrefslogtreecommitdiff
path: root/include/netinet/igmp.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-09 02:16:27 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-09 02:16:27 +0000
commit7513fde29d278751593c6d3130d25c3c773acccb (patch)
tree34e94972b0c3be3a0fceb59730adc960044edbbd /include/netinet/igmp.h
parent42fb99c79e95e7b6c557f3e30b77916411f71084 (diff)
Revert to the old set of includes.
-Erik
Diffstat (limited to 'include/netinet/igmp.h')
-rw-r--r--include/netinet/igmp.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/netinet/igmp.h b/include/netinet/igmp.h
new file mode 100644
index 000000000..4525630e1
--- /dev/null
+++ b/include/netinet/igmp.h
@@ -0,0 +1,24 @@
+#ifndef _NETINET_IGMP_H
+#define _NETINET_IGMP_H
+
+#include <linux/igmp.h>
+
+#ifdef __BSD_SOURCE
+
+struct igmp
+{
+ __u8 igmp_type;
+ __u8 igmp_code;
+ __u16 igmp_cksum;
+ struct in_addr igmp_group;
+};
+
+#define IGMP_MINLEN 8
+#define IGMP_MAX_HOST_REPORT_DELAY 10
+#define IGMP_TIMER_SCALE 10
+
+#define IGMP_AGE_THRESHOLD 540
+
+#endif
+
+#endif /* _NETINET_IGMP_H */