ISC DHCP  4.3.2
A reference DHCPv4 and DHCPv6 implementation
ipv6_pool Struct Reference

ipv6_pool structure More...

#include <dhcpd.h>

Data Fields

int refcnt
 
u_int16_t pool_type
 
struct in6_addr start_addr
 
int bits
 
int units
 
iasubopt_hash_tleases
 
isc_uint64_t num_active
 
isc_uint64_t num_abandoned
 
isc_heap_tactive_timeouts
 
int num_inactive
 
isc_heap_tinactive_timeouts
 
struct shared_networkshared_network
 
struct subnetsubnet
 
struct ipv6_pondipv6_pond
 

Detailed Description

ipv6_pool structure

This structure is part of a range of addresses or prefixes. A range6 or prefix6 statement will map to one or more of these with each pool being a simple block of the form xxxx/yyy and all the pools adding up to comprise the entire range. When choosing an address or prefix the code will walk through the pools until it finds one that is available.

The naming for this structure is unfortunate as there is also a v4 pool structure and the two are not equivalent. The v4 pool matches the ipv6_pond structure. I considered changing the name of this structure but concluded that doing so would be worse than leaving it as is. Changing it adds some risk and makes for larger differences between the 4.1 & 4.2 code and the 4.3 code.

Definition at line 1608 of file dhcpd.h.

Field Documentation

isc_heap_t* ipv6_pool::active_timeouts

Definition at line 1617 of file dhcpd.h.

int ipv6_pool::bits

Definition at line 1612 of file dhcpd.h.

isc_heap_t* ipv6_pool::inactive_timeouts

Definition at line 1619 of file dhcpd.h.

struct ipv6_pond* ipv6_pool::ipv6_pond

Definition at line 1624 of file dhcpd.h.

iasubopt_hash_t* ipv6_pool::leases

Definition at line 1614 of file dhcpd.h.

isc_uint64_t ipv6_pool::num_abandoned

Definition at line 1616 of file dhcpd.h.

isc_uint64_t ipv6_pool::num_active

Definition at line 1615 of file dhcpd.h.

int ipv6_pool::num_inactive

Definition at line 1618 of file dhcpd.h.

u_int16_t ipv6_pool::pool_type

Definition at line 1610 of file dhcpd.h.

int ipv6_pool::refcnt

Definition at line 1609 of file dhcpd.h.

struct shared_network* ipv6_pool::shared_network

Definition at line 1621 of file dhcpd.h.

struct in6_addr ipv6_pool::start_addr

Definition at line 1611 of file dhcpd.h.

struct subnet* ipv6_pool::subnet

Definition at line 1623 of file dhcpd.h.

int ipv6_pool::units

Definition at line 1613 of file dhcpd.h.


The documentation for this struct was generated from the following file: