32#if defined (FAILOVER_PROTOCOL)
153 "message length wait",
162 "free",
"active",
"expired",
"released",
"abandoned",
177static struct option server_options[] = {
190 {
"use-lease-addr-for-default-route",
"f",
222 {
"log-facility",
"Nsyslog-facilities.",
238#if defined(DELAYED_ACK)
242#if defined(LDAP_CONFIGURATION)
252#if defined(LDAP_USE_SSL)
259 {
"ldap-tls-crlcheck",
"Nldap-tls-crlcheck.", &
server_universe, 75, 1 },
264#if defined(LDAP_USE_GSSAPI)
285#if defined (FAILOVER_PROTOCOL)
299#if defined(LDAP_CONFIGURATION)
312#if defined(LDAP_USE_SSL)
337 "ldap-tls-reqcert", 1,
349 "ldap-tls-crlcheck", 1,
380 "prefix_length_modes", 1,
385#if defined (LOG_KERN)
388#if defined (LOG_USER)
391#if defined (LOG_MAIL)
394#if defined (LOG_DAEMON)
397#if defined (LOG_AUTH)
400#if defined (LOG_SYSLOG)
406#if defined (LOG_NEWS)
409#if defined (LOG_UUCP)
412#if defined (LOG_CRON)
415#if defined (LOG_AUTHPRIV)
421#if defined (LOG_LOCAL0)
424#if defined (LOG_LOCAL1)
427#if defined (LOG_LOCAL2)
430#if defined (LOG_LOCAL3)
433#if defined (LOG_LOCAL4)
436#if defined (LOG_LOCAL5)
439#if defined (LOG_LOCAL6)
442#if defined (LOG_LOCAL7)
450 "syslog-facilities", 1,
484 log_fatal (
"Can't allocate agent option hash table.");
493#if defined(REPORT_HASH_PERFORMANCE)
494 log_info(
"Relay Agent name hash: %s",
496 log_info(
"Relay Agent code hash: %s",
525 log_fatal (
"Can't allocate server option hash table.");
526 for (
i = 0 ; server_options[
i].
name ;
i++) {
528 &server_options[
i].
code, 0,
529 &server_options[
i],
MDL);
531 server_options[
i].
name, 0,
532 &server_options[
i],
MDL);
534#if defined(REPORT_HASH_PERFORMANCE)
535 log_info(
"Server-Config Option name hash: %s",
537 log_info(
"Server-Config Option code hash: %s",
void save_hashed_option(struct universe *universe, struct option_state *options, struct option_cache *oc, isc_boolean_t appendp)
int hashed_option_space_encapsulate(struct data_string *result, struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *cfg_options, struct binding_scope **scope, struct universe *universe)
int hashed_option_state_dereference(struct universe *universe, struct option_state *state, const char *file, int line)
int linked_option_state_dereference(struct universe *universe, struct option_state *state, const char *file, int line)
void hashed_option_space_foreach(struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *cfg_options, struct binding_scope **scope, struct universe *u, void *stuff, void(*func)(struct option_cache *, struct packet *, struct lease *, struct client_state *, struct option_state *, struct option_state *, struct binding_scope **, struct universe *, void *))
int linked_option_space_encapsulate(struct data_string *result, struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *cfg_options, struct binding_scope **scope, struct universe *universe)
void linked_option_space_foreach(struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *cfg_options, struct binding_scope **scope, struct universe *u, void *stuff, void(*func)(struct option_cache *, struct packet *, struct lease *, struct client_state *, struct option_state *, struct option_state *, struct binding_scope **, struct universe *, void *))
struct option_cache * lookup_hashed_option(struct universe *universe, struct option_state *options, unsigned code)
struct option_cache * lookup_linked_option(struct universe *universe, struct option_state *options, unsigned code)
void delete_hashed_option(struct universe *universe, struct option_state *options, int code)
struct option * vendor_cfg_option
void save_linked_option(struct universe *universe, struct option_state *options, struct option_cache *oc, isc_boolean_t appendp)
int parse_option_buffer(struct option_state *options, const unsigned char *buffer, unsigned length, struct universe *universe)
void delete_linked_option(struct universe *universe, struct option_state *options, int code)
void putUChar(unsigned char *, u_int32_t)
u_int32_t getUChar(const unsigned char *)
#define DHO_DHCP_AGENT_OPTIONS
failover_option_t null_failover_option
#define SV_ECHO_CLIENT_ID
#define SV_ABANDON_LEASE_TIME
#define SV_CHECK_SECS_BYTE_ORDER
#define SV_SERVER_ID_CHECK
#define SV_DHCPV6_SET_TEE_TIMES
#define SV_RELEASE_ON_ROAM
const char * dhcp_flink_state_names[]
struct failover_option_info ft_options[]
#define SV_VENDOR_OPTION_SPACE
#define SV_BIND_LOCAL_ADDRESS6
#define SV_PING_CLTT_SECS
#define SV_DDNS_GUARD_ID_MUST_MATCH
failover_option_t skip_failover_option
struct universe dhcp_universe
#define SV_LOCAL_ADDRESS6
#define SV_DDNS_OTHER_GUARD_IS_DYNAMIC
#define SV_DDNS_DUAL_STACK_MIXED_MODE
#define SV_PREFIX_LEN_MODE
#define SV_PING_TIMEOUT_MS
void log_fatal(const char *,...) __attribute__((__format__(__printf__
int int log_info(const char *,...) __attribute__((__format__(__printf__
struct enumeration prefix_length_modes
struct enumeration ddns_styles
struct universe agent_universe
struct enumeration_value ddns_styles_values[]
struct enumeration_value syslog_values[]
struct universe server_universe
void initialize_server_option_spaces()
struct enumeration syslog_enum
const char * binding_state_names[]
struct enumeration_value prefix_length_modes_values[]
int(* decode)(struct option_state *, const unsigned char *, unsigned, struct universe *)
void(* store_length)(unsigned char *, u_int32_t)
void(* save_func)(struct universe *, struct option_state *, struct option_cache *, isc_boolean_t)
int(* encapsulate)(struct data_string *, struct packet *, struct lease *, struct client_state *, struct option_state *, struct option_state *, struct binding_scope **, struct universe *)
void(* store_tag)(unsigned char *, u_int32_t)
int(* option_state_dereference)(struct universe *, struct option_state *, const char *, int)
void(* delete_func)(struct universe *universe, struct option_state *, int)
option_name_hash_t * name_hash
option_code_hash_t * code_hash
u_int32_t(* get_tag)(const unsigned char *)
u_int32_t(* get_length)(const unsigned char *)
void(* foreach)(struct packet *, struct lease *, struct client_state *, struct option_state *, struct option_state *, struct binding_scope **, struct universe *, void *, void(*)(struct option_cache *, struct packet *, struct lease *, struct client_state *, struct option_state *, struct option_state *, struct binding_scope **, struct universe *, void *))
struct option_cache *(* lookup_func)(struct universe *, struct option_state *, unsigned)
struct universe * config_universe
universe_hash_t * universe_hash
struct universe ** universes