Searched refs:addr_bytes (Results 1 – 4 of 4) sorted by relevance
119 unsigned char *addr_bytes) in cidr_match_entry() argument128 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() local157 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()
52 void mask_addr(unsigned char *addr_bytes, in mask_addr() argument62 p = addr_bytes + network_bits / CHAR_BIT; in mask_addr()68 while (p < addr_bytes + addr_byte_count) in mask_addr()
274 int ip_match_execute(const char *byte_codes, const char *addr_bytes) in ip_match_execute() argument295 ap = (const unsigned char *) addr_bytes; in ip_match_execute()
2203 uint8_t* addr_bytes = (uint8_t*)addr; in parse_acl_range_subnet() local2214 *addr_bytes++ = 0xff; in parse_acl_range_subnet()2219 *addr_bytes = shifts[subnet_bits]; in parse_acl_range_subnet()