![]() |
Kea 2.2.0
|
Structure representing delegated prefix range. More...
#include <ip_range.h>
Public Member Functions | |
| PrefixRange (const asiolink::IOAddress &prefix, const uint8_t length, const uint8_t delegated) | |
| Constructor. More... | |
| PrefixRange (const asiolink::IOAddress &start, const asiolink::IOAddress &end, const uint8_t delegated) | |
| Constructor. More... | |
Public Attributes | |
| uint8_t | delegated_length_ |
| Delegated prefix length. More... | |
| asiolink::IOAddress | end_ |
| IP address denoting the first address within the last prefix in the prefix range. More... | |
| uint8_t | prefix_length_ |
| Prefix length. More... | |
| asiolink::IOAddress | start_ |
| IP address denoting the start of the prefix range. More... | |
Structure representing delegated prefix range.
Definition at line 32 of file ip_range.h.
| isc::dhcp::PrefixRange::PrefixRange | ( | const asiolink::IOAddress & | prefix, |
| const uint8_t | length, | ||
| const uint8_t | delegated | ||
| ) |
Constructor.
| prefix | prefix from which prefixes are delegated. |
| length | length of the prefix from which prefixes are delegated. |
| delegated | delegated prefix length. |
| BadValue | if the values provided to the constructor are invalid, e.g. it is not IPv6 prefix, delegated length is lower than prefix length etc. |
Definition at line 31 of file ip_range.cc.
References delegated_length_, end_, isc_throw, isc::asiolink::IOAddress::isV6(), isc::asiolink::offsetAddress(), prefix_length_, isc::asiolink::prefixesInRange(), and start_.
Here is the call graph for this function:| isc::dhcp::PrefixRange::PrefixRange | ( | const asiolink::IOAddress & | start, |
| const asiolink::IOAddress & | end, | ||
| const uint8_t | delegated | ||
| ) |
Constructor.
| start | beginning of the prefix range. |
| end | end of the prefix range. |
| delegated | delegated prefix length. |
| BadValue | if the values provided to the constructor are invalid, e.g. it is not IPv6 prefix. |
Definition at line 53 of file ip_range.cc.
References delegated_length_, end_, isc_throw, isc::asiolink::IOAddress::isV6(), and start_.
Here is the call graph for this function:| uint8_t isc::dhcp::PrefixRange::delegated_length_ |
Delegated prefix length.
Definition at line 41 of file ip_range.h.
Referenced by PrefixRange(), and isc::dhcp::FreeLeaseQueue::addRange().
| asiolink::IOAddress isc::dhcp::PrefixRange::end_ |
IP address denoting the first address within the last prefix in the prefix range.
Definition at line 37 of file ip_range.h.
Referenced by PrefixRange(), and isc::dhcp::FreeLeaseQueue::addRange().
| uint8_t isc::dhcp::PrefixRange::prefix_length_ |
| asiolink::IOAddress isc::dhcp::PrefixRange::start_ |
IP address denoting the start of the prefix range.
Definition at line 34 of file ip_range.h.
Referenced by PrefixRange(), and isc::dhcp::FreeLeaseQueue::addRange().