diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2015-06-16 21:08:56 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2015-06-16 21:08:56 +0200 |
commit | d1df0ceb1d192d0808b1b158b0ed27b1ca65b2f7 (patch) | |
tree | ca03c10480b1a353e7edb2ec6b88cdf5620651ca /src/bin/dhcp6/dhcp6_srv.h | |
parent | [master] Compilation fix after 3798 merge. (diff) | |
download | kea-d1df0ceb1d192d0808b1b158b0ed27b1ca65b2f7.tar.xz kea-d1df0ceb1d192d0808b1b158b0ed27b1ca65b2f7.zip |
[3795] Packet statistics implemented for DHCPv6
Diffstat (limited to 'src/bin/dhcp6/dhcp6_srv.h')
-rw-r--r-- | src/bin/dhcp6/dhcp6_srv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/dhcp6/dhcp6_srv.h b/src/bin/dhcp6/dhcp6_srv.h index a26ae4db14..3dc32a461f 100644 --- a/src/bin/dhcp6/dhcp6_srv.h +++ b/src/bin/dhcp6/dhcp6_srv.h @@ -740,6 +740,14 @@ private: Lease6Ptr& new_lease, const std::string& hostname, bool do_fwd, bool do_rev); + /// @brief Updates statistics for received packets + /// @param query packet received + static void processStatsReceived(const Pkt6Ptr& query); + + /// @brief Updates statistics for transmitted packets + /// @param query packet transmitted + static void processStatsSent(const Pkt6Ptr& response); + /// @brief Allocation Engine. /// Pointer to the allocation engine that we are currently using /// It must be a pointer, because we will support changing engines |