ns-3
ns3::SeqTsHeader Class Reference

Packet header for Udp client/server application The header is made of a 32bits sequence number followed by a 64bits time stamp. More...

#include <seq-ts-header.h>

Inheritance diagram for ns3::SeqTsHeader:
Collaboration diagram for ns3::SeqTsHeader:

List of all members.

Public Member Functions

void SetSeq (uint32_t seq)
uint32_t GetSeq (void) const
Time GetTs (void) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::SeqTsHeader.

Detailed Description

Packet header for Udp client/server application The header is made of a 32bits sequence number followed by a 64bits time stamp.


Member Function Documentation

uint32_t ns3::SeqTsHeader::GetSeq ( void  ) const
Returns:
the sequence number
Time ns3::SeqTsHeader::GetTs ( void  ) const
Returns:
the time stamp
TypeId ns3::SeqTsHeader::GetTypeId ( void  ) [static]

This method returns the TypeId associated to ns3::SeqTsHeader.

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Header.

References ns3::TypeId::SetParent().

void ns3::SeqTsHeader::SetSeq ( uint32_t  seq)
Parameters:
seqthe sequence number

The documentation for this class was generated from the following files: