ESP-IDF
ot::Ip6::Udp::SocketHandle::GetSockName()
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::SocketHandle::GetSockName()
ot::Ip6::Udp::SocketHandle::GetSockName() method
Returns the local socket address.
Syntax
Show:
Summary
Declaration
from
udp6.hpp:108
SockAddr
&
GetSockName
(
void
)
;
Return value
A reference to the local socket address.
Examples
References
from
examples
Code
Location
Scope
Referrer
SockAddr
&
GetSockName
(
void
)
{
return
AsCoreType
(
&
mSockName
)
;
}
udp6.hpp:108
SuccessOrExit
(
error
=
Bind
(
aSocket
,
aSocket
.
GetSockName
(
)
,
kNetifThread
)
)
;
udp6.cpp:283
ot::Ip6::Udp
ot::Ip6::Udp::Connect()
aSocket
.
GetSockName
(
)
.
Clear
(
)
;
udp6.cpp:309
ot::Ip6::Udp
ot::Ip6::Udp::Close()
VerifyOrExit
(
(
aMessageInfo
.
GetSockPort
(
)
==
0
)
||
(
aSocket
.
GetSockName
(
)
.
mPort
==
aMessageInfo
.
GetSockPort
(
)
)
,
udp6.cpp:321
ot::Ip6::Udp
ot::Ip6::Udp::SendTo()
messageInfoLocal
.
SetSockAddr
(
aSocket
.
GetSockName
(
)
.
GetAddress
(
)
)
;
udp6.cpp:341
ot::Ip6::Udp
ot::Ip6::Udp::SendTo()
SuccessOrExit
(
error
=
Bind
(
aSocket
,
aSocket
.
GetSockName
(
)
,
kNetifThread
)
)
;
udp6.cpp:346
ot::Ip6::Udp
ot::Ip6::Udp::SendTo()
messageInfoLocal
.
SetSockPort
(
aSocket
.
GetSockName
(
)
.
mPort
)
;
udp6.cpp:349
ot::Ip6::Udp
ot::Ip6::Udp::SendTo()
Call Tree
from
examples
ot::Ip6::Udp::SocketHandle::GetSockName()
is called by 3 functions:
ot::Ip6::Udp::Connect()
ot::Ip6::Udp::Close()
ot::Ip6::Udp::SendTo()
All items filtered out
ot::Ip6::Udp::SocketHandle::GetSockName()
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