summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-06-09 16:49:12 +0200
committerSusant Sahani <ssahani@vmware.com>2020-06-10 19:21:21 +0200
commita9deab2eec8e925eed6d6b9a3395a64438cdd247 (patch)
treeee1cb92fab80954592ba072d28d90c8ff73db21e /src/systemd
parent7e738e7b7077156baf5c2a8c2fb23f6c87daded1 (diff)
downloadsystemd-a9deab2eec8e925eed6d6b9a3395a64438cdd247.tar.gz
sd-network: Introduce APIs to get DHCP6 DUID
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h
index c38c5fc18b..7e42df17b9 100644
--- a/src/systemd/sd-network.h
+++ b/src/systemd/sd-network.h
@@ -194,6 +194,9 @@ int sd_network_link_get_dhcp4_client_id_string(int ifindex, char **client_id);
/* Get DHCPv6 client IAID for a given link. */
int sd_network_link_get_dhcp6_client_iaid_string(int ifindex, char **iaid);
+/* Get DHCPv6 client DUID for a given link. */
+int sd_network_link_get_dhcp6_client_duid_string(int ifindex, char **duid);
+
/* Monitor object */
typedef struct sd_network_monitor sd_network_monitor;