summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp6-protocol.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-08-21 12:22:38 +0200
committerTom Gundersen <teg@jklm.no>2015-08-21 12:22:38 +0200
commit6b8b67e7aed7d4f98881f823b89f5f4079e52066 (patch)
tree5dd96604a45870afab391da3fe5c90a16d3d00b2 /src/libsystemd-network/dhcp6-protocol.h
parentc7f19d8da82b5e71f5323a6b98f54d2526c0d919 (diff)
parent07bdc70d1685ded36a910c16502a1ee57ebb540c (diff)
Merge pull request #924 from pfl/systemd-dhcp6
sd-dhcpv6: support DNS and NTP information
Diffstat (limited to 'src/libsystemd-network/dhcp6-protocol.h')
-rw-r--r--src/libsystemd-network/dhcp6-protocol.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp6-protocol.h b/src/libsystemd-network/dhcp6-protocol.h
index 3e0f339237..b3a28f88b4 100644
--- a/src/libsystemd-network/dhcp6-protocol.h
+++ b/src/libsystemd-network/dhcp6-protocol.h
@@ -123,7 +123,7 @@ enum {
DHCP6_OPTION_DNS_SERVERS = 23, /* RFC 3646 */
DHCP6_OPTION_DOMAIN_LIST = 24, /* RFC 3646 */
- DHCP6_OPTION_SNTP_SERVERS = 31, /* RFC 4075 */
+ DHCP6_OPTION_SNTP_SERVERS = 31, /* RFC 4075, deprecated */
/* option code 35 is unassigned */
@@ -134,6 +134,12 @@ enum {
};
enum {
+ DHCP6_NTP_SUBOPTION_SRV_ADDR = 1,
+ DHCP6_NTP_SUBOPTION_MC_ADDR = 2,
+ DHCP6_NTP_SUBOPTION_SRV_FQDN = 3,
+};
+
+enum {
DHCP6_STATUS_SUCCESS = 0,
DHCP6_STATUS_UNSPEC_FAIL = 1,
DHCP6_STATUS_NO_ADDRS_AVAIL = 2,