summaryrefslogtreecommitdiff
path: root/src/systemd/sd-radv.h
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2017-08-21 13:41:20 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2017-09-15 10:34:57 +0300
commite965d6aba3d6a23783173a19fe850e8b384ad4fb (patch)
treeec2c887e3e32e2924321c394652db290311659e3 /src/systemd/sd-radv.h
parent700f1186e3e1601144c0ec968a83e7bd9d60c9b5 (diff)
downloadsystemd-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/sd-radv.h')
-rw-r--r--src/systemd/sd-radv.h1
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);