lwIP
IP6ADDR_PORT_TO_SOCKADDR
is only used within lwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
lwIP
IP6ADDR_PORT_TO_SOCKADDR
IP6ADDR_PORT_TO_SOCKADDR macro
Syntax
Show:
Summary
Declaration
from
sockets.c:145
#define
IP6ADDR_PORT_TO_SOCKADDR
(
sin6
,
ipaddr
,
port
)
do
{
\
IP6ADDR_SOCKADDR_SET_LEN
(
sin6
)
;
\
(
sin6
)
->
sin6_family
=
AF_INET6
;
\
(
sin6
)
->
sin6_port
=
lwip_htons
(
(
port
)
)
;
\
(
sin6
)
->
sin6_flowinfo
=
0
;
\
inet6_addr_from_ip6addr
(
&
(
sin6
)
->
sin6_addr
,
ipaddr
)
;
\
(
sin6
)
->
sin6_scope_id
=
ip6_addr_zone
(
ipaddr
)
;
}
while
(
0
)
Arguments
Argument
sin6
ipaddr
port
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