2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

[master] Implement and use new option format type 'k'

Merges in #68.
This commit is contained in:
Thomas Markwalder
2019-12-17 13:59:24 -05:00
parent 79cfe1acf3
commit 9a2f9db55f
11 changed files with 59 additions and 16 deletions

View File

@@ -84,10 +84,14 @@ HASH_FUNCTIONS (option_code, const unsigned *, struct option,
the name of the set of enumeration values to parse or emit,
followed by a '.'. The width of the data is specified in the
named enumeration. Named enumerations are tracked in parse.c.
d - Domain name (i.e., FOO or FOO.BAR).
D - Domain list (i.e., example.com eng.example.com)
d - Domain name (e.g., FOO or FOO.BAR) no quotes,
on-wire format is RFC 1035.
D - Domain list (e.g., "example.com eng.example.com") quoted,
on-wire format is RFC 1035.
c - When following a 'D' atom, enables compression pointers.
Z - Zero-length option
k - Key name, unquoted string (e.g. mykey.com or some-text or abc123)
parsed with parse_host_name().
*/
struct universe dhcp_universe;