Home
last modified time | relevance | path

Searched refs:cidr (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/rds/
Ddbsecuritygroup.py60 cidr = IPRange(self)
61 self.ip_ranges.append(cidr)
62 return cidr
/external/android-clat/
Dsetif.h21 int add_address(const char *ifname, int family, const void *address, int cidr, const void *broadcas…
/external/dhcpcd-6.8.2/
Dipv4.c63 uint8_t cidr = 0; in inet_ntocidr() local
67 cidr++; in inet_ntocidr()
70 return cidr; in inet_ntocidr()
74 inet_cidrtoaddr(int cidr, struct in_addr *addr) in inet_cidrtoaddr() argument
78 if (cidr < 1 || cidr > 32) { in inet_cidrtoaddr()
82 ocets = (cidr + 7) / NBBY; in inet_cidrtoaddr()
88 (256 - (1 << (32 - cidr) % NBBY)), 1); in inet_cidrtoaddr()
Ddhcp.c294 uint8_t cidr; in decode_rfc3442() local
306 cidr = *p++; in decode_rfc3442()
307 if (cidr > 32) { in decode_rfc3442()
311 ocets = (size_t)(cidr + 7) / NBBY; in decode_rfc3442()
333 b = snprintf(o, len, "%s/%d", inet_ntoa(addr), cidr); in decode_rfc3442()
358 uint8_t cidr; in decode_rfc3442_rt() local
371 cidr = *p++; in decode_rfc3442_rt()
372 if (cidr > 32) { in decode_rfc3442_rt()
378 ocets = (size_t)(cidr + 7) / NBBY; in decode_rfc3442_rt()
397 rt->net.s_addr = htonl(~0U << (32 - cidr)); in decode_rfc3442_rt()
[all …]
/external/iptables/libxtables/
Dxtables.c1243 uint32_t cidr; in xtables_ipmask_to_numeric() local
1245 cidr = xtables_ipmask_to_cidr(mask); in xtables_ipmask_to_numeric()
1246 if (cidr < 0) { in xtables_ipmask_to_numeric()
1250 } else if (cidr == 32) { in xtables_ipmask_to_numeric()
1255 sprintf(buf, "/%d", cidr); in xtables_ipmask_to_numeric()
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c1880 int cidr, tmp; local
1942 for (cidr = 0; tmp != 0; cidr++)
1944 snprintf(cidrstr, 3, "%d", cidr);