ESP-IDF
ot::Ip6::MessageInfo::GetPeerPort() 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::MessageInfo::GetPeerPort() const
ot::Ip6::MessageInfo::GetPeerPort() const method
Gets the peer socket port.
Syntax
Show:
Summary
Declaration
from
socket.hpp:128
uint16_t
GetPeerPort
(
void
)
const
;
Return value
The peer socket port.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetPeerPort
(
void
)
const
{
return
mPeerPort
;
}
socket.hpp:128
udpEncapHeader
.
SetSourcePort
(
aMessageInfo
.
GetPeerPort
(
)
)
;
border_agent.cpp:409
ot::MeshCoP::BorderAgent
ot::MeshCoP::BorderAgent::HandleUdpReceive()
metadata
.
mDestinationPort
=
aMessageInfo
.
GetPeerPort
(
)
;
coap.cpp:311
ot::Coap::CoapBase
ot::Coap::CoapBase::SendMessage()
aMessageInfo
.
GetPeerPort
(
)
)
)
ip6.cpp:413
ot::Ip6::Ip6
ot::Ip6::Ip6::SendDatagram()
SuccessOrExit
(
error
=
Tlv
::
Append
<
JoinerUdpPortTlv
>
(
*
message
,
aMessageInfo
.
GetPeerPort
(
)
)
)
;
joiner_router.cpp:133
ot::MeshCoP::JoinerRouter
ot::MeshCoP::JoinerRouter::HandleUdpReceive()
VerifyOrExit
(
GetPeerName
(
)
.
mPort
==
aMessageInfo
.
GetPeerPort
(
)
)
;
udp6.cpp:56
ot::Ip6::Udp::SocketHandle
ot::Ip6::Udp::SocketHandle::Matches() const
Call Tree
from
examples
ot::Ip6::MessageInfo::GetPeerPort() const
is called by 5 functions:
ot::Coap::CoapBase::SendMessage()
ot::MeshCoP::BorderAgent::HandleUdpReceive()
ot::MeshCoP::JoinerRouter::HandleUdpReceive()
ot::Ip6::Ip6::SendDatagram()
ot::Ip6::Udp::SocketHandle::Matches() const
All items filtered out
ot::Ip6::MessageInfo::GetPeerPort() const
All items filtered out
Data Use
from
examples
ot::Ip6::MessageInfo::GetPeerPort() const
reads 1 variable:
otMessageInfo::mPeerPort
All items filtered out
ot::Ip6::MessageInfo::GetPeerPort() 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