Lines Matching defs:min
80 const unsigned char *min, const unsigned char *max,
90 if (memcmp(ips[i].min, min, sz) <= 0 &&
151 if (memcmp(ips[i].max, ip->min, sz) <= 0 ||
152 memcmp(ips[i].min, ip->max, sz) >= 0)
254 char min[INET6_ADDRSTRLEN], max[INET6_ADDRSTRLEN];
276 if (inet_ntop(af, ip.min, min, sizeof(min)) == NULL)
281 ret = snprintf(buf, bufsz, "%s--%s", min, max);
287 * Given the addresses (range or IP) in cert_ip, fill in the "min" and
301 memset(p->min, 0x0, sizeof(p->min));
302 memcpy(p->min, p->ip.addr, sz);
309 memset(p->min, 0x0, sizeof(p->min));
310 sz = PREFIX_SIZE(p->range.min.prefixlen);
311 memcpy(p->min, p->range.min.addr, sz);
324 return memcmp(p->min, p->max, sz) <= 0;
336 memset(p->min, 0x0, sizeof(p->min));
337 memcpy(p->min, p->addr.addr, sz);