1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

add IPv6 check for Link-Local unicast address

This commit is contained in:
Karas Lukáš
2019-10-01 17:08:01 +02:00
parent de247fcbc8
commit 608b48f25c
2 changed files with 13 additions and 0 deletions

View File

@@ -230,6 +230,14 @@ public:
*/
bool is_multicast() const;
/**
* \brief Return true fi this is a Link-Local unicast IPv6 address.
*
* This method returns true fi this address is in the address range
* fe80::/10, false otherwise
*/
bool is_local_unicast() const;
/**
* \brief Returns the size of an IPv6 Address.
*