Lines Matching refs:prefixlen
397 const int prefixlen, const int afilen) in make_addressPrefix() argument
399 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix()
402 if (prefixlen < 0 || prefixlen > (afilen * 8)) in make_addressPrefix()
437 int i, prefixlen; in make_addressRange() local
442 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) in make_addressRange()
443 return make_addressPrefix(result, min, prefixlen, length); in make_addressRange()
601 unsigned char *a, const int prefixlen) in X509v3_addr_add_prefix() argument
607 || !make_addressPrefix(&aor, a, prefixlen, length_from_afi(afi))) in X509v3_addr_add_prefix()
941 int prefixlen, i1, i2, delim, length; in v2i_IPAddrBlocks() local
1020 prefixlen = (int)strtoul(s + i2, &t, 10); in v2i_IPAddrBlocks()
1023 || prefixlen > (length * 8) in v2i_IPAddrBlocks()
1024 || prefixlen < 0) { in v2i_IPAddrBlocks()
1029 if (!X509v3_addr_add_prefix(addr, afi, safi, min, prefixlen)) { in v2i_IPAddrBlocks()