src/node/drop-tail-queue.h
changeset 3525 4b8ef7da0ac3
parent 3183 fc3b2e03e61e
child 4198 7e0ff1be867a
equal deleted inserted replaced
3524:028b7de98fb1 3525:4b8ef7da0ac3
    45   virtual ~DropTailQueue();
    45   virtual ~DropTailQueue();
    46 
    46 
    47 private:
    47 private:
    48   virtual bool DoEnqueue (Ptr<Packet> p);
    48   virtual bool DoEnqueue (Ptr<Packet> p);
    49   virtual Ptr<Packet> DoDequeue (void);
    49   virtual Ptr<Packet> DoDequeue (void);
    50   virtual Ptr<Packet> DoPeek (void) const;
    50   virtual Ptr<const Packet> DoPeek (void) const;
    51 
    51 
    52 private:
    52 private:
    53   std::queue<Ptr<Packet> > m_packets;
    53   std::queue<Ptr<Packet> > m_packets;
    54   uint32_t m_maxPackets;
    54   uint32_t m_maxPackets;
    55 };
    55 };