Lines Matching refs:nsrcs
156 u_int group, nsrcs, ngroups; in print_igmpv3_report() local
179 nsrcs = EXTRACT_16BITS(&bp[group+2]); in print_igmpv3_report()
181 if (len < group+8+(nsrcs<<2)) { in print_igmpv3_report()
182 (void)printf(" [invalid number of sources %d]", nsrcs); in print_igmpv3_report()
186 (void)printf(", %d source(s)", nsrcs); in print_igmpv3_report()
190 for (j=0; j<nsrcs; j++) { in print_igmpv3_report()
197 group += 8 + (nsrcs << 2); in print_igmpv3_report()
212 u_int nsrcs; in print_igmpv3_query() local
242 nsrcs = EXTRACT_16BITS(&bp[10]); in print_igmpv3_query()
243 if (nsrcs > 0) { in print_igmpv3_query()
244 if (len < 12 + (nsrcs << 2)) in print_igmpv3_query()
248 for (i=0; i<nsrcs; i++) { in print_igmpv3_query()
254 (void)printf(", %d source(s)", nsrcs); in print_igmpv3_query()