Lines Matching refs:nsrcs
840 u_int group, nsrcs, ngroups; in mldv2_report_print() local
865 nsrcs = (bp[group + 2] << 8) + bp[group + 3]; in mldv2_report_print()
867 if (len < group + 20 + (nsrcs * sizeof(struct in6_addr))) { in mldv2_report_print()
868 printf(" [invalid number of sources %d]", nsrcs); in mldv2_report_print()
872 printf(", %d source(s)", nsrcs); in mldv2_report_print()
876 for (j = 0; j < nsrcs; j++) { in mldv2_report_print()
884 group += 20 + nsrcs * sizeof(struct in6_addr); in mldv2_report_print()
900 u_int nsrcs; in mldv2_query_print() local
938 nsrcs = EXTRACT_16BITS(&bp[26]); in mldv2_query_print()
939 if (nsrcs > 0) { in mldv2_query_print()
940 if (len < 28 + nsrcs * sizeof(struct in6_addr)) in mldv2_query_print()
944 for (i = 0; i < nsrcs; i++) { in mldv2_query_print()
951 printf(", %d source(s)", nsrcs); in mldv2_query_print()