LwIP
+ 0/29 examples
CodeScope will show references to
netif_set_addr()
from the following samples and libraries:
Examples
STM32469I_EVAL
Demonstrations
STemWin
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_TCP_Echo_Client
LwIP_TCP_Echo_Server
LwIP_TFTP_Server
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
LwIP_UDP_Echo_Client
LwIP_UDP_Echo_Server
STM324x9I_EVAL
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_HTTP_Server_Raw
LwIP_HTTP_Server_Socket_RTOS
LwIP_IAP
LwIP_TCP_Echo_Client
LwIP_TCP_Echo_Server
LwIP_TFTP_Server
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
LwIP_UDP_Echo_Client
LwIP_UDP_Echo_Server
STM324xG_EVAL
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_HTTP_Server_Raw
LwIP_HTTP_Server_Socket_RTOS
LwIP_IAP
LwIP_TCP_Echo_Client
LwIP_TCP_Echo_Server
LwIP_TFTP_Server
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
LwIP_UDP_Echo_Client
LwIP_UDP_Echo_Server
STM32F429ZI-Nucleo
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
netif_set_addr()
netif_set_addr() function
Change IP address configuration for a network interface (including netmask and default gateway).
Syntax
from
netif.h:419
void
netif_set_addr
(
struct
netif
*
netif
,
const
ip4_addr_t
*
ipaddr
,
const
ip4_addr_t
*
netmask
,
const
ip4_addr_t
*
gw
)
;
Implemented in
netif.c:657
Arguments
netif
the network interface to change
ipaddr
the new IP address
netmask
the new netmask
gw
the new default gateway
Examples
netif_set_addr()
is referenced by
29 libraries and example projects
.
References
Location
Referrer
Text
netif.c:658
netif_set_addr
(
struct
netif
*
netif
,
const
ip4_addr_t
*
ipaddr
,
const
ip4_addr_t
*
netmask
,
netif.h:419
void
netif_set_addr
(
struct
netif
*
netif
,
const
ip4_addr_t
*
ipaddr
,
const
ip4_addr_t
*
netmask
,
dhcp.c:287
dhcp_handle_nak()
netif_set_addr
(
netif
,
IP4_ADDR_ANY4
,
IP4_ADDR_ANY4
,
IP4_ADDR_ANY4
)
;
dhcp.c:1139
dhcp_bind()
netif_set_addr
(
netif
,
&
dhcp
->
offered_ip_addr
,
&
sn_mask
,
&
gw_addr
)
;
dhcp.c:1371
dhcp_release_and_stop()
netif_set_addr
(
netif
,
IP4_ADDR_ANY4
,
IP4_ADDR_ANY4
,
IP4_ADDR_ANY4
)
;
netif.c:367
netif_add()
netif_set_addr
(
netif
,
ipaddr
,
netmask
,
gw
)
;
Call Tree
Functions calling
netif_set_addr()
Functions called by
netif_set_addr()
netif_add()
dhcp_handle_nak()
dhcp_bind()
dhcp_release_and_stop()
all items filtered out
netif_set_addr()
netif_do_set_ipaddr()
netif_do_set_netmask()
netif_do_set_gw()
all items filtered out
Data read by
netif_set_addr()
Data written by
netif_set_addr()
ip4_addr::addr
netif_set_addr()::netif
netif_set_addr()::ipaddr
netif_set_addr()::netmask
netif_set_addr()::gw
netif_set_addr()::old_nm
netif_set_addr()::old_gw
netif_set_addr()::remove
all items filtered out
netif_set_addr()
netif_set_addr()::ipaddr
netif_set_addr()::netmask
netif_set_addr()::gw
netif_set_addr()::remove
all items filtered out
Type of
netif_set_addr()
netif_set_addr()
ip_addr_t
all items filtered out