7 #define IGMP_QUERY 0x11
8 #define IGMPv1_REPORT 0x12
9 #define IGMPv2_REPORT 0x16
10 #define IGMP_LEAVE 0x17
11 #define GROUP_ALL_HOSTS 0xe0000001 /* 224.0.0.1 Host byte order */
13 #define MULTICAST_MASK 0xf0000000
14 #define MULTICAST_NETWORK 0xe0000000
23 uint8_t response_time
;
28 struct igmp_ip_t
{ /* Format of an igmp ip packet */
30 uint8_t router_alert
[4]; /* Router alert option */
39 extern void join_group ( int slot
, unsigned long group
);
40 extern void leave_group ( int slot
);