Home
last modified time | relevance | path

Searched refs:net_bytes (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dcidr_match.c127 for (np = entry->net_bytes, mp = entry->mask_bytes, in cidr_match_entry()
137 for (np = entry->net_bytes, in cidr_match_entry()
234 } else if (inet_pton(ip->addr_family, pattern, ip->net_bytes) != 1) { in cidr_match_parse()
254 for (np = ip->net_bytes, mp = ip->mask_bytes; in cidr_match_parse()
255 np < ip->net_bytes + ip->addr_byte_count; np++, mp++) { in cidr_match_parse()
257 mask_addr(ip->net_bytes, ip->addr_byte_count, ip->mask_shift); in cidr_match_parse()
258 if (inet_ntop(ip->addr_family, ip->net_bytes, hostaddr.buf, in cidr_match_parse()
277 if (inet_pton(ip->addr_family, pattern, ip->net_bytes) != 1) { in cidr_match_parse()
H A Dcidr_match.h45 unsigned char net_bytes[CIDR_MATCH_ABYTES]; /* network portion */ member
H A Ddict_cidr.c242 if (inet_ntop(cidr_info.addr_family, cidr_info.net_bytes, in dict_cidr_parse_rule()
/netbsd-src/external/mpl/dhcp/dist/server/
H A Dmdb6.c813 int net_bytes; in build_address6() local
826 net_bytes = net_bits / 8; in build_address6()
827 for (i = 0; i < net_bytes; i++) { in build_address6()
958 int net_bytes; in build_temporary6() local
968 net_bytes = net_bits / 8; in build_temporary6()
969 for (i = 0; i < net_bytes; i++) { in build_temporary6()
972 memcpy(str + net_bytes, md, 16 - net_bytes); in build_temporary6()
1788 int net_bytes; in build_prefix6() local
1806 net_bytes = pool_bits / 8; in build_prefix6()
1807 for (i = 0; i < net_bytes; i++) { in build_prefix6()
[all …]