Embedded TCP/IP stack: fnet_netif_get_ip4_dns

FNET

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_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-2018 by Andrey Butok. http://fnet.sourceforge.net