ESP-IDF
ot::Dhcp6::IaNa
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::Dhcp6::IaNa
ot::Dhcp6::IaNa class
Syntax
Show:
Summary
Declaration
from
dhcp6.hpp:380
class
IaNa
:
public
Option
{
public
:
static
constexpr
uint32_t
kDefaultT1
=
0xffffffffU
;
static
constexpr
uint32_t
kDefaultT2
=
0xffffffffU
;
void
Init
(
void
)
{
SetCode
(
kOptionIaNa
)
;
SetLength
(
sizeof
(
*
this
)
-
sizeof
(
Option
)
)
;
}
uint32_t
GetIaid
(
void
)
const
{
return
BigEndian
::
HostSwap32
(
mIaid
)
;
}
void
SetIaid
(
uint32_t
aIaid
)
{
mIaid
=
BigEndian
::
HostSwap32
(
aIaid
)
;
}
uint32_t
GetT1
(
void
)
const
{
return
BigEndian
::
HostSwap32
(
mT1
)
;
}
void
SetT1
(
uint32_t
aT1
)
{
mT1
=
BigEndian
::
HostSwap32
(
aT1
)
;
}
uint32_t
GetT2
(
void
)
const
{
return
BigEndian
::
HostSwap32
(
mT2
)
;
}
void
SetT2
(
uint32_t
aT2
)
{
mT2
=
BigEndian
::
HostSwap32
(
aT2
)
;
}
private
:
uint32_t
mIaid
;
uint32_t
mT1
;
uint32_t
mT2
;
}
;
Fields
Field
Declared as
ot::Dhcp6::IaNa::kDefaultT1
ot::Dhcp6::IaNa::kDefaultT2
ot::Dhcp6::IaNa::mIaid
uint32_t
ot::Dhcp6::IaNa::mT1
uint32_t
ot::Dhcp6::IaNa::mT2
uint32_t
Methods
Init()
Initializes the DHCPv6 Option.
GetIaid() const
Returns client IAID.
SetIaid()
Sets the client IAID.
GetT1() const
Returns T1.
SetT1()
Sets the value of T1.
GetT2() const
Returns T2.
SetT2()
Sets the value of T2.
Related Functions
Found 3 other functions taking a
IaNa
argument:
Function
ot::Dhcp6::Server::AppendIaNa()
ot::Dhcp6::Server::ProcessIaNa()
ot::Dhcp6::Server::SendReply()
Examples
References
from
examples
Code
Location
Scope
Referrer
class
IaNa
:
public
Option
dhcp6.hpp:380
IaNa
option
;
dhcp6_client.cpp:326
ot::Dhcp6::Client::AppendIaNa()
length
=
sizeof
(
IaNa
)
+
sizeof
(
IaAddress
)
*
count
-
sizeof
(
Option
)
;
dhcp6_client.cpp:344
ot::Dhcp6::Client::AppendIaNa()
IaNa
option
;
dhcp6_client.cpp:500
ot::Dhcp6::Client::ProcessIaNa()
IaNa
iana
;
dhcp6_server.cpp:189
ot::Dhcp6::Server::ProcessSolicit()
Error
Server
::
ProcessIaNa
(
Message
&
aMessage
,
uint16_t
aOffset
,
IaNa
&
aIaNa
)
dhcp6_server.cpp:267
ot::Dhcp6::Server::ProcessIaNa()
ot::Dhcp6::Server::ProcessIaNa()::aIaNa
length
=
aIaNa
.
GetLength
(
)
+
sizeof
(
Option
)
-
sizeof
(
IaNa
)
;
dhcp6_server.cpp:276
ot::Dhcp6::Server::ProcessIaNa()
IaNa
&
aIaNa
)
dhcp6_server.cpp:320
ot::Dhcp6::Server::SendReply()
ot::Dhcp6::Server::SendReply()::aIaNa
Error
Server
::
AppendIaNa
(
Message
&
aMessage
,
IaNa
&
aIaNa
)
dhcp6_server.cpp:377
ot::Dhcp6::Server::AppendIaNa()
ot::Dhcp6::Server::AppendIaNa()::aIaNa
length
+=
sizeof
(
IaNa
)
+
sizeof
(
StatusCode
)
-
sizeof
(
Option
)
;
dhcp6_server.cpp:397
ot::Dhcp6::Server::AppendIaNa()
aIaNa
.
SetT1
(
IaNa
::
kDefaultT1
)
;
dhcp6_server.cpp:400
ot::Dhcp6::Server::AppendIaNa()
aIaNa
.
SetT2
(
IaNa
::
kDefaultT2
)
;
dhcp6_server.cpp:401
ot::Dhcp6::Server::AppendIaNa()
Error
AppendIaNa
(
Message
&
aMessage
,
IaNa
&
aIaNa
)
;
dhcp6_server.hpp:176
ot::Dhcp6::Server::AppendIaNa()
ot::Dhcp6::Server::AppendIaNa()::aIaNa
Error
ProcessIaNa
(
Message
&
aMessage
,
uint16_t
aOffset
,
IaNa
&
aIaNa
)
;
dhcp6_server.hpp:188
ot::Dhcp6::Server::ProcessIaNa()
ot::Dhcp6::Server::ProcessIaNa()::aIaNa
IaNa
&
aIaNa
)
;
dhcp6_server.hpp:195
ot::Dhcp6::Server::SendReply()
ot::Dhcp6::Server::SendReply()::aIaNa
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
ot::Dhcp6::IaNa
is inherited by 1 classes:
All items filtered out
ot::Dhcp6::IaNa
ot::Dhcp6::Option
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
Instance
Scope
Location
Project
ot::Dhcp6::Server::AppendIaNa()::aIaNa
ot::Dhcp6::Server::AppendIaNa()
dhcp6_server.hpp:176
ot::Dhcp6::Server::ProcessIaNa()::aIaNa
ot::Dhcp6::Server::ProcessIaNa()
dhcp6_server.hpp:188
ot::Dhcp6::Server::SendReply()::aIaNa
ot::Dhcp6::Server::SendReply()
dhcp6_server.hpp:195
ot::Dhcp6::Server::ProcessIaNa()::aIaNa
ot::Dhcp6::Server::ProcessIaNa()
dhcp6_server.cpp:267
ot::Dhcp6::Server::SendReply()::aIaNa
ot::Dhcp6::Server::SendReply()
dhcp6_server.cpp:320
ot::Dhcp6::Server::AppendIaNa()::aIaNa
ot::Dhcp6::Server::AppendIaNa()
dhcp6_server.cpp:377
Lifecycle
from
examples
All items filtered out
All items filtered out