ESP-IDF
ot::Utils::Slaac::SlaacAddress
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Utils::Slaac::SlaacAddress
ot::Utils::Slaac::SlaacAddress class
Syntax
Show:
Summary
Declaration
from
slaac_address.hpp:168
class
SlaacAddress
:
public
Ip6
::
Netif
::
UnicastAddress
{
public
:
static
constexpr
uint8_t
kInvalidContextId
=
0
;
bool
IsInUse
(
void
)
const
{
return
mValid
;
}
void
MarkAsNotInUse
(
void
)
{
mValid
=
false
;
}
uint8_t
GetContextId
(
void
)
const
{
return
mContextId
;
}
void
SetContextId
(
uint8_t
aContextId
)
{
mContextId
=
aContextId
;
}
uint8_t
GetDomainId
(
void
)
const
{
return
mDomainId
;
}
void
SetDomainId
(
uint8_t
aDomainId
)
{
mDomainId
=
aDomainId
;
}
bool
IsDeprecating
(
void
)
const
{
return
(
mExpirationTime
.
GetValue
(
)
!=
kNotDeprecated
)
;
}
;
void
MarkAsNotDeprecating
(
void
)
{
mExpirationTime
.
SetValue
(
kNotDeprecated
)
;
}
TimeMilli
GetExpirationTime
(
void
)
const
{
return
mExpirationTime
;
}
void
SetExpirationTime
(
TimeMilli
aTime
)
{
mExpirationTime
=
aTime
;
if
(
mExpirationTime
.
GetValue
(
)
==
kNotDeprecated
)
{
mExpirationTime
.
SetValue
(
kNotDeprecated
+
1
)
;
}
}
private
:
static
constexpr
uint32_t
kNotDeprecated
=
0
;
uint8_t
mContextId
;
uint8_t
mDomainId
;
TimeMilli
mExpirationTime
;
}
;
Fields
Field
Declared as
ot::Utils::Slaac::SlaacAddress::kInvalidContextId
ot::Utils::Slaac::SlaacAddress::kNotDeprecated
ot::Utils::Slaac::SlaacAddress::mContextId
uint8_t
ot::Utils::Slaac::SlaacAddress::mDomainId
uint8_t
ot::Utils::Slaac::SlaacAddress::mExpirationTime
TimeMilli
Methods
IsInUse() const
MarkAsNotInUse()
GetContextId() const
SetContextId()
GetDomainId() const
SetDomainId()
IsDeprecating() const
MarkAsNotDeprecating()
GetExpirationTime() const
SetExpirationTime()
Related Functions
Found 4 other functions taking a
SlaacAddress
argument:
Function
ot::Utils::Slaac::LogAddress()
ot::Utils::Slaac::RemoveAddress()
ot::Utils::Slaac::UpdateContextIdFor()
ot::Utils::Slaac::DeprecateAddress()
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out