Lines Matching refs:nsrcs
152 u_int group, nsrcs, ngroups; in print_igmpv3_report() local
175 nsrcs = EXTRACT_16BITS(&bp[group+2]); in print_igmpv3_report()
177 if (len < group+8+(nsrcs<<2)) { in print_igmpv3_report()
178 ND_PRINT((ndo, " [invalid number of sources %d]", nsrcs)); in print_igmpv3_report()
182 ND_PRINT((ndo, ", %d source(s)", nsrcs)); in print_igmpv3_report()
186 for (j=0; j<nsrcs; j++) { in print_igmpv3_report()
193 group += 8 + (nsrcs << 2); in print_igmpv3_report()
208 u_int nsrcs; in print_igmpv3_query() local
238 nsrcs = EXTRACT_16BITS(&bp[10]); in print_igmpv3_query()
239 if (nsrcs > 0) { in print_igmpv3_query()
240 if (len < 12 + (nsrcs << 2)) in print_igmpv3_query()
244 for (i=0; i<nsrcs; i++) { in print_igmpv3_query()
250 ND_PRINT((ndo, ", %d source(s)", nsrcs)); in print_igmpv3_query()