Home
last modified time | relevance | path

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

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dcidr_match.c119 unsigned char *addr_bytes) in cidr_match_entry() argument
128 ap = addr_bytes; /* void */ ; np++, mp++, ap++) { in cidr_match_entry()
129 if (ap >= addr_bytes + entry->addr_byte_count) in cidr_match_entry()
138 ap = addr_bytes; /* void */ ; np++, ap++) { in cidr_match_entry()
139 if (ap >= addr_bytes + entry->addr_byte_count) in cidr_match_entry()
152 unsigned char addr_bytes[CIDR_MATCH_ABYTES]; in cidr_match_execute() local
157 if (inet_pton(addr_family, addr, addr_bytes) != 1) in cidr_match_execute()
166 if (cidr_match_entry(entry, addr_bytes)) in cidr_match_execute()
172 if (cidr_match_entry(entry, addr_bytes)) in cidr_match_execute()
H A Dmask_addr.c52 void mask_addr(unsigned char *addr_bytes, in mask_addr() argument
62 p = addr_bytes + network_bits / CHAR_BIT; in mask_addr()
68 while (p < addr_bytes + addr_byte_count) in mask_addr()
H A Dip_match.c274 int ip_match_execute(const char *byte_codes, const char *addr_bytes) in ip_match_execute() argument
295 ap = (const unsigned char *) addr_bytes; in ip_match_execute()
/netbsd-src/external/bsd/nsd/dist/
H A Doptions.c2203 uint8_t* addr_bytes = (uint8_t*)addr; in parse_acl_range_subnet() local
2214 *addr_bytes++ = 0xff; in parse_acl_range_subnet()
2219 *addr_bytes = shifts[subnet_bits]; in parse_acl_range_subnet()