diff options
author | Tom Gundersen <teg@jklm.no> | 2015-11-19 02:27:10 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-19 02:27:10 +0100 |
commit | dc9715d41998be6d9e7037955894ff8022d95e71 (patch) | |
tree | 2c420020f7364457f5d7ad1bbac5d719fdb45e3d /src/libsystemd-network/dhcp-protocol.h | |
parent | 854c1123f5fb6704e900d34c0165360f77ce4ef8 (diff) | |
parent | 06d91ad77eb81a63f3228a21affdb560bf7947c9 (diff) |
Merge pull request #1931 from bengal/dhcp-fqdn-v2
libsystemd-network: add support for "Client FQDN" DHCP option (v2)
Diffstat (limited to 'src/libsystemd-network/dhcp-protocol.h')
-rw-r--r-- | src/libsystemd-network/dhcp-protocol.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-protocol.h b/src/libsystemd-network/dhcp-protocol.h index 88a81d2866..5cf4e9e306 100644 --- a/src/libsystemd-network/dhcp-protocol.h +++ b/src/libsystemd-network/dhcp-protocol.h @@ -137,6 +137,7 @@ enum { DHCP_OPTION_REBINDING_T2_TIME = 59, DHCP_OPTION_VENDOR_CLASS_IDENTIFIER = 60, DHCP_OPTION_CLIENT_IDENTIFIER = 61, + DHCP_OPTION_FQDN = 81, DHCP_OPTION_NEW_POSIX_TIMEZONE = 100, DHCP_OPTION_NEW_TZDB_TIMEZONE = 101, DHCP_OPTION_CLASSLESS_STATIC_ROUTE = 121, @@ -144,3 +145,12 @@ enum { DHCP_OPTION_PRIVATE_LAST = 254, DHCP_OPTION_END = 255, }; + +#define DHCP_MAX_FQDN_LENGTH 255 + +enum { + DHCP_FQDN_FLAG_S = (1 << 0), + DHCP_FQDN_FLAG_O = (1 << 1), + DHCP_FQDN_FLAG_E = (1 << 2), + DHCP_FQDN_FLAG_N = (1 << 3), +}; |