| 86 | unsigned short proto); |
| 87 | |
| 88 | static inline int check_blacklists( unsigned short proto, |
| 89 | union sockaddr_union *to, char *body_s, int body_len) |
| 90 | { |
| 91 | str body; |
| 92 | struct ip_addr ip; |
| 93 | unsigned short port; |
| 94 | |
| 95 | body.s = body_s; |
| 96 | body.len = body_len; |
| 97 | su2ip_addr(&ip, to); |
| 98 | port = su_getport(to); |
| 99 | return check_against_blacklist(&ip, &body, port, proto); |
| 100 | } |
| 101 | |
| 102 | |
| 103 | struct bl_net_flags { |
no test coverage detected