Lines Matching refs:mail_ip
12 static HASH_TABLE(struct ip_addr *, struct mail_ip *) mail_ips_hash;
14 static struct mail_ip *mail_ips_head, *mail_ips_tail;
15 struct mail_ip *stable_mail_ips;
17 static size_t mail_ip_memsize(const struct mail_ip *ip)
22 struct mail_ip *mail_ip_login(const struct ip_addr *ip_addr)
24 struct mail_ip *ip;
34 ip = i_malloc(MALLOC_ADD(sizeof(struct mail_ip), stats_alloc_size()));
50 void mail_ip_disconnected(struct mail_ip *ip)
56 struct mail_ip *mail_ip_lookup(const struct ip_addr *ip_addr)
61 void mail_ip_ref(struct mail_ip *ip)
66 void mail_ip_unref(struct mail_ip **_ip)
68 struct mail_ip *ip = *_ip;
76 static void mail_ip_free(struct mail_ip *ip)
90 void mail_ip_refresh(struct mail_ip *ip, const struct stats *diff_stats)