Lines Matching defs:ip
10 static bool imap_remote_ip_is_usable(const struct ip_addr *ip)
14 if (ip->family == 0)
16 if (ip->family == AF_INET) {
18 addr = ip->u.ip4.s_addr;
29 else if (ip->family == AF_INET6) {
30 addr = ip->u.ip6.s6_addr[0];
38 imap_keepalive_interval_msecs(const char *username, const struct ip_addr *ip,
43 client_hash = ip != NULL && imap_remote_ip_is_usable(ip) ?
44 net_ip_hash(ip) : crc32_str(username);