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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user