]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2658] document big integer statistics
authorAndrei Pavel <andrei@isc.org>
Fri, 28 Apr 2023 07:24:04 +0000 (10:24 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 17 May 2023 16:09:38 +0000 (19:09 +0300)
doc/sphinx/arm/dhcp6-srv.rst
doc/sphinx/arm/stats.rst

index 4ca0b227df240bebd8da2be6f4887fbe7c1aa7c3..28dfe0f4292114a0792ae519292f5fc750109f57 100644 (file)
@@ -6540,7 +6540,7 @@ The DHCPv6 server supports the following statistics:
    |                                              |                | are certain cases where there is   |
    |                                              |                | no response.                       |
    +----------------------------------------------+----------------+------------------------------------+
-   | subnet[id].total-nas                         | integer        | Total number of NA addresses       |
+   | subnet[id].total-nas                         | big integer    | Total number of NA addresses       |
    |                                              |                | available for DHCPv6 management    |
    |                                              |                | for a given subnet; in other       |
    |                                              |                | words, this is the sum of all      |
@@ -6587,7 +6587,7 @@ The DHCPv6 server supports the following statistics:
    |                                              |                | subnet separately, and is reset    |
    |                                              |                | during a reconfiguration event.    |
    +----------------------------------------------+----------------+------------------------------------+
-   | subnet[id].total-pds                         | integer        | Total number of PD prefixes        |
+   | subnet[id].total-pds                         | big integer    | Total number of PD prefixes        |
    |                                              |                | available for DHCPv6 management    |
    |                                              |                | for a given subnet; in other       |
    |                                              |                | words, this is the sum of all      |
index 4c59a29f17051939d4fc0084745fd5cb9fc09b7c..289d4dd92ca6138123a7785f81faa48b1ea80ac7 100644 (file)
@@ -26,6 +26,10 @@ There are four types of statistics:
    64-bit integer (int64_t in C++), so it can hold any value between
    -2^63 to 2^63-1.
 
+-  *big integer* - this type is inteded for holding large numbers. It is
+   implemented as a 128-bit integer (boost::multiprecision::int128_t in C++), so
+   it can hold any value between -2^127 to 2^127-1.
+
 -  *floating point* - this type is intended to store floating-point
    precision. It is implemented as a C++ double type.