diff options
author | Thomas Markwalder <tmark@isc.org> | 2015-10-13 06:34:15 -0400 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2015-10-13 06:34:15 -0400 |
commit | 347d4962d01dbbf991668eac48fcdbe5c74bd4ce (patch) | |
tree | d3f22c75b9b9a6fe90ffc6f12a0910bebabdddbb /includes | |
parent | e8e6768a62d7c9cfdcc5dbd6d55936d1c791a6ed (diff) | |
download | isc-dhcp-347d4962d01dbbf991668eac48fcdbe5c74bd4ce.tar.gz |
[master] Added authoring-btye-order parameter to lease file handling
Merged in rt38396.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/dhcpd.h | 2 | ||||
-rw-r--r-- | includes/dhctoken.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 1fd12dbb..89f0e55f 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -2037,6 +2037,7 @@ extern int dont_use_fsync; extern int server_id_check; extern int prefix_length_mode; +extern int authoring_byte_order; extern const char *path_dhcpd_conf; extern const char *path_dhcpd_db; @@ -2134,6 +2135,7 @@ void parse_ia_pd_declaration(struct parse *); void parse_server_duid(struct parse *cfile); void parse_server_duid_conf(struct parse *cfile); void parse_pool6_statement (struct parse *, struct group *, int); +uint32_t parse_byte_order_uint32(const void *source); /* ddns.c */ int ddns_updates(struct packet *, struct lease *, struct lease *, diff --git a/includes/dhctoken.h b/includes/dhctoken.h index c4b77a7c..c1db9da3 100644 --- a/includes/dhctoken.h +++ b/includes/dhctoken.h @@ -368,7 +368,10 @@ enum dhcp_token { POOL6 = 669, V6RELAY = 670, V6RELOPT = 671, - PARSE_VENDOR_OPT = 672 + PARSE_VENDOR_OPT = 672, + AUTHORING_BYTE_ORDER = 673, + TOKEN_LITTLE_ENDIAN = 674, + TOKEN_BIG_ENDIAN = 675 }; #define is_identifier(x) ((x) >= FIRST_TOKEN && \ |