Lines Matching refs:nsrcs
1410 u_int group, nsrcs, ngroups; in mldv2_report_print() local
1435 nsrcs = (bp[group + 2] << 8) + bp[group + 3]; in mldv2_report_print()
1437 if (len < group + 20 + (nsrcs * sizeof(struct in6_addr))) { in mldv2_report_print()
1438 ND_PRINT((ndo," [invalid number of sources %d]", nsrcs)); in mldv2_report_print()
1442 ND_PRINT((ndo,", %d source(s)", nsrcs)); in mldv2_report_print()
1446 for (j = 0; j < nsrcs; j++) { in mldv2_report_print()
1454 group += 20 + nsrcs * sizeof(struct in6_addr); in mldv2_report_print()
1470 u_int nsrcs; in mldv2_query_print() local
1508 nsrcs = EXTRACT_16BITS(&bp[26]); in mldv2_query_print()
1509 if (nsrcs > 0) { in mldv2_query_print()
1510 if (len < 28 + nsrcs * sizeof(struct in6_addr)) in mldv2_query_print()
1514 for (i = 0; i < nsrcs; i++) { in mldv2_query_print()
1521 ND_PRINT((ndo,", %d source(s)", nsrcs)); in mldv2_query_print()