#include <src/common/types.hpp>
This class represents a Ipv6 prefix.
◆ Ip6Prefix()
otbr::Ip6Prefix::Ip6Prefix |
( |
void |
| ) |
|
|
inline |
◆ Clear()
void otbr::Ip6Prefix::Clear |
( |
void |
| ) |
|
|
inline |
This method clears the Ip6 prefix to be unspecified.
◆ IsValid()
bool otbr::Ip6Prefix::IsValid |
( |
void |
| ) |
const |
|
inline |
This method returns if the Ip6 prefix is valid.
- Returns
- If the Ip6 prefix is valid.
◆ Set()
void otbr::Ip6Prefix::Set |
( |
const otIp6Prefix & |
aPrefix | ) |
|
This method sets the Ip6 prefix to an otIp6Prefix
value.
- Parameters
-
[in] | aPrefix | The otIp6Prefix value to set the Ip6 prefix. |
◆ ToString()
std::string otbr::Ip6Prefix::ToString |
( |
void |
| ) |
const |
This method returns the string representation for the Ip6 prefix.
- Returns
- The string representation of the Ip6 prefix.
The documentation for this class was generated from the following files: