lwIP
IP_GET_TYPE
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
IP_GET_TYPE
IP_GET_TYPE macro
Syntax
Show:
Summary
Declaration
from
ip_addr.h:106
#define
IP_GET_TYPE
(
ipaddr
)
(
(
ipaddr
)
->
type
)
Arguments
Argument
ipaddr
Examples
References
from
examples
Code
Location
#define
IP_GET_TYPE
(
ipaddr
)
(
(
ipaddr
)
->
type
)
ip_addr.h:106
#define
IP_GET_TYPE
(
ipaddr
)
IPADDR_TYPE_V6
ip_addr.h:359
#define
IP_IS_ANY_TYPE_VAL
(
ipaddr
)
(
IP_GET_TYPE
(
&
ipaddr
)
==
IPADDR_TYPE_ANY
)
ip_addr.h:91
#define
IP_IS_V4_VAL
(
ipaddr
)
(
IP_GET_TYPE
(
&
ipaddr
)
==
IPADDR_TYPE_V4
)
ip_addr.h:96
#define
IP_IS_V6_VAL
(
ipaddr
)
(
IP_GET_TYPE
(
&
ipaddr
)
==
IPADDR_TYPE_V6
)
ip_addr.h:98
#define
IP_ADDR_RAW_SIZE
(
ipaddr
)
(
IP_GET_TYPE
(
&
ipaddr
)
==
IPADDR_TYPE_V4
?
sizeof
(
ip4_addr_t
)
:
sizeof
(
ip6_addr_t
)
)
ip_addr.h:108
#define
IP_ADDR_PCB_VERSION_MATCH_EXACT
(
pcb
,
ipaddr
)
(
IP_GET_TYPE
(
&
pcb
->
local_ip
)
==
IP_GET_TYPE
(
ipaddr
)
)
ip_addr.h:110
#define
ip_addr_copy
(
dest
,
src
)
do
{
IP_SET_TYPE_VAL
(
dest
,
IP_GET_TYPE
(
&
src
)
)
;
if
(
IP_IS_V6_VAL
(
src
)
)
{
\
ip_addr.h:142
#define
ip_addr_set
(
dest
,
src
)
do
{
IP_SET_TYPE
(
dest
,
IP_GET_TYPE
(
src
)
)
;
if
(
IP_IS_V6
(
src
)
)
{
\
ip_addr.h:164
#define
ip_addr_eq
(
addr1
,
addr2
)
(
(
IP_GET_TYPE
(
addr1
)
!=
IP_GET_TYPE
(
addr2
)
)
?
0
:
(
IP_IS_V6_VAL
(
*
(
addr1
)
)
?
\
ip_addr.h:219
s_hostent
.
h_addrtype
=
(
IPADDR_TYPE_V4
==
IP_GET_TYPE
(
&
addr
[
0
]
)
?
AF_INET
:
AF_INET6
)
;
netdb.c:148
ret
->
h_addrtype
=
(
IPADDR_TYPE_V4
==
IP_GET_TYPE
(
&
h
->
addr
[
0
]
)
?
AF_INET
:
AF_INET6
)
;
netdb.c:266
&&
IP_GET_TYPE
(
&
addr
)
==
IPADDR_TYPE_V4
)
{
netdb.c:326
||
(
IP_GET_TYPE
(
ipaddr
)
!=
IP_GET_TYPE
(
&
pcb
->
local_ip
)
)
tcp.c:748
(
(
(
IP_GET_TYPE
(
&
ipcb
->
local_ip
)
==
IP_GET_TYPE
(
ipaddr
)
)
&&
udp.c:1012
(
IP_GET_TYPE
(
&
ipcb
->
local_ip
)
==
IPADDR_TYPE_ANY
)
||
udp.c:1017
(
IP_GET_TYPE
(
ipaddr
)
==
IPADDR_TYPE_ANY
)
)
)
{
udp.c:1018
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