summaryrefslogtreecommitdiff
path: root/ACE/ace/INET_Addr.h
diff options
context:
space:
mode:
authorJustin R. Wilson <wilsonj@objectcomputing.com>2020-03-24 13:54:23 -0500
committerJustin R. Wilson <wilsonj@objectcomputing.com>2020-03-24 14:05:24 -0500
commitc8bd212bddc177f4d740961171f4ff3a275d34c4 (patch)
tree189d7aaabd5e10e788b4511ca32b54fbc43627b5 /ACE/ace/INET_Addr.h
parentc2bb0005cf63ab06f9e991418fdee5b22a3c8db8 (diff)
downloadATCD-c8bd212bddc177f4d740961171f4ff3a275d34c4.tar.gz
Add is_sitelocal predicate to INET_Addr
Diffstat (limited to 'ACE/ace/INET_Addr.h')
-rw-r--r--ACE/ace/INET_Addr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ACE/ace/INET_Addr.h b/ACE/ace/INET_Addr.h
index 7e1ad8bcbd0..29c87f8cf55 100644
--- a/ACE/ace/INET_Addr.h
+++ b/ACE/ace/INET_Addr.h
@@ -345,6 +345,9 @@ public:
/// Return @c true if the IP address is IPv6 linklocal address.
bool is_linklocal (void) const;
+ /// Return @c true if the IP address is IPv6 sitelocal address.
+ bool is_sitelocal (void) const;
+
/// Return @c true if the IP address is IPv4-mapped IPv6 address.
bool is_ipv4_mapped_ipv6 (void) const;