A Discrete-Event Network Simulator
API
Sequence Counter

"sequence number" classes More...

+ Collaboration diagram for Sequence Counter:

Classes

class  ns3::LollipopCounter< T >
 Template class implementing a Lollipop counter as defined in RFC 8505, RFC 6550, and [Perlman83]. More...
 
class  ns3::SequenceNumber< NUMERIC_TYPE, SIGNED_TYPE >
 Generic "sequence number" class. More...
 

Typedefs

typedef LollipopCounter< uint16_t > ns3::LollipopCounter16
 16 bit Lollipop Counter. More...
 
typedef LollipopCounter< uint8_t > ns3::LollipopCounter8
 8 bit Lollipop Counter. More...
 
typedef SequenceNumber< uint16_t, int16_t > ns3::SequenceNumber16
 16 bit Sequence number. More...
 
typedef SequenceNumber< uint32_t, int32_t > ns3::SequenceNumber32
 32 bit Sequence number. More...
 
typedef void(* ns3::TracedValueCallback::SequenceNumber32) (SequenceNumber32 oldValue, SequenceNumber32 newValue)
 TracedValue callback signature for SequenceNumber32. More...
 
typedef SequenceNumber< uint8_t, int8_t > ns3::SequenceNumber8
 8 bit Sequence number. More...
 

Functions

 ns3::TYPENAMEGET_DEFINE (SequenceNumber32)
 ns3::TypeNameGet<SequenceNumber32>() specialization. More...
 

Detailed Description

"sequence number" classes

Typedef Documentation

◆ LollipopCounter16

16 bit Lollipop Counter.

Definition at line 391 of file lollipop-counter.h.

◆ LollipopCounter8

8 bit Lollipop Counter.

Definition at line 386 of file lollipop-counter.h.

◆ SequenceNumber16

typedef SequenceNumber<uint16_t, int16_t> ns3::SequenceNumber16

16 bit Sequence number.

Definition at line 431 of file sequence-number.h.

◆ SequenceNumber32 [1/2]

typedef SequenceNumber<uint32_t, int32_t> ns3::SequenceNumber32

32 bit Sequence number.

Definition at line 426 of file sequence-number.h.

◆ SequenceNumber32 [2/2]

typedef void(* ns3::TracedValueCallback::SequenceNumber32) (SequenceNumber32 oldValue, SequenceNumber32 newValue)

TracedValue callback signature for SequenceNumber32.

Parameters
[in]oldValueoriginal value of the traced variable
[in]newValuenew value of the traced variable

Definition at line 448 of file sequence-number.h.

◆ SequenceNumber8

typedef SequenceNumber<uint8_t, int8_t> ns3::SequenceNumber8

8 bit Sequence number.

Definition at line 436 of file sequence-number.h.

Function Documentation

◆ TYPENAMEGET_DEFINE()

ns3::TYPENAMEGET_DEFINE ( SequenceNumber32  )

ns3::TypeNameGet<SequenceNumber32>() specialization.

Returns
The type name as a string.