summaryrefslogtreecommitdiff
path: root/include/netinet/igmp.h
blob: 4525630e152b043825be6d390d799e0a8f21e374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 */