ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
tables.c File Reference
#include "dhcpd.h"

Go to the source code of this file.

Functions

 HASH_FUNCTIONS (group, HASH_FUNCTIONS(const char *, struct group_object, group_hash_t, group_reference, group_dereference, do_string_hash)
 
int option_reference (struct option **dest, struct option *src, const char *file, int line)
 
int option_dereference (struct option **dest, const char *file, int line)
 
void initialize_common_option_spaces ()
 

Variables

struct universe nwip_universe
 
struct universe fqdn_universe
 
struct universe fqdn6_universe
 
struct universe vendor_class_universe
 
struct universe vendor_universe
 
struct universe isc_universe
 
struct universe dhcpv6_universe
 
struct enumeration_value dhcpv6_duid_type_values []
 
struct enumeration dhcpv6_duid_types
 
struct enumeration_value dhcpv6_status_code_values []
 
struct enumeration dhcpv6_status_codes
 
struct enumeration_value lq6_query_type_values []
 
struct enumeration lq6_query_types
 
struct enumeration_value dhcpv6_message_values []
 
const char * dhcpv6_type_names []
 
const int dhcpv6_type_name_max
 
struct enumeration dhcpv6_messages
 
struct universe vsio_universe
 
struct universe isc6_universe
 
const char * hardware_types []
 
universe_hash_tuniverse_hash
 
struct universe ** universes
 
int universe_count
 
int universe_max
 
struct universeconfig_universe
 
char * default_option_format = (char *) "X"
 

Function Documentation

◆ HASH_FUNCTIONS()

HASH_FUNCTIONS ( group ,
HASH_FUNCTIONS ( const char *,
struct group_object ,
group_hash_t ,
group_reference ,
group_dereference ,
do_string_hash  )

Definition at line 33 of file tables.c.

◆ initialize_common_option_spaces()

void initialize_common_option_spaces ( void )

Definition at line 1061 of file tables.c.

◆ option_dereference()

int option_dereference ( struct option ** dest,
const char * file,
int line )

Definition at line 1014 of file tables.c.

◆ option_reference()

int option_reference ( struct option ** dest,
struct option * src,
const char * file,
int line )

Definition at line 992 of file tables.c.

Variable Documentation

◆ config_universe

struct universe* config_universe

Definition at line 982 of file tables.c.

◆ default_option_format

char* default_option_format = (char *) "X"

Definition at line 988 of file tables.c.

◆ dhcpv6_duid_type_values

struct enumeration_value dhcpv6_duid_type_values[]
Initial value:
= {
{ "duid-llt", DUID_LLT },
{ "duid-en", DUID_EN },
{ "duid-ll", DUID_LL },
{ "duid-uuid", DUID_UUID },
{ NULL, 0 }
}
#define DUID_UUID
Definition dhcp6.h:170
#define DUID_LL
Definition dhcp6.h:169
#define DUID_LLT
Definition dhcp6.h:167
#define DUID_EN
Definition dhcp6.h:168

Definition at line 591 of file tables.c.

◆ dhcpv6_duid_types

struct enumeration dhcpv6_duid_types
Initial value:
= {
NULL,
"duid-types", 2,
}
struct enumeration_value dhcpv6_duid_type_values[]
Definition tables.c:591

Definition at line 599 of file tables.c.

◆ dhcpv6_message_values

struct enumeration_value dhcpv6_message_values[]
Initial value:
= {
{ "SOLICIT", 1 },
{ "ADVERTISE", 2 },
{ "REQUEST", 3 },
{ "CONFIRM", 4 },
{ "RENEW", 5 },
{ "REBIND", 6 },
{ "REPLY", 7 },
{ "RELEASE", 8 },
{ "DECLINE", 9 },
{ "RECONFIGURE", 10 },
{ "INFORMATION-REQUEST", 11 },
{ "RELAY-FORW", 12 },
{ "RELAY-REPL", 13 },
{ "LEASEQUERY", 14 },
{ "LEASEQUERY-REPLY", 15 },
{ "LEASEQUERY-DONE", 16 },
{ "LEASEQUERY-DATA", 17 },
{ "RECONFIGURE-REQUEST", 18 },
{ "RECONFIGURE-REPLY", 19 },
{ "DHCPV4-QUERY", 20 },
{ "DHCPV4-RESPONSE", 21 },
{ NULL, 0 }
}

Definition at line 642 of file tables.c.

◆ dhcpv6_messages

struct enumeration dhcpv6_messages
Initial value:
= {
NULL,
"dhcpv6-messages", 1,
}
struct enumeration_value dhcpv6_message_values[]
Definition tables.c:642

Definition at line 695 of file tables.c.

◆ dhcpv6_status_code_values

struct enumeration_value dhcpv6_status_code_values[]
Initial value:
= {
{ "success", 0 },
{ "UnspecFail", 1 },
{ "NoAddrsAvail", 2 },
{ "NoBinding", 3 },
{ "NotOnLink", 4 },
{ "UseMulticast", 5 },
{ "NoPrefixAvail", 6 },
{ "UnknownQueryType", 7 },
{ "MalformedQuery", 8 },
{ "NotConfigured", 9 },
{ "NotAllowed", 10 },
{ "QueryTerminated", 11 },
{ NULL, 0 }
}

Definition at line 605 of file tables.c.

◆ dhcpv6_status_codes

struct enumeration dhcpv6_status_codes
Initial value:
= {
NULL,
"status-codes", 2,
}
struct enumeration_value dhcpv6_status_code_values[]
Definition tables.c:605

Definition at line 621 of file tables.c.

◆ dhcpv6_type_name_max

const int dhcpv6_type_name_max
Initial value:
=
(sizeof(dhcpv6_type_names) / sizeof(dhcpv6_type_names[0]))
const char * dhcpv6_type_names[]
Definition tables.c:668

Definition at line 692 of file tables.c.

◆ dhcpv6_type_names

const char* dhcpv6_type_names[]
Initial value:
= {
NULL,
"Solicit",
"Advertise",
"Request",
"Confirm",
"Renew",
"Rebind",
"Reply",
"Release",
"Decline",
"Reconfigure",
"Information-request",
"Relay-forward",
"Relay-reply",
"Leasequery",
"Leasequery-reply",
"Leasequery-done",
"Leasequery-data",
"Reconfigure-request",
"Reconfigure-reply",
"Dhcpv4-query",
"Dhcpv4-response"
}

Definition at line 668 of file tables.c.

◆ dhcpv6_universe

struct universe dhcpv6_universe

Definition at line 351 of file tables.c.

◆ fqdn6_universe

struct universe fqdn6_universe

Definition at line 319 of file tables.c.

◆ fqdn_universe

struct universe fqdn_universe

Definition at line 318 of file tables.c.

◆ hardware_types

const char* hardware_types[]

Definition at line 716 of file tables.c.

◆ isc6_universe

struct universe isc6_universe

Definition at line 707 of file tables.c.

◆ isc_universe

struct universe isc_universe

Definition at line 344 of file tables.c.

◆ lq6_query_type_values

struct enumeration_value lq6_query_type_values[]
Initial value:
= {
{ "query-by-address", 1 },
{ "query-by-clientid", 2 },
{ "query-by-relay-id", 3 },
{ "query-by-link-address", 4 },
{ "query-by-remote-id", 5 },
{ NULL, 0 }
}

Definition at line 627 of file tables.c.

◆ lq6_query_types

struct enumeration lq6_query_types
Initial value:
= {
NULL,
"query-types", 2,
}
struct enumeration_value lq6_query_type_values[]
Definition tables.c:627

Definition at line 636 of file tables.c.

◆ nwip_universe

struct universe nwip_universe

Definition at line 290 of file tables.c.

◆ universe_count

int universe_count

Definition at line 976 of file tables.c.

◆ universe_hash

universe_hash_t* universe_hash

Definition at line 974 of file tables.c.

◆ universe_max

int universe_max

Definition at line 976 of file tables.c.

◆ universes

struct universe** universes

Definition at line 975 of file tables.c.

◆ vendor_class_universe

struct universe vendor_class_universe

Definition at line 332 of file tables.c.

◆ vendor_universe

struct universe vendor_universe

Definition at line 338 of file tables.c.

◆ vsio_universe

struct universe vsio_universe

Definition at line 701 of file tables.c.