Searched defs:ip1 (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/doveadm/
H A Ddoveadm-who.c60 struct ip_addr ip1, ip2; local
62 who_user_ip(user1, &ip1);
64 return net_ip_cmp(&ip1, &ip2);
/dovecot/src/director/
H A Dmail-host.c215 struct ip_addr ip1, struct ip_addr ip2,
222 if (ip1.family != ip2.family) {
224 net_ip2addr(&ip1), net_ip2addr(&ip2));
227 if (net_ip_cmp(&ip1, &ip2) > 0) {
229 net_ip2addr(&ip1), net_ip2addr(&ip2));
232 if (IPADDR_IS_V4(&ip1)) {
233 ip1_arr = &ip1.u.ip4.s_addr;
238 ip1_arr = (void *)&ip1.u.ip6;
248 net_ip2addr(&ip1), net_ip2addr(&ip2));
258 net_ip2addr(&ip1), net_ip2add
214 mail_hosts_add_range(struct mail_host_list *list, struct ip_addr ip1, struct ip_addr ip2, const char *tag_name) argument
279 struct ip_addr ip1, ip2; local
[all...]
/dovecot/src/lib/
H A Dnet.c52 bool net_ip_compare(const struct ip_addr *ip1, const struct ip_addr *ip2) argument
54 return net_ip_cmp(ip1, ip2) == 0;
57 int net_ip_cmp(const struct ip_addr *ip1, const struct ip_addr *ip2) argument
59 if (ip1->family != ip2->family)
60 return ip1->family - ip2->family;
62 if (ip1->family == AF_INET6)
63 return memcmp(&ip1->u.ip6, &ip2->u.ip6, sizeof(ip1->u.ip6));
65 return memcmp(&ip1->u.ip4, &ip2->u.ip4, sizeof(ip1
1133 const uint32_t *ip1, *ip2; local
[all...]

Completed in 24 milliseconds