Lines Matching refs:igmp
39 #include <netinet/igmp.h>
45 static void interpret_igmpv3qry(struct igmp *, int);
46 static void interpret_igmpv3rpt(struct igmp *, int);
55 struct igmp *igmp = (struct igmp *)data;
65 switch (igmp->igmp_type) {
68 if (igmp->igmp_code == 0)
105 "Type = %d (%s)", igmp->igmp_type, pt);
107 "Max Response Time = %d", igmp->igmp_code);
109 "Checksum = %x", ntohs(igmp->igmp_cksum));
111 if (igmp->igmp_type == IGMP_MEMBERSHIP_QUERY &&
113 interpret_igmpv3qry(igmp, ilen);
114 } else if (igmp->igmp_type == IGMP_V3_MEMBERSHIP_REPORT) {
115 interpret_igmpv3rpt(igmp, ilen);
119 inet_ntop(AF_INET, &igmp->igmp_group.s_addr,
128 interpret_igmpv3qry(struct igmp *igmp, int ilen)
142 qry = (struct igmp3q *)igmp;
176 interpret_igmpv3rpt(struct igmp *igmp, int ilen)
191 rpt = (struct igmp3r *)igmp;