summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-09-26 15:12:36 -0500
committerTom Gundersen <teg@jklm.no>2014-10-02 19:07:30 +0200
commit66eac1201a9c1596f5901f8dbbf24bda7e350878 (patch)
tree62a2fc6ff936a1fdfaa284f37cd1b9fab28e53fd /src/systemd
parent995a1063dbdc94e2c0846216363636e8ebbc60f9 (diff)
downloadsystemd-66eac1201a9c1596f5901f8dbbf24bda7e350878.tar.gz
sd-dhcp6-client: support custom DUIDs
The caller may have an existing DUID that it wants to use, and may want to use some other DUID generation scheme than systemd's default DUID-EN. [tomegun: whitespace - we never use tabs]
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-dhcp6-client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp6-client.h b/src/systemd/sd-dhcp6-client.h
index 93edcc41fc..7b7f098b0c 100644
--- a/src/systemd/sd-dhcp6-client.h
+++ b/src/systemd/sd-dhcp6-client.h
@@ -45,6 +45,8 @@ int sd_dhcp6_client_set_callback(sd_dhcp6_client *client,
int sd_dhcp6_client_set_index(sd_dhcp6_client *client, int interface_index);
int sd_dhcp6_client_set_mac(sd_dhcp6_client *client,
const struct ether_addr *mac_addr);
+int sd_dhcp6_client_set_duid(sd_dhcp6_client *client, uint8_t *duid,
+ size_t duid_len);
int sd_dhcp6_client_set_request_option(sd_dhcp6_client *client,
uint16_t option);