Lines Matching refs:igmpr_group
675 if (! IN_MULTICAST(ntohl(report->igmpr_group.s_addr)))
678 if(!igmp_interface_group_lookup(ifp,report->igmpr_group))
680 send_membership_report_v12(router,report->igmpr_group,version);
684 if ((gp = igmp_interface_group_add(router,ifp, report->igmpr_group)) == NULL)
746 if ((ifp->igmpi_addr.s_addr == upstream) && (src.s_addr != upstream) && (VALID_ADDR(report->igmpr_group[0].igmpg_group)))
757 if (! IN_MULTICAST(ntohl(report->igmpr_group[i].igmpg_group.s_addr)))
760 if(report->igmpr_group[i].igmpg_group.s_addr == inet_addr(IGMP_ALL_ROUTERS))
763 if (igmp_interface_group_lookup(ifp, report->igmpr_group[i].igmpg_group) == NULL
764 && report->igmpr_group[i].igmpg_type == CHANGE_TO_INCLUDE)
768 if ((gp = igmp_interface_group_add(router,ifp, report->igmpr_group[i].igmpg_group)) == NULL)
775 type = (u_char)report->igmpr_group[i].igmpg_type;
776 numsrc = ntohs(report->igmpr_group[i].igmpg_numsrc);
781 igmp_group_handle_isin(router,ifp,gp,numsrc,(struct in_addr *) (&report->igmpr_group[i].igmpg_group+4));
784 igmp_group_handle_isex(router,ifp,gp,numsrc,(struct in_addr *) (&report->igmpr_group[i].igmpg_group+4));
788 igmp_group_handle_toin(router,ifp,gp,numsrc,rep,(struct in_addr *) (&report->igmpr_group[i].igmpg_group+4));
792 igmp_group_handle_toex(router,ifp,gp,numsrc,(struct in_addr *) (&report->igmpr_group[i].igmpg_group+4));
795 igmp_group_handle_allow(router,ifp,gp,numsrc,(struct in_addr *) (&report->igmpr_group[i].igmpg_group+4));
798 igmp_group_handle_block(router,ifp,gp,numsrc,(struct in_addr *) (&report->igmpr_group[i].igmpg_group+4));
1745 if (! IN_MULTICAST(ntohl(report->igmpr_group.s_addr)))
1748 if((gp = igmp_interface_group_lookup(ifp, report->igmpr_group)) == NULL)