Lines Matching refs:prefixlen
407 const int prefixlen, const int afilen) in make_addressPrefix() argument
409 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix()
412 if (prefixlen < 0 || prefixlen > (afilen * 8)) in make_addressPrefix()
444 int i, prefixlen; in make_addressRange() local
449 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) in make_addressRange()
450 return make_addressPrefix(result, min, prefixlen, length); in make_addressRange()
609 unsigned char *a, const int prefixlen) in X509v3_addr_add_prefix() argument
615 || !make_addressPrefix(&aor, a, prefixlen, length_from_afi(afi))) in X509v3_addr_add_prefix()
957 int prefixlen, i1, i2, delim, length; in v2i_IPAddrBlocks() local
1038 prefixlen = (int)strtoul(s + i2, &t, 10); in v2i_IPAddrBlocks()
1041 || prefixlen > (length * 8) in v2i_IPAddrBlocks()
1042 || prefixlen < 0) { in v2i_IPAddrBlocks()
1047 if (!X509v3_addr_add_prefix(addr, afi, safi, min, prefixlen)) { in v2i_IPAddrBlocks()