ip_current_input_netif is only used within LwIP.
 
Symbols
loading...
Files
loading...

ip_current_input_netif macro

Get the interface that received the current packet. This function must only be called from a receive callback (udp_recv,

Syntax

#define ip_current_input_netif() (ip_data.current_input_netif)

References

LocationText
ip.h:139
#define ip_current_input_netif() (ip_data.current_input_netif)
dhcp.c:1756
struct netif *netif = ip_current_input_netif();