Embedded TCP/IP stack  4.7.0

◆ fnet_netif_set_ip4_dns()

void fnet_netif_set_ip4_dns ( fnet_netif_desc_t  netif_desc,
fnet_ip4_addr_t  dns 
)

Sets the DNS server IPv4 address of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
dnsThe DNS server IPv4 address of the network interface.
See also
fnet_netif_get_ip4_dns(), FNET_CFG_DNS

This function sets the DNS server IPv4 address of the netif interface to the dns value.
It is present only if FNET_CFG_DNS is set to 1.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net