22 #ifndef WIMAX_NET_DEVICE_H 
   23 #define WIMAX_NET_DEVICE_H 
   25 #include "ns3/net-device.h" 
   26 #include "ns3/event-id.h" 
   27 #include "ns3/mac48-address.h" 
   34 #include "ns3/traced-callback.h" 
   35 #include "ns3/nstime.h" 
   49 class BurstProfileManager;
 
   50 class ConnectionManager;
 
   51 class ServiceFlowManager;
 
   52 class BandwidthManager;
 
   53 class UplinkScheduler;
 
   88   void SetTtg (uint16_t ttg);
 
   92   uint16_t 
GetTtg (
void) 
const;
 
   96   void SetRtg (uint16_t rtg);
 
  100   uint16_t 
GetRtg (
void) 
const;
 
  178   virtual void Start (
void) = 0;
 
  179   virtual void Stop (
void) = 0;
 
  193   virtual void SetName (
const std::string name);
 
  194   virtual std::string 
GetName (
void) 
const;
 
  195   virtual void SetIfIndex (
const uint32_t index);
 
  201   virtual bool SetMtu (
const uint16_t mtu);
 
  202   virtual uint16_t 
GetMtu (
void) 
const;
 
  270                        uint16_t protocolNumber) = 0;
 
void SetRtg(uint16_t rtg)
 
Simulation virtual time values and global simulation resolution. 
 
Smart pointer class similar to boost::intrusive_ptr. 
 
uint16_t GetRtg(void) const 
 
NetDevice::PromiscReceiveCallback m_promiscRx
 
virtual bool DoSend(Ptr< Packet > packet, const Mac48Address &source, const Mac48Address &dest, uint16_t protocolNumber)=0
 
virtual ~WimaxNetDevice(void)
 
Forward calls to a chain of Callback. 
 
Ptr< WimaxConnection > m_broadcastConnection
 
void ForwardUp(Ptr< Packet > packet, const Mac48Address &source, const Mac48Address &dest)
 
Ptr< BurstProfileManager > m_burstProfileManager
 
Callback< void > m_linkChange
 
Dcd GetCurrentDcd(void) const 
 
Ptr< WimaxConnection > GetBroadcastConnection(void) const 
 
void Receive(Ptr< const PacketBurst > burst)
 
Ptr< ConnectionManager > GetConnectionManager(void) const 
 
void(* TxRxTracedCallback)(Ptr< const Packet > packet, const Mac48Address &mac)
TracedCallback signature for packet and Mac48Address. 
 
a polymophic address class 
 
static const uint16_t DEFAULT_MSDU_SIZE
 
virtual bool IsMulticast(void) const 
 
uint32_t GetNrFrames(void) const 
 
virtual void Stop(void)=0
 
virtual Ptr< Channel > GetChannel(void) const 
 
virtual bool SetMtu(const uint16_t mtu)
 
WimaxNetDevice & operator=(const WimaxNetDevice &)
 
static TypeId GetTypeId(void)
 
virtual Address GetMulticast(void) const 
 
uint16_t GetTtg(void) const 
 
void SetCurrentDcd(Dcd dcd)
 
void SetTtg(uint16_t ttg)
 
Ptr< ConnectionManager > m_connectionManager
 
Ptr< WimaxConnection > m_initialRangingConnection
 
virtual void SetIfIndex(const uint32_t index)
 
Introspection did not find any typical Config paths. 
 
std::vector< uint64_t > m_dlChannels
 
virtual Ptr< WimaxChannel > DoGetChannel(void) const 
 
virtual Address GetBroadcast(void) const 
 
Ptr< WimaxConnection > GetInitialRangingConnection(void) const 
 
Ptr< BandwidthManager > GetBandwidthManager(void) const 
 
static uint32_t m_nrFrames
 
virtual void SetPromiscReceiveCallback(PromiscReceiveCallback cb)
 
virtual void Start(void)=0
 
virtual void SetConnectionManager(Ptr< ConnectionManager > connectionManager)
 
Introspection did not find any typical Config paths. 
 
Mac48Address GetMacAddress(void) const 
 
virtual void DoDispose(void)
Destructor implementation. 
 
virtual uint32_t GetIfIndex(void) const 
 
virtual Ptr< Node > GetNode(void) const 
 
void SetBandwidthManager(Ptr< BandwidthManager > bandwidthManager)
 
virtual Address GetAddress(void) const 
 
Hold together all Wimax-related objects in a NetDevice. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
virtual void SetLinkChangeCallback(Callback< void > callback)
 
virtual bool IsBroadcast(void) const 
 
void SetBurstProfileManager(Ptr< BurstProfileManager > burstProfileManager)
 
TracedCallback< Ptr< const Packet >, const Mac48Address & > m_traceTx
 
Ucd GetCurrentUcd(void) const 
 
void SetMacAddress(Mac48Address address)
 
virtual void DoReceive(Ptr< Packet > packet)=0
 
virtual bool Enqueue(Ptr< Packet > packet, const MacHeaderType &hdrType, Ptr< WimaxConnection > connection)=0
 
void SetChannel(Ptr< WimaxChannel > wimaxChannel)
 
void SetPhy(Ptr< WimaxPhy > phy)
 
virtual bool IsLinkUp(void) const 
 
NetDevice::PromiscReceiveCallback GetPromiscReceiveCallback(void)
 
virtual bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)
 
void NotifyPromiscTrace(Ptr< Packet > p)
 
virtual bool SupportsSendFrom(void) const 
 
Ptr< BurstProfileManager > GetBurstProfileManager(void) const 
 
Describes an IPv6 address. 
 
Ipv4 addresses are stored in host order in this class. 
 
virtual void AddLinkChangeCallback(Callback< void > callback)
 
void SetNrFrames(uint32_t nrFrames)
 
virtual bool IsPointToPoint(void) const 
Return true if the net device is on a point-to-point link. 
 
Network layer to device interface. 
 
virtual bool SendFrom(Ptr< Packet > packet, const Address &source, const Address &dest, uint16_t protocolNumber)
 
void SetCurrentUcd(Ucd ucd)
 
virtual uint16_t GetMtu(void) const 
 
void ForwardDown(Ptr< PacketBurst > burst, WimaxPhy::ModulationType modulationType)
 
Ptr< WimaxPhy > GetPhy(void) const 
 
virtual Ptr< Channel > GetPhyChannel(void) const 
 
void CreateDefaultConnections(void)
Creates the initial ranging and broadcast connections. 
 
NetDevice::ReceiveCallback m_forwardUp
 
TracedCallback< Ptr< const Packet >, const Mac48Address & > m_traceRx
 
virtual Address MakeMulticastAddress(Ipv4Address multicastGroup) const 
 
void Attach(Ptr< WimaxChannel > channel)
 
void SetState(uint8_t state)
 
void InitializeChannels(void)
 
virtual std::string GetName(void) const 
 
static const uint16_t MAX_MSDU_SIZE
 
virtual void SetName(const std::string name)
 
virtual void SetAddress(Address address)
Set the address of this interface. 
 
virtual bool IsBridge(void) const 
Return true if the net device is acting as a bridge. 
 
virtual void SetNode(Ptr< Node > node)
 
virtual bool NeedsArp(void) const 
 
Ptr< BandwidthManager > m_bandwidthManager
 
a unique identifier for an interface. 
 
void SetReceiveCallback(void)
 
static Time m_frameStartTime
 
uint8_t GetState(void) const 
 
static uint8_t m_direction