Embedded TCP/IP stack
4.7.0
|
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.
netif_desc | Network interface descriptor. |
dns | The DNS server IPv4 address of the network interface. |
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.