Home | History | Annotate | Download | only in libpcap

Lines Matching refs:masklen

6334 gen_mcode(s1, s2, masklen, q)
6336 register int masklen;
6355 if (masklen > 32)
6357 if (masklen == 0) {
6364 m = 0xffffffff << (32 - masklen);
6367 s1, masklen);
6493 gen_mcode6(s1, s2, masklen, q)
6495 register int masklen;
6515 if (sizeof(mask) * 8 < masklen)
6518 memset(&mask, 0xff, masklen / 8);
6519 if (masklen % 8) {
6520 mask.s6_addr[masklen / 8] =
6521 (0xff << (8 - masklen % 8)) & 0xff;
6528 bpf_error("non-network bits set in \"%s/%d\"", s1, masklen);
6535 if (masklen != 128)