LwIP
ip_current_netif
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
ip_current_netif
ip_current_netif macro
Get the interface that accepted the current packet. This may or may not be the receiving netif, depending on your netif/network setup. This function must only be called from a receive callback (udp_recv,
Syntax
from
ip.h:135
#define
ip_current_netif
(
)
(
ip_data
.
current_netif
)
References
Location
Text
ip.h:135
#define
ip_current_netif
(
)
(
ip_data
.
current_netif
)
icmp.c:131
if
(
ip4_addr_isbroadcast
(
ip4_current_dest_addr
(
)
,
ip_current_netif
(
)
)
)
{
tcp_in.c:153
if
(
ip_addr_isbroadcast
(
ip_current_dest_addr
(
)
,
ip_current_netif
(
)
)
||
udp.c:229
broadcast
=
ip_addr_isbroadcast
(
ip_current_dest_addr
(
)
,
ip_current_netif
(
)
)
;