ESP-IDF
ot::Ip6::Udp::Header::GetSourcePort() 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::Udp::Header::GetSourcePort() const
ot::Ip6::Udp::Header::GetSourcePort() const method
Returns the UDP Source Port.
Syntax
Show:
Summary
Declaration
from
udp6.hpp:375
uint16_t
GetSourcePort
(
void
)
const
;
Return value
The UDP Source Port.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetSourcePort
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mSourcePort
)
;
}
udp6.hpp:375
source
=
udpHeader
.
GetSourcePort
(
)
;
lowpan.cpp:511
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::CompressUdp()
aMessageInfo
.
mPeerPort
=
udpHeader
.
GetSourcePort
(
)
;
udp6.cpp:474
ot::Ip6::Udp
ot::Ip6::Udp::HandleMessage()
Call Tree
from
examples
ot::Ip6::Udp::Header::GetSourcePort() const
is called by 2 functions and calls 1 function:
ot::Lowpan::Lowpan::CompressUdp()
ot::Ip6::Udp::HandleMessage()
All items filtered out
ot::Ip6::Udp::Header::GetSourcePort() const
ot::BigEndian::HostSwap16()
All items filtered out
Data Use
from
examples
ot::Ip6::Udp::Header::GetSourcePort() const
reads 1 variable:
ot::Ip6::Udp::Header::mSourcePort
All items filtered out
ot::Ip6::Udp::Header::GetSourcePort() 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