diff options
Diffstat (limited to 'src/shared/in-addr-util.h')
-rw-r--r-- | src/shared/in-addr-util.h | 3 |
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); |