diff options
author | Susant Sahani <ssahani@vmware.com> | 2020-06-09 16:49:12 +0200 |
---|---|---|
committer | Susant Sahani <ssahani@vmware.com> | 2020-06-10 19:21:21 +0200 |
commit | a9deab2eec8e925eed6d6b9a3395a64438cdd247 (patch) | |
tree | ee1cb92fab80954592ba072d28d90c8ff73db21e /src/systemd | |
parent | 7e738e7b7077156baf5c2a8c2fb23f6c87daded1 (diff) | |
download | systemd-a9deab2eec8e925eed6d6b9a3395a64438cdd247.tar.gz |
sd-network: Introduce APIs to get DHCP6 DUID
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-network.h | 3 |
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; |