2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 15:35:17 +00:00

[#278,!162] Addressed review comments

This commit is contained in:
Thomas Markwalder
2018-12-10 12:05:30 -05:00
parent 414b2d8aa5
commit 21dad40c94
3 changed files with 13 additions and 6 deletions

View File

@@ -78,6 +78,7 @@
* - @subpage dhcpv6ConfigBackend * - @subpage dhcpv6ConfigBackend
* - @subpage dhcpv6SignalBasedReconfiguration * - @subpage dhcpv6SignalBasedReconfiguration
* - @subpage dhcpv6Other * - @subpage dhcpv6Other
* - @subpage dhcpv4o6Dhcp6
* - @subpage congestionHandling * - @subpage congestionHandling
* - @subpage d2 * - @subpage d2
* - @subpage d2ProcessDerivation * - @subpage d2ProcessDerivation

View File

@@ -41,8 +41,11 @@ enum class QueueEnd {
/// This class serves as the abstract interface for packet queue /// This class serves as the abstract interface for packet queue
/// implementations which may be used by @c IfaceMgr to store /// implementations which may be used by @c IfaceMgr to store
/// inbound packets until they are a dequeued for processing. /// inbound packets until they are a dequeued for processing.
/// @note Derivations of this class MUST BE thread-safe.
/// ///
/// @tparam PacktTypePtr Type of packet the queue contains.
/// This expected to be either isc::dhcp::Pkt4Ptr or isc::dhcp::Pkt6Ptr
///
/// @note Derivations of this class MUST BE thread-safe.
template<typename PacketTypePtr> template<typename PacketTypePtr>
class PacketQueue { class PacketQueue {
public: public:

View File

@@ -18,7 +18,10 @@ namespace isc {
namespace dhcp { namespace dhcp {
/// @brief Provides an abstract ring-buffer implementation of the PacketQueue interface. /// @brief Provides a ring-buffer implementation of the PacketQueue interface.
///
/// @tparam PacktTypePtr Type of packet the queue contains.
/// This expected to be either isc::dhcp::Pkt4Ptr or isc::dhcp::Pkt6Ptr
template<typename PacketTypePtr> template<typename PacketTypePtr>
class PacketQueueRing : public PacketQueue<PacketTypePtr> { class PacketQueueRing : public PacketQueue<PacketTypePtr> {
public: public: