ESP-IDF
ot::Ip6::SockAddr::GetPort() const
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
ot::Ip6::SockAddr::GetPort() const
ot::Ip6::SockAddr::GetPort() const method
Returns the socket address port number.
Syntax
Show:
Summary
Declaration
from
socket.hpp:271
uint16_t
GetPort
(
void
)
const
;
Return value
The port number
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetPort
(
void
)
const
{
return
mPort
;
}
socket.hpp:271
if
(
GetServerSockAddr
(
)
.
GetPort
(
)
==
0
)
dns_client.cpp:87
ot::Dns::Client::QueryConfig
ot::Dns::Client::QueryConfig::SetFrom()
GetServerSockAddr
(
)
.
SetPort
(
aDefaultConfig
.
GetServerSockAddr
(
)
.
GetPort
(
)
)
;
dns_client.cpp:89
ot::Dns::Client::QueryConfig
ot::Dns::Client::QueryConfig::SetFrom()
aWriter
.
Append
(
"[%s]:%u"
,
GetAddress
(
)
.
ToString
(
)
.
AsCString
(
)
,
GetPort
(
)
)
;
socket.cpp:57
ot::Ip6::SockAddr
ot::Ip6::SockAddr::ToString() const
return
(
GetPort
(
)
==
aOther
.
GetPort
(
)
)
&&
(
GetAddress
(
)
==
aOther
.
GetAddress
(
)
)
;
socket.hpp:291
ot::Ip6::SockAddr
ot::Ip6::SockAddr::operator() const
info
.
SetServerPort
(
GetServerAddress
(
)
.
GetPort
(
)
)
;
srp_client.cpp:956
ot::Srp::Client
ot::Srp::Client::ChangeHostAndServiceStates()
Call Tree
from
examples
ot::Ip6::SockAddr::GetPort() const
is called by 4 functions:
ot::Ip6::SockAddr::operator() const
ot::Dns::Client::QueryConfig::SetFrom()
ot::Ip6::SockAddr::ToString() const
ot::Srp::Client::ChangeHostAndServiceStates()
All items filtered out
ot::Ip6::SockAddr::GetPort() const
All items filtered out
Data Use
from
examples
ot::Ip6::SockAddr::GetPort() const
reads 1 variable:
otSockAddr::mPort
All items filtered out
ot::Ip6::SockAddr::GetPort() const
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