Lines Matching refs:numsrc
101 * int numsrc)
105 struct in_addr *sources, int numsrc)
108 for (i=0;i< numsrc; i++){
212 int numsrc,
222 for (i=0;i<numsrc;i++) {
234 if (check_src(src->igmps_source,sources,numsrc) == TRUE){
257 int numsrc,
272 if ((check_src_set(sr->igmps_source,old_src_set) == TRUE)&& (check_src(sr->igmps_source,sources,numsrc) == TRUE)){
297 for (i=0;i<numsrc;i++){
300 if ((check_src_set(sr->igmps_source,old_src_set) == FALSE) && (check_src(sr->igmps_source,sources,numsrc) == TRUE)){
309 if ((check_src(sr->igmps_source,sources,numsrc) == TRUE) && (sr->igmps_timer == 0)){
342 int numsrc,
374 for(i=0;i<numsrc;i++){
377 if ((check_src_set(src->igmps_source,old_src_set) == FALSE) && check_src(src->igmps_source,sources,numsrc) == TRUE) {
381 if ((check_src_set(src->igmps_source,old_src_set) == TRUE) && check_src(src->igmps_source,sources,numsrc) == FALSE){
388 for (i=0;i<numsrc;i++){
392 if ((check_src_set(src->igmps_source,old_src_set) == FALSE) && (check_src(src->igmps_source,sources,numsrc) == TRUE)){
398 if ((check_src(src->igmps_source,sources,numsrc) == FALSE) && (check_src_set(src->igmps_source,old_src_set) == TRUE)){
430 if(numsrc == 0)
448 int numsrc,
504 for (i=0;i<numsrc;i++){
508 if ((check_src(src->igmps_source,sources,numsrc) == TRUE) && (check_src_set(src->igmps_source,old_src_set) == FALSE)){
531 if ((check_src(sr->igmps_source,sources,numsrc) == FALSE) && (check_src_set(sr->igmps_source,old_src_set) == TRUE )){
565 if ((check_src(sr->igmps_source,sources,numsrc) == FALSE) && (check_src_set(sr->igmps_source,old_src_set) == TRUE ) && (sr->igmps_timer > 0)){
609 int numsrc,
618 //printf("%s, %d, general_query_count %d gp->igmpg_fmode %d,numsrc %d\n",__FUNCTION__,__LINE__,general_query_count,gp->igmpg_fmode,numsrc);
619 if(numsrc == 0)
637 for (i=0;i < numsrc;i++){
640 if ((check_src_set(src->igmps_source,old_src_set) == FALSE) && (check_src(src->igmps_source,sources,numsrc) == TRUE)){
646 if ((check_src(src->igmps_source,sources,numsrc) == FALSE) && (check_src_set(src->igmps_source,old_src_set) == TRUE)){
656 for (i=0;i< numsrc; i++){
658 if ((check_src_set(src->igmps_source,old_src_set) == FALSE) && (check_src(src->igmps_source,sources,numsrc) == TRUE)){
662 if ((check_src(src->igmps_source,sources,numsrc) == FALSE) && (check_src_set(src->igmps_source,old_src_set) == TRUE)){
673 member = (membership_db*)update_multi(router,gp->igmpg_addr,gp->igmpg_fmode,numsrc,sources);
691 int numsrc,
702 for (i=0;i < numsrc;i++){
705 if (check_src(src->igmps_source,sources,numsrc) == TRUE){
972 * void sch_group_specq_add(router,ifp,gp,sources,numsrc)
979 int numsrc)
983 if (numsrc != 0){
988 sch->numsrc = numsrc;
989 for (i=0;i<numsrc;i++)
1007 struct in_addr *group, struct in_addr *sources, int numsrc, int SRSP)
1026 if (numsrc != 0 && version == IGMP_VERSION_3) {
1027 pbuf = (char*) malloc(sizeof(*query) + numsrc * sizeof(struct in_addr));
1055 igmplen = sizeof(*query)+(numsrc-1)*sizeof(struct in_addr);
1067 query->igmpq_numsrc = htons(numsrc);
1068 for (i=0; i<numsrc; i++){
1081 //size=sizeof(*query)+(numsrc-1)*sizeof(struct in_addr);
1124 int numsrc)
1130 for (i=0;i < numsrc; i++){
1138 sch_group_specq_add(ifp,gp->igmpg_addr,sources,numsrc);
1182 for (i=0;i < sch->numsrc; i++){
1225 if (sch->numsrc == 0){
1929 int numsrc,
1945 if (numsrc == 0){
1951 for (i=0;i < numsrc; i++){