A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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::lrwpan::LrWpanMac::IndTxQueueElement
 Helper structure for managing pending transaction list elements (Indirect transmissions). More...
 
class  ns3::lrwpan::LrWpanMac
 Class that implements the LR-WPAN MAC state machine. More...
 
struct  ns3::lrwpan::LrWpanMac::TxQueueElement
 Helper structure for managing transmission queue elements. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
namespace  ns3::lrwpan
 
namespace  ns3::lrwpan::TracedValueCallback
 

Typedefs

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

Enumerations

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

Functions

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