ns-3
ns3::MsduStandardAggregator Class Reference

#include <msdu-standard-aggregator.h>

Inheritance diagram for ns3::MsduStandardAggregator:
Collaboration diagram for ns3::MsduStandardAggregator:

List of all members.

Public Member Functions

virtual bool Aggregate (Ptr< const Packet > packet, Ptr< Packet > aggregatedPacket, Mac48Address src, Mac48Address dest)

Static Public Member Functions

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

Detailed Description

Standard MSDU aggregator


Member Function Documentation

bool ns3::MsduStandardAggregator::Aggregate ( Ptr< const Packet packet,
Ptr< Packet aggregatedPacket,
Mac48Address  src,
Mac48Address  dest 
) [virtual]
Parameters:
packetPacket we have to insert into aggregatedPacket.
aggregatedPacketPacket that will contain packet, if aggregation is possible,
srcSource address of packet.
destDestination address of packet.

This method performs an MSDU aggregation. Returns true if packet can be aggregated to aggregatedPacket, false otherwise.

Implements ns3::MsduAggregator.

References ns3::Packet::AddAtEnd(), ns3::Packet::AddHeader(), ns3::Packet::Copy(), ns3::Packet::GetSize(), and NS_LOG_FUNCTION.

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

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::MsduAggregator/$ns3::MsduStandardAggregator
  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::MsduStandardAggregator
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::MsduAggregator/$ns3::MsduStandardAggregator
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::MsduStandardAggregator

Attributes defined for this type:

  • MaxAmsduSize: Max length in byte of an A-MSDU

No TraceSources defined for this type.

Reimplemented from ns3::MsduAggregator.

References ns3::TypeId::SetParent().


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