Searched refs:nsrcs (Results 1 - 2 of 2) sorted by relevance
/external/tcpdump/ |
H A D | print-igmp.c | 156 u_int group, nsrcs, ngroups; local 179 nsrcs = EXTRACT_16BITS(&bp[group+2]); 181 if (len < group+8+(nsrcs<<2)) { 182 (void)printf(" [invalid number of sources %d]", nsrcs); 186 (void)printf(", %d source(s)", nsrcs); 190 for (j=0; j<nsrcs; j++) { 197 group += 8 + (nsrcs << 2); 212 u_int nsrcs; local 238 nsrcs = EXTRACT_16BITS(&bp[10]); 239 if (nsrcs > [all...] |
H A D | print-icmp6.c | 746 u_int group, nsrcs, ngroups; local 771 nsrcs = (bp[group + 2] << 8) + bp[group + 3]; 773 if (len < group + 20 + (nsrcs * sizeof(struct in6_addr))) { 774 printf(" [invalid number of sources %d]", nsrcs); 778 printf(", %d source(s)", nsrcs); 782 for (j = 0; j < nsrcs; j++) { 790 group += 20 + nsrcs * sizeof(struct in6_addr); 806 u_int nsrcs; local 844 nsrcs = ntohs(*(u_short *)&bp[26]); 845 if (nsrcs > [all...] |
Completed in 219 milliseconds