summaryrefslogtreecommitdiff
path: root/src/basic/in-addr-util.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-11-27 01:18:38 +0100
committerTom Gundersen <teg@jklm.no>2015-11-27 01:18:38 +0100
commit90c739259fc35feb773b953d61f75790cacf6b15 (patch)
treea3057f2649986351c1364626261f46f1880ad7d6 /src/basic/in-addr-util.h
parent8a7a7e971e97830fd722fb73ef87f7180180cc27 (diff)
parentdaa27350c373b3b177f86e89c0d1dbe0b94554d6 (diff)
Merge pull request #2042 from poettering/resolved-various-3
resolved: Flush caches more agressively, fixes #2038
Diffstat (limited to 'src/basic/in-addr-util.h')
-rw-r--r--src/basic/in-addr-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/in-addr-util.h b/src/basic/in-addr-util.h
index 51af08868c..58f55b3418 100644
--- a/src/basic/in-addr-util.h
+++ b/src/basic/in-addr-util.h
@@ -33,6 +33,7 @@ union in_addr_union {
int in_addr_is_null(int family, const union in_addr_union *u);
int in_addr_is_link_local(int family, const union in_addr_union *u);
+int in_addr_is_localhost(int family, const union in_addr_union *u);
int in_addr_equal(int family, const union in_addr_union *a, const union in_addr_union *b);
int in_addr_prefix_intersect(int family, const union in_addr_union *a, unsigned aprefixlen, const union in_addr_union *b, unsigned bprefixlen);
int in_addr_prefix_next(int family, union in_addr_union *u, unsigned prefixlen);