OSDN Git Service

Initial revision
[uclinux-h8/uClibc.git] / include / netinet / igmp.h
1 #ifndef _NETINET_IGMP_H
2 #define _NETINET_IGMP_H
3
4 #include <linux/igmp.h>
5
6 #ifdef __BSD_SOURCE
7
8 struct igmp
9 {
10         __u8 igmp_type;
11         __u8 igmp_code;
12         __u16 igmp_cksum;
13         struct in_addr igmp_group;
14 };
15
16 #define IGMP_MINLEN                     8
17 #define IGMP_MAX_HOST_REPORT_DELAY      10
18 #define IGMP_TIMER_SCALE                10
19
20 #define IGMP_AGE_THRESHOLD              540
21
22 #endif
23
24 #endif /* _NETINET_IGMP_H */