diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2017-08-14 12:53:11 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2017-09-07 09:51:26 +0300 |
commit | e9c6da386849a6d262c1d605be911922f2cb7428 (patch) | |
tree | e5c98bd1841ec875315f03ebe78f7a7b13674e82 /src/systemd/sd-radv.h | |
parent | 88295a05dbb0c69de4bae77d80d0566b52ec1cac (diff) | |
download | systemd-e9c6da386849a6d262c1d605be911922f2cb7428.tar.gz |
sd-radv: Add Router Advertisement DNS information
Add Router Advertisement Recursive DNS Server information as specified
in RFC 8106.
Diffstat (limited to 'src/systemd/sd-radv.h')
-rw-r--r-- | src/systemd/sd-radv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-radv.h b/src/systemd/sd-radv.h index 4cbd80db68..ce10ae0606 100644 --- a/src/systemd/sd-radv.h +++ b/src/systemd/sd-radv.h @@ -57,6 +57,8 @@ int sd_radv_set_managed_information(sd_radv *ra, int managed); int sd_radv_set_other_information(sd_radv *ra, int other); int sd_radv_set_preference(sd_radv *ra, unsigned preference); int sd_radv_add_prefix(sd_radv *ra, sd_radv_prefix *p); +int sd_radv_set_rdnss(sd_radv *ra, uint32_t lifetime, + const struct in6_addr *dns, size_t n_dns); /* Advertised prefixes */ int sd_radv_prefix_new(sd_radv_prefix **ret); |