ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
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 1715 of file dhcpd.h.

Field Documentation

◆ active_timeouts

isc_heap_t* ipv6_pool::active_timeouts

Definition at line 1724 of file dhcpd.h.

◆ bits

int ipv6_pool::bits

Definition at line 1719 of file dhcpd.h.

◆ inactive_timeouts

isc_heap_t* ipv6_pool::inactive_timeouts

Definition at line 1726 of file dhcpd.h.

◆ ipv6_pond

struct ipv6_pond* ipv6_pool::ipv6_pond

Definition at line 1731 of file dhcpd.h.

◆ leases

iasubopt_hash_t* ipv6_pool::leases

Definition at line 1721 of file dhcpd.h.

◆ num_abandoned

isc_uint64_t ipv6_pool::num_abandoned

Definition at line 1723 of file dhcpd.h.

◆ num_active

isc_uint64_t ipv6_pool::num_active

Definition at line 1722 of file dhcpd.h.

◆ num_inactive

int ipv6_pool::num_inactive

Definition at line 1725 of file dhcpd.h.

◆ pool_type

u_int16_t ipv6_pool::pool_type

Definition at line 1717 of file dhcpd.h.

◆ refcnt

int ipv6_pool::refcnt

Definition at line 1716 of file dhcpd.h.

◆ shared_network

struct shared_network* ipv6_pool::shared_network

Definition at line 1728 of file dhcpd.h.

◆ start_addr

struct in6_addr ipv6_pool::start_addr

Definition at line 1718 of file dhcpd.h.

◆ subnet

struct subnet* ipv6_pool::subnet

Definition at line 1730 of file dhcpd.h.

◆ units

int ipv6_pool::units

Definition at line 1720 of file dhcpd.h.


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