net: Add functions to get/set nameserver and domainname
It's more convenient to have getter/setter functions for
variables rather than using the detour around global vars
which use string matching and all kinds of overhead in the
background.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d5d342d commit d8bc8a33d9a4d39c2ac84cc7d119054bf12e16d3
@Sascha Hauer Sascha Hauer authored on 20 Nov 2017
Showing 3 changed files
View
include/net.h
View
net/dns.c
View
net/net.c