Lines Matching refs:masklen
6504 unsigned int masklen, struct qual q) in gen_mcode() argument
6522 if (masklen > 32) in gen_mcode()
6524 if (masklen == 0) { in gen_mcode()
6531 m = 0xffffffff << (32 - masklen); in gen_mcode()
6534 s1, masklen); in gen_mcode()
6660 unsigned int masklen, struct qual q) in gen_mcode6() argument
6679 if (sizeof(mask) * 8 < masklen) in gen_mcode6()
6682 memset(&mask, 0xff, masklen / 8); in gen_mcode6()
6683 if (masklen % 8) { in gen_mcode6()
6684 mask.s6_addr[masklen / 8] = in gen_mcode6()
6685 (0xff << (8 - masklen % 8)) & 0xff; in gen_mcode6()
6692 bpf_error(cstate, "non-network bits set in \"%s/%d\"", s1, masklen); in gen_mcode6()
6699 if (masklen != 128) in gen_mcode6()