Embedded TCP/IP stack
4.7.0
|
void fnet_netif_set_ip4_addr_type | ( | fnet_netif_desc_t | netif_desc, |
fnet_netif_ip_addr_type_t | ipaddr_type | ||
) |
Sets the way IPv4 address parameters were obtained.
netif_desc | Network interface descriptor. |
ipaddr_type | Type of IPv4 address parameters. |
This function sets type of the interface IPv4 address parameters, if they were set manually, or obtained by the DHCP client or set during link-local autoconfiguartion (AutoIP).
fnet_netif_set_ip4_addr(), fnet_netif_set_ip4_gateway() and fnet_netif_set_ip4_dns() sets the type to FNET_NETIF_IP_ADDR_TYPE_MANUAL automatically.