Lines Matching refs:cidr
497 uint8_t cidr;
501 /* Minimum is 5 -first is CIDR and a router length of 4 */
509 cidr = *p++;
510 if (cidr > 32) {
514 ocets = (cidr + 7) / 8;
532 b = snprintf(o, len, "%s/%d", inet_ntoa(addr), cidr);
557 uint8_t cidr;
562 /* Minimum is 5 -first is CIDR and a router length of 4 */
568 cidr = *p++;
569 if (cidr > 32) {
583 ocets = (cidr + 7) / 8;
588 rt->net.s_addr = htonl(~0U << (32 - cidr));
1387 char cidr[4];
1421 snprintf(cidr, sizeof(cidr), "%d", inet_ntocidr(net));
1422 setvar(&ep, prefix, "subnet_cidr", cidr);