#include <packet-loss-counter.h>
Public Member Functions | |
| PacketLossCounter (uint8_t bitmapSize) | |
| ~PacketLossCounter () | |
| uint16_t | GetBitMapSize (void) const | 
| uint32_t | GetLost (void) const | 
| void | NotifyReceived (uint32_t seq) | 
| void | SetBitMapSize (uint16_t size) | 
Private Member Functions | |
| bool | GetBit (uint32_t seqNum) | 
| void | SetBit (uint32_t seqNum, bool val) | 
Private Attributes | |
| uint16_t | m_bitMapSize | 
| uint32_t | m_lastMaxSeqNum | 
| uint32_t | m_lost | 
| uint8_t * | m_receiveBitMap | 
Definition at line 36 of file packet-loss-counter.h.
| ns3::PacketLossCounter::PacketLossCounter | ( | uint8_t | bitmapSize | ) | 
Definition at line 32 of file packet-loss-counter.cc.
References NS_LOG_FUNCTION, and SetBitMapSize().
 Here is the call graph for this function:| ns3::PacketLossCounter::~PacketLossCounter | ( | ) | 
Definition at line 42 of file packet-loss-counter.cc.
References m_receiveBitMap, and NS_LOG_FUNCTION.
      
  | 
  private | 
Definition at line 78 of file packet-loss-counter.cc.
References m_bitMapSize, m_receiveBitMap, and NS_LOG_FUNCTION.
Referenced by NotifyReceived().
 Here is the caller graph for this function:| uint16_t ns3::PacketLossCounter::GetBitMapSize | ( | void | ) | const | 
Definition at line 49 of file packet-loss-counter.cc.
References m_bitMapSize, and NS_LOG_FUNCTION.
Referenced by ns3::UdpServer::GetPacketWindowSize().
 Here is the caller graph for this function:| uint32_t ns3::PacketLossCounter::GetLost | ( | void | ) | const | 
Definition at line 71 of file packet-loss-counter.cc.
References m_lost, and NS_LOG_FUNCTION.
Referenced by PacketLossCounterTestCase::DoRun(), and ns3::UdpServer::GetLost().
 Here is the caller graph for this function:| void ns3::PacketLossCounter::NotifyReceived | ( | uint32_t | seq | ) | 
Definition at line 111 of file packet-loss-counter.cc.
References GetBit(), m_bitMapSize, m_lastMaxSeqNum, m_lost, NS_LOG_FUNCTION, NS_LOG_INFO, and SetBit().
Referenced by PacketLossCounterTestCase::DoRun(), and ns3::UdpServer::HandleRead().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 85 of file packet-loss-counter.cc.
References m_bitMapSize, m_receiveBitMap, and NS_LOG_FUNCTION.
Referenced by NotifyReceived().
 Here is the caller graph for this function:| void ns3::PacketLossCounter::SetBitMapSize | ( | uint16_t | size | ) | 
Definition at line 56 of file packet-loss-counter.cc.
References m_bitMapSize, m_receiveBitMap, NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by PacketLossCounter(), and ns3::UdpServer::SetPacketWindowSize().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 50 of file packet-loss-counter.h.
Referenced by GetBit(), GetBitMapSize(), NotifyReceived(), SetBit(), and SetBitMapSize().
      
  | 
  private | 
Definition at line 51 of file packet-loss-counter.h.
Referenced by NotifyReceived().
      
  | 
  private | 
Definition at line 49 of file packet-loss-counter.h.
Referenced by GetLost(), and NotifyReceived().
      
  | 
  private | 
Definition at line 52 of file packet-loss-counter.h.
Referenced by GetBit(), SetBit(), SetBitMapSize(), and ~PacketLossCounter().