mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
[master] Added DHCPv6 prefix-length-mode configuration parameter
Merges in rt36780.
This commit is contained in:
@@ -741,6 +741,7 @@ struct lease_state {
|
||||
#define SV_LOG_THRESHOLD_HIGH 84
|
||||
#define SV_ECHO_CLIENT_ID 85
|
||||
#define SV_SERVER_ID_CHECK 86
|
||||
#define SV_PREFIX_LEN_MODE 87
|
||||
|
||||
#if !defined (DEFAULT_PING_TIMEOUT)
|
||||
# define DEFAULT_PING_TIMEOUT 1
|
||||
@@ -789,6 +790,12 @@ struct lease_state {
|
||||
# define MIN_LEASE_WRITE 15
|
||||
#endif
|
||||
|
||||
#define PLM_IGNORE 0
|
||||
#define PLM_PREFER 1
|
||||
#define PLM_EXACT 2
|
||||
#define PLM_MINIMUM 3
|
||||
#define PLM_MAXIMUM 4
|
||||
|
||||
/* Client option names */
|
||||
|
||||
#define CL_TIMEOUT 1
|
||||
@@ -1962,6 +1969,8 @@ extern int ddns_update_style;
|
||||
extern int dont_use_fsync;
|
||||
extern int server_id_check;
|
||||
|
||||
extern int prefix_length_mode;
|
||||
|
||||
extern const char *path_dhcpd_conf;
|
||||
extern const char *path_dhcpd_db;
|
||||
extern const char *path_dhcpd_pid;
|
||||
@@ -2751,6 +2760,8 @@ extern struct enumeration ddns_styles;
|
||||
extern struct enumeration syslog_enum;
|
||||
void initialize_server_option_spaces (void);
|
||||
|
||||
extern struct enumeration prefix_length_modes;
|
||||
|
||||
/* inet.c */
|
||||
struct iaddr subnet_number (struct iaddr, struct iaddr);
|
||||
struct iaddr ip_addr (struct iaddr, struct iaddr, u_int32_t);
|
||||
|
Reference in New Issue
Block a user