Searched refs:byte_codes (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | ip_match.c | 144 char *ip_match_save(const VSTRING *byte_codes) in ip_match_save() argument 148 dst = mymalloc(LEN(byte_codes)); in ip_match_save() 149 return (memcpy(dst, STR(byte_codes), LEN(byte_codes))); in ip_match_save() 154 char *ip_match_dump(VSTRING *printable, const char *byte_codes) in ip_match_dump() argument 164 if (*byte_codes != AF_INET) in ip_match_dump() 173 bp = (const unsigned char *) byte_codes + 1; in ip_match_dump() 246 static char *ip_match_print_code_prefix(const char *byte_codes, size_t len) in ip_match_print_code_prefix() argument 265 fmt = (*byte_codes == AF_INET ? "%d " : "%02x "); in ip_match_print_code_prefix() 266 for (bp = byte_codes; bp < byte_codes + len; bp++) in ip_match_print_code_prefix() 274 int ip_match_execute(const char *byte_codes, const char *addr_bytes) in ip_match_execute() argument [all …]
|
/netbsd-src/external/ibm-public/postfix/dist/src/postscreen/ |
H A D | postscreen_dnsbl.c | 126 char *byte_codes; /* encoded filter (default: null) */ member 227 VSTRING *byte_codes = 0; in psc_dnsbl_add_site() local 254 byte_codes = vstring_alloc(100); in psc_dnsbl_add_site() 255 if ((parse_err = ip_match_parse(byte_codes, pattern_text)) != 0) in psc_dnsbl_add_site() 292 new_site->byte_codes = (byte_codes ? ip_match_save(byte_codes) : 0); in psc_dnsbl_add_site() 298 if (byte_codes) in psc_dnsbl_add_site() 299 vstring_free(byte_codes); in psc_dnsbl_add_site() 430 if (site->byte_codes == 0 in psc_dnsbl_receive() 431 || psc_dnsbl_match(site->byte_codes, reply_argv ? reply_argv : in psc_dnsbl_receive()
|
/netbsd-src/external/ibm-public/postfix/dist/src/smtpd/ |
H A D | smtpd_check.c | 3460 VSTRING *byte_codes = vstring_alloc(100); in rbl_byte_pagein() local 3465 if ((err = ip_match_parse(byte_codes, saved_query)) != 0) in rbl_byte_pagein() 3467 saved_byte_codes = ip_match_save(byte_codes); in rbl_byte_pagein() 3469 vstring_free(byte_codes); in rbl_byte_pagein() 3598 static int rbl_match_addr(SMTPD_RBL_STATE *rbl, const char *byte_codes) in rbl_match_addr() argument 3605 if (ip_match_execute(byte_codes, rr->data)) in rbl_match_addr() 3627 const char *byte_codes; in find_dnsxl_addr() local 3672 byte_codes = ctable_locate(smtpd_rbl_byte_cache, reply_addr); in find_dnsxl_addr() 3678 && !rbl_match_addr(rbl, byte_codes)) in find_dnsxl_addr() 3747 const char *byte_codes; in find_dnsxl_domain() local [all …]
|