Lines Matching refs:cidr
497 uint8_t cidr; in decode_rfc3442() local
509 cidr = *p++; in decode_rfc3442()
510 if (cidr > 32) { in decode_rfc3442()
514 ocets = (cidr + 7) / 8; in decode_rfc3442()
532 b = snprintf(o, len, "%s/%d", inet_ntoa(addr), cidr); in decode_rfc3442()
557 uint8_t cidr; in decode_rfc3442_rt() local
568 cidr = *p++; in decode_rfc3442_rt()
569 if (cidr > 32) { in decode_rfc3442_rt()
583 ocets = (cidr + 7) / 8; in decode_rfc3442_rt()
588 rt->net.s_addr = htonl(~0U << (32 - cidr)); in decode_rfc3442_rt()
1387 char cidr[4]; in configure_env() local
1421 snprintf(cidr, sizeof(cidr), "%d", inet_ntocidr(net)); in configure_env()
1422 setvar(&ep, prefix, "subnet_cidr", cidr); in configure_env()