diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2017-08-21 13:41:20 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2017-09-15 10:34:57 +0300 |
commit | e965d6aba3d6a23783173a19fe850e8b384ad4fb (patch) | |
tree | ec2c887e3e32e2924321c394652db290311659e3 /src/systemd | |
parent | 700f1186e3e1601144c0ec968a83e7bd9d60c9b5 (diff) | |
download | systemd-e965d6aba3d6a23783173a19fe850e8b384ad4fb.tar.gz |
sd-radv: Add Router Advertisement DNS Search List option
Add Router Advertisement DNS Search List option as specified
in RFC 8106. The search list option uses and identical option
header as the RDNSS option and therefore the option header
structure can be reused.
If systemd is compiled with IDNA support, internationalization
of the provided search domain is applied, after which the search
list is written in wire format into the DNSSL option.
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-radv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-radv.h b/src/systemd/sd-radv.h index ce10ae0606..0cc1d670b9 100644 --- a/src/systemd/sd-radv.h +++ b/src/systemd/sd-radv.h @@ -59,6 +59,7 @@ 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); +int sd_radv_set_dnssl(sd_radv *ra, uint32_t lifetime, char **search_list); /* Advertised prefixes */ int sd_radv_prefix_new(sd_radv_prefix **ret); |