Data Structures |
struct | host_id_info |
Defines |
#define | SS_NOSYNC 1 |
#define | SS_QFOLLOW 2 |
#define | FREE_LEASES 0 |
#define | ACTIVE_LEASES 1 |
#define | EXPIRED_LEASES 2 |
#define | ABANDONED_LEASES 3 |
#define | BACKUP_LEASES 4 |
#define | RESERVED_LEASES 5 |
Typedefs |
typedef struct host_id_info | host_id_info_t |
Functions |
isc_result_t | enter_class (struct class *cd, int dynamicp, int commit) |
void | change_host_uid (struct host_decl *host, const char *uid, int len) |
isc_result_t | enter_host (struct host_decl *hd, int dynamicp, int commit) |
isc_result_t | delete_class (struct class *cp, int commit) |
isc_result_t | delete_host (struct host_decl *hd, int commit) |
int | find_hosts_by_haddr (struct host_decl **hp, int htype, const unsigned char *haddr, unsigned hlen, const char *file, int line) |
int | find_hosts_by_uid (struct host_decl **hp, const unsigned char *data, unsigned len, const char *file, int line) |
int | find_hosts_by_option (struct host_decl **hp, struct packet *packet, struct option_state *opt_state, const char *file, int line) |
int | find_host_for_network (struct subnet **sp, struct host_decl **host, struct iaddr *addr, struct shared_network *share) |
void | new_address_range (struct parse *cfile, struct iaddr low, struct iaddr high, struct subnet *subnet, struct pool *pool, struct lease **lpchain) |
int | find_subnet (struct subnet **sp, struct iaddr addr, const char *file, int line) |
int | find_grouped_subnet (struct subnet **sp, struct shared_network *share, struct iaddr addr, const char *file, int line) |
int | subnet_inner_than (const struct subnet *subnet, const struct subnet *scan, int warnp) |
void | enter_subnet (struct subnet *subnet) |
void | enter_shared_network (struct shared_network *share) |
void | new_shared_network_interface (struct parse *cfile, struct shared_network *share, const char *name) |
void | enter_lease (struct lease *lease) |
int | supersede_lease (struct lease *comp, struct lease *lease, int commit, int propogate, int pimmediate) |
void | make_binding_state_transition (struct lease *lease) |
int | lease_copy (struct lease **lp, struct lease *lease, const char *file, int line) |
void | release_lease (struct lease *lease, struct packet *packet) |
void | abandon_lease (struct lease *lease, const char *message) |
void | pool_timer (void *vpool) |
int | find_lease_by_ip_addr (struct lease **lp, struct iaddr addr, const char *file, int line) |
int | find_lease_by_uid (struct lease **lp, const unsigned char *uid, unsigned len, const char *file, int line) |
int | find_lease_by_hw_addr (struct lease **lp, const unsigned char *hwaddr, unsigned hwlen, const char *file, int line) |
void | uid_hash_add (struct lease *lease) |
void | uid_hash_delete (struct lease *lease) |
void | hw_hash_add (struct lease *lease) |
void | hw_hash_delete (struct lease *lease) |
int | write_leases4 (void) |
int | write_leases () |
int | lease_enqueue (struct lease *comp) |
isc_result_t | lease_instantiate (const void *key, unsigned len, void *object) |
void | expire_all_pools () |
void | dump_subnets () |
Variables |
struct subnet * | subnets |
struct shared_network * | shared_networks |
host_hash_t * | host_hw_addr_hash |
host_hash_t * | host_uid_hash |
host_hash_t * | host_name_hash |
lease_id_hash_t * | lease_uid_hash |
lease_ip_hash_t * | lease_ip_addr_hash |
lease_id_hash_t * | lease_hw_addr_hash |
int | numclasseswritten |
omapi_object_type_t * | dhcp_type_host |