summaryrefslogtreecommitdiff
path: root/src/shared/in-addr-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-30 00:48:59 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-30 00:48:59 +0200
commitaf93291cc4cbd2fe2fb4af7d3c56138fb39f31dc (patch)
tree18600359a8412751275aa86b607f0b35c21e0b3a /src/shared/in-addr-util.h
parent2442b93d15f5523aba0c5dc56a42757af889c483 (diff)
resolved: when answer A or AAAA questions, order responses by whether addresses are link-local or not
Diffstat (limited to 'src/shared/in-addr-util.h')
-rw-r--r--src/shared/in-addr-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/in-addr-util.h b/src/shared/in-addr-util.h
index cff2c321ed..7d1d6baa27 100644
--- a/src/shared/in-addr-util.h
+++ b/src/shared/in-addr-util.h
@@ -31,7 +31,8 @@ union in_addr_union {
struct in6_addr in6;
};
-int in_addr_null(int family, const union in_addr_union *u);
+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_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);