summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-03-30 16:30:46 +0200
committerSusant Sahani <ssahani@vmware.com>2020-04-01 16:59:29 +0200
commitde8d6e5563310e7ae992fb00ad83fcbcfbac5cb5 (patch)
tree140d3a06e7256fd27194f5c22f56a90c741f0d63 /src/systemd
parent31c68e0277b84c5f2906d336cac9fc16594db8ce (diff)
downloadsystemd-de8d6e5563310e7ae992fb00ad83fcbcfbac5cb5.tar.gz
sd-dhcpv6: Add support to set request MUD URL
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-dhcp6-client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp6-client.h b/src/systemd/sd-dhcp6-client.h
index be34d43e74..42d4ec752c 100644
--- a/src/systemd/sd-dhcp6-client.h
+++ b/src/systemd/sd-dhcp6-client.h
@@ -73,6 +73,7 @@ enum {
SD_DHCP6_OPTION_FQDN = 39, /* RFC 4704 */
SD_DHCP6_OPTION_NTP_SERVER = 56, /* RFC 5908 */
+ SD_DHCP6_OPTION_MUD_URL = 112, /* RFC 8250 */
/* option codes 89-142 are unassigned */
/* option codes 144-65535 are unassigned */
@@ -120,6 +121,9 @@ int sd_dhcp6_client_get_information_request(
int sd_dhcp6_client_set_request_option(
sd_dhcp6_client *client,
uint16_t option);
+int sd_dhcp6_client_set_request_mud_url(
+ sd_dhcp6_client *client,
+ char *mudurl);
int sd_dhcp6_client_set_prefix_delegation_hint(
sd_dhcp6_client *client,
uint8_t prefixlen,