ESP-IDF
ot::Dhcp6::Option
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dhcp6::Option
ot::Dhcp6::Option class
Syntax
Show:
Summary
Declaration
from
dhcp6.hpp:187
class
Option
{
public
:
void
Init
(
void
)
{
mCode
=
0
;
mLength
=
0
;
}
Code
GetCode
(
void
)
const
{
return
static_cast
<
Code
>
(
BigEndian
::
HostSwap16
(
mCode
)
)
;
}
void
SetCode
(
Code
aCode
)
{
mCode
=
BigEndian
::
HostSwap16
(
static_cast
<
uint16_t
>
(
aCode
)
)
;
}
uint16_t
GetLength
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mLength
)
;
}
void
SetLength
(
uint16_t
aLength
)
{
mLength
=
BigEndian
::
HostSwap16
(
aLength
)
;
}
private
:
uint16_t
mCode
;
uint16_t
mLength
;
}
;
Fields
Field
Declared as
ot::Dhcp6::Option::mCode
uint16_t
ot::Dhcp6::Option::mLength
uint16_t
Methods
Init()
Initializes the DHCPv6 option to all zeros.
GetCode() const
Returns the DHCPv6 option code.
SetCode()
Sets the DHCPv6 option code.
GetLength() const
Returns the length of DHCPv6 option.
SetLength()
Sets the length of DHCPv6 option.
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