summaryrefslogtreecommitdiff
path: root/src/systemd/sd-dhcp6-lease.h
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2015-04-02 15:34:12 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2015-08-21 11:23:22 +0300
commit5da1b97f3c3d15521f2dcfbc18eccd6580122ebc (patch)
tree3e16ac864f71a34b21782c7d4134d20190fe9ced /src/systemd/sd-dhcp6-lease.h
parent7bd8e95d44977833d0de3fc4e893eb3bc84351d6 (diff)
downloadsystemd-5da1b97f3c3d15521f2dcfbc18eccd6580122ebc.tar.gz
sd-dhcp6: Add support for DHCPv6 DNS Domain Search List option
Support DHCPv6 DNS search list option as specified in RFC 3646. This option contains a list of DNS search domains encoded without compression as specified in Section 8. of RFC 3315.
Diffstat (limited to 'src/systemd/sd-dhcp6-lease.h')
-rw-r--r--src/systemd/sd-dhcp6-lease.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp6-lease.h b/src/systemd/sd-dhcp6-lease.h
index c98026bd0f..8fdb48edeb 100644
--- a/src/systemd/sd-dhcp6-lease.h
+++ b/src/systemd/sd-dhcp6-lease.h
@@ -34,6 +34,7 @@ int sd_dhcp6_lease_get_address(sd_dhcp6_lease *lease,
uint32_t *lifetime_valid);
int sd_dhcp6_lease_get_dns(sd_dhcp6_lease *lease, struct in6_addr **addrs);
+int sd_dhcp6_lease_get_domains(sd_dhcp6_lease *lease, char ***domains);
sd_dhcp6_lease *sd_dhcp6_lease_ref(sd_dhcp6_lease *lease);
sd_dhcp6_lease *sd_dhcp6_lease_unref(sd_dhcp6_lease *lease);