Embedded TCP/IP stack  4.7.0

◆ fnet_netif_get_ip4_dns()

fnet_ip4_addr_t fnet_netif_get_ip4_dns ( fnet_netif_desc_t  netif_desc)

Retrieves the DNS server IP address of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
Returns
This function returns the DNS server IP address of the netif interface.
See also
fnet_netif_set_ip4_dns(), fnet_netif_set_ip6_dns(), FNET_CFG_DNS

This function is used to retrieve all DNS IPv4 addresses registered with the given interface.
It is present only if FNET_CFG_DNS is set to 1.


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