A Discrete-Event Network Simulator
API
lr-wpan-mac.h File Reference
#include "lr-wpan-fields.h"
#include "lr-wpan-mac-base.h"
#include "lr-wpan-phy.h"
#include <ns3/event-id.h>
#include <ns3/sequence-number.h>
#include <ns3/traced-callback.h>
#include <ns3/traced-value.h>
#include <deque>
#include <memory>
+ Include dependency graph for lr-wpan-mac.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::LrWpanMac::IndTxQueueElement
 Helper structure for managing pending transaction list elements (Indirect transmissions). More...
 
class  ns3::LrWpanMac
 Class that implements the LR-WPAN MAC state machine. More...
 
struct  ns3::LrWpanMac::TxQueueElement
 Helper structure for managing transmission queue elements. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::TracedValueCallback
 TracedValue Callback function types.
 

Typedefs

typedef void(* ns3::TracedValueCallback::LrWpanMacState) (LrWpanMacState oldValue, LrWpanMacState newValue)
 TracedValue callback signature for LrWpanMacState. More...
 
typedef void(* ns3::TracedValueCallback::SuperframeStatus) (SuperframeStatus oldValue, SuperframeStatus newValue)
 TracedValue callback signature for SuperframeStatus. More...
 

Enumerations

enum  ns3::LrWpanMacState {
  ns3::MAC_IDLE , ns3::MAC_CSMA , ns3::MAC_SENDING , ns3::MAC_ACK_PENDING ,
  ns3::CHANNEL_ACCESS_FAILURE , ns3::CHANNEL_ACCESS_FAILURE = 0xe1 , ns3::CHANNEL_IDLE , ns3::SET_PHY_TX_ON ,
  ns3::MAC_GTS , ns3::MAC_INACTIVE , ns3::MAC_CSMA_DEFERRED
}
 MAC states. More...
 
enum  ns3::LrWpanTxOption { ns3::TX_OPTION_NONE = 0 , ns3::TX_OPTION_ACK = 1 , ns3::TX_OPTION_GTS = 2 , ns3::TX_OPTION_INDIRECT = 4 }
 Tx options. More...
 
enum  ns3::PendingPrimitiveStatus {
  ns3::MLME_NONE = 0 , ns3::MLME_START_REQ = 1 , ns3::MLME_SCAN_REQ = 2 , ns3::MLME_ASSOC_REQ = 3 ,
  ns3::MLME_SYNC_REQ = 4
}
 Indicates a pending MAC primitive. More...
 
enum  ns3::SuperframeStatus { ns3::BEACON , ns3::CAP , ns3::CFP , ns3::INACTIVE }
 Superframe status. More...
 
enum  ns3::SuperframeType { ns3::OUTGOING = 0 , ns3::INCOMING = 1 }
 Superframe type. More...
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, const LrWpanMacState &state)
 Overloaded operator to print the value of a LrWpanMacState. More...