ESP-IDF
otIp6InterfaceIdentifier::mFields
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
otIp6InterfaceIdentifier::mFields
otIp6InterfaceIdentifier::mFields field
Syntax
Show:
Summary
Declaration
from
ip6.h:70
union
OT_TOOL_PACKED_FIELD
{
uint8_t
m8
[
OT_IP6_IID_SIZE
]
;
uint16_t
m16
[
OT_IP6_IID_SIZE
/
sizeof
(
uint16_t
)
]
;
uint32_t
m32
[
OT_IP6_IID_SIZE
/
sizeof
(
uint32_t
)
]
;
}
mFields
;
Examples
References
from
examples
Code
Location
Scope
Referrer
}
mFields
;
///< The Interface Identifier accessor fields
ip6.h:75
OutputBytesLine
(
iid
->
mFields
.
m8
)
;
cli.cpp:990
ot::Cli::Interpreter
ot::Cli::Interpreter::Process()
SuccessOrExit
(
error
=
aArgs
[
1
]
.
ParseAsHexString
(
iid
.
mFields
.
m8
)
)
;
cli.cpp:1017
ot::Cli::Interpreter
ot::Cli::Interpreter::Process()
SuccessOrExit
(
error
=
aArgs
[
3
]
.
ParseAsHexString
(
mlIid
.
mFields
.
m8
)
)
;
cli.cpp:3017
ot::Cli::Interpreter
ot::Cli::Interpreter::Process()
SuccessOrExit
(
error
=
aArgs
[
2
]
.
ParseAsHexString
(
mlIid
.
mFields
.
m8
)
)
;
cli.cpp:3028
ot::Cli::Interpreter
ot::Cli::Interpreter::Process()
SuccessOrExit
(
error
=
aArgs
[
0
]
.
ParseAsHexString
(
iid
.
mFields
.
m8
)
)
;
cli.cpp:4022
ot::Cli::Interpreter
ot::Cli::Interpreter::Process()
SuccessOrExit
(
error
=
aArgs
[
2
]
.
ParseAsHexString
(
iid
.
mFields
.
m8
)
)
;
cli_bbr.cpp:216
ot::Cli::Bbr
ot::Cli::Bbr::Process()
bool
InterfaceIdentifier
::
IsUnspecified
(
void
)
const
{
return
(
mFields
.
m32
[
0
]
==
0
)
&&
(
mFields
.
m32
[
1
]
==
0
)
;
}
ip6_address.cpp:224
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsUnspecified() const
bool
InterfaceIdentifier
::
IsSubnetRouterAnycast
(
void
)
const
{
return
(
mFields
.
m32
[
0
]
==
0
)
&&
(
mFields
.
m32
[
1
]
==
0
)
;
}
ip6_address.cpp:231
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsSubnetRouterAnycast() const
return
(
mFields
.
m32
[
0
]
==
BigEndian
::
HostSwap32
(
0xfdffffff
)
&&
mFields
.
m16
[
2
]
==
BigEndian
::
HostSwap16
(
0xffff
)
&&
ip6_address.cpp:242
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsReservedSubnetAnycast() const
mFields
.
m8
[
6
]
==
0xff
&&
mFields
.
m8
[
7
]
>=
0x80
)
;
ip6_address.cpp:243
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsReservedSubnetAnycast() const
void
InterfaceIdentifier
::
SetBytes
(
const
uint8_t
*
aBuffer
)
{
memcpy
(
mFields
.
m8
,
aBuffer
,
kSize
)
;
}
ip6_address.cpp:248
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::SetBytes()
addr
.
CopyTo
(
mFields
.
m8
)
;
ip6_address.cpp:256
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::SetFromExtAddress()
aExtAddress
.
Set
(
mFields
.
m8
)
;
ip6_address.cpp:261
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::ConvertToExtAddress() const
aMacAddress
.
SetExtended
(
mFields
.
m8
)
;
ip6_address.cpp:267
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::ConvertToMacAddress() const
mFields
.
m32
[
0
]
=
BigEndian
::
HostSwap32
(
0x000000ff
)
;
ip6_address.cpp:274
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::SetToLocator()
mFields
.
m16
[
2
]
=
BigEndian
::
HostSwap16
(
0xfe00
)
;
ip6_address.cpp:275
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::SetToLocator()
mFields
.
m16
[
3
]
=
BigEndian
::
HostSwap16
(
aLocator
)
;
ip6_address.cpp:276
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::SetToLocator()
return
(
mFields
.
m32
[
0
]
==
BigEndian
::
HostSwap32
(
0x000000ff
)
&&
mFields
.
m16
[
2
]
==
BigEndian
::
HostSwap16
(
0xfe00
)
)
;
ip6_address.cpp:282
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsLocator() const
return
(
IsLocator
(
)
&&
(
mFields
.
m8
[
6
]
<
kAloc16Mask
)
&&
(
(
mFields
.
m8
[
6
]
&
kRloc16ReservedBitMask
)
==
0
)
)
;
ip6_address.cpp:287
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsRoutingLocator() const
return
(
IsLocator
(
)
&&
(
mFields
.
m8
[
6
]
==
kAloc16Mask
)
)
;
ip6_address.cpp:293
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::IsAnycastLocator() const
Address
::
CopyBits
(
mFields
.
m8
,
aPrefix
.
GetBytes
(
)
+
NetworkPrefix
::
kSize
,
ip6_address.cpp:307
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::ApplyPrefix()
string
.
AppendHexBytes
(
mFields
.
m8
,
kSize
)
;
ip6_address.cpp:316
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::ToString() const
const
uint8_t
*
GetBytes
(
void
)
const
{
return
mFields
.
m8
;
}
ip6_address.hpp:394
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::GetBytes() const
uint16_t
GetLocator
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mFields
.
m16
[
3
]
)
;
}
ip6_address.hpp:482
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::GetLocator() const
void
SetLocator
(
uint16_t
aLocator
)
{
mFields
.
m16
[
3
]
=
BigEndian
::
HostSwap16
(
aLocator
)
;
}
ip6_address.hpp:492
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::SetLocator()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otIp6InterfaceIdentifier::mFields
is read by 18 functions:
All items filtered out
otIp6InterfaceIdentifier::mFields
ot::Ip6::InterfaceIdentifier::GetBytes() const
ot::Ip6::InterfaceIdentifier::GetLocator() const
ot::Ip6::InterfaceIdentifier::SetLocator()
ot::Ip6::InterfaceIdentifier::IsUnspecified() const
ot::Ip6::InterfaceIdentifier::IsSubnetRouterAnycast() const
ot::Ip6::InterfaceIdentifier::IsReservedSubnetAnycast() const
ot::Ip6::InterfaceIdentifier::SetBytes()
ot::Ip6::InterfaceIdentifier::SetFromExtAddress()
ot::Ip6::InterfaceIdentifier::ConvertToExtAddress() const
ot::Ip6::InterfaceIdentifier::ConvertToMacAddress() const
ot::Ip6::InterfaceIdentifier::SetToLocator()
ot::Ip6::InterfaceIdentifier::IsLocator() const
ot::Ip6::InterfaceIdentifier::IsRoutingLocator() const
ot::Ip6::InterfaceIdentifier::IsAnycastLocator() const
ot::Ip6::InterfaceIdentifier::ApplyPrefix()
ot::Ip6::InterfaceIdentifier::ToString() const
ot::Cli::Interpreter::Process()
ot::Cli::Bbr::Process()
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