ESP-IDF
ot::Ip6::NetworkPrefix
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::Ip6::NetworkPrefix
ot::Ip6::NetworkPrefix class
Syntax
Show:
Summary
Declaration
from
ip6_address.hpp:69
class
NetworkPrefix
:
public
otIp6NetworkPrefix
,
public
Equatable
<
NetworkPrefix
>
,
public
Clearable
<
NetworkPrefix
>
{
public
:
static
constexpr
uint8_t
kSize
=
OT_IP6_PREFIX_SIZE
;
static
constexpr
uint8_t
kLength
=
kSize
*
kBitsPerByte
;
Error
GenerateRandomUla
(
void
)
;
}
;
Fields
Field
ot::Ip6::NetworkPrefix::kSize
ot::Ip6::NetworkPrefix::kLength
Methods
GenerateRandomUla()
Generates and sets the Network Prefix to a crypto-secure random Unique Local Address (ULA) based on the pattern `fdxx:xxxx:xxxx:` (RFC 4193).
Related Functions
Found 8 other functions taking a
NetworkPrefix
argument:
Function
Description
ot::Ip6::Address::SetToRoutingLocator()
Sets the IPv6 address to a Routing Locator (RLOC) IPv6 address with a given Network Prefix and RLOC16 value.
ot::Ip6::Address::SetPrefix()
Sets the IPv6 address prefix to the given Network Prefix.
ot::Ip6::Prefix::Set()
Sets the prefix.
ot::Ip6::Address::SetMulticastNetworkPrefix()
Sets the prefix content of the Prefix-Based Multicast Address.
ot::Ip6::Address::SetToLocator()
ot::Dhcp6::Server::PrefixAgent::Set()
Sets the ALOC.
ot::Mle::Mle::SetMeshLocalPrefix()
Sets the Mesh Local Prefix.
ot::Ip6::Address::SetToAnycastLocator()
Sets the IPv6 address to a Anycast Locator (ALOC) IPv6 address with a given Network Prefix and ALOC16 value.
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