A Discrete-Event Network Simulator
API
lr-wpan-mac-base.h File Reference
#include <ns3/callback.h>
#include <ns3/mac16-address.h>
#include <ns3/mac64-address.h>
#include <ns3/nstime.h>
#include <ns3/object.h>
#include <ns3/packet.h>
#include <ns3/ptr.h>
#include <cstdint>
+ Include dependency graph for lr-wpan-mac-base.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::LrWpanMacBase
 Lr-wpan MAC layer abstraction. More...
 
struct  ns3::LrWpanMacPibAttributes
 IEEE802.15.4-2011 PHY PIB Attributes Table 52 in section 6.4.2. More...
 
struct  ns3::McpsDataConfirmParams
 MCPS-DATA.confirm params. More...
 
struct  ns3::McpsDataIndicationParams
 MCPS-DATA.indication params. More...
 
struct  ns3::McpsDataRequestParams
 MCPS-DATA.request params. More...
 
struct  ns3::MlmeAssociateConfirmParams
 MLME-ASSOCIATE.confirm params. More...
 
struct  ns3::MlmeAssociateIndicationParams
 MLME-ASSOCIATE.indication params. More...
 
struct  ns3::MlmeAssociateRequestParams
 MLME-ASSOCIATE.request params. More...
 
struct  ns3::MlmeAssociateResponseParams
 MLME-ASSOCIATE.response params. More...
 
struct  ns3::MlmeBeaconNotifyIndicationParams
 MLME-BEACON-NOTIFY.indication params. More...
 
struct  ns3::MlmeCommStatusIndicationParams
 MLME-COMM-STATUS.indication params. More...
 
struct  ns3::MlmeOrphanIndicationParams
 MLME-ORPHAN.indication params. More...
 
struct  ns3::MlmeOrphanResponseParams
 MLME-ORPHAN.response params. More...
 
struct  ns3::MlmePollConfirmParams
 MLME-START.confirm params. More...
 
struct  ns3::MlmePollRequestParams
 MLME-POLL.request params. More...
 
struct  ns3::MlmeScanConfirmParams
 MLME-SCAN.confirm params. More...
 
struct  ns3::MlmeScanRequestParams
 MLME-SCAN.request params. More...
 
struct  ns3::MlmeSetConfirmParams
 MLME-SET.confirm params. More...
 
struct  ns3::MlmeStartConfirmParams
 MLME-START.confirm params. More...
 
struct  ns3::MlmeStartRequestParams
 MLME-START.request params. More...
 
struct  ns3::MlmeSyncLossIndicationParams
 MLME-SYNC-LOSS.indication params. More...
 
struct  ns3::MlmeSyncRequestParams
 MLME-SYNC.request params. More...
 
struct  ns3::PanDescriptor
 PAN Descriptor, Table 17 IEEE 802.15.4-2011. More...
 

Namespaces

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

Typedefs

using ns3::McpsDataConfirmCallback = Callback< void, McpsDataConfirmParams >
 This callback is called after a McpsDataRequest has been called from the higher layer. More...
 
using ns3::McpsDataIndicationCallback = Callback< void, McpsDataIndicationParams, Ptr< Packet > >
 This callback is called after a Mcps has successfully received a frame and wants to deliver it to the higher layer. More...
 
using ns3::MlmeAssociateConfirmCallback = Callback< void, MlmeAssociateConfirmParams >
 This callback is called after a MlmeAssociateRequest has been called from the higher layer. More...
 
using ns3::MlmeAssociateIndicationCallback = Callback< void, MlmeAssociateIndicationParams >
 This callback is called after a Mlme has successfully received a command frame and wants to deliver it to the higher layer. More...
 
using ns3::MlmeBeaconNotifyIndicationCallback = Callback< void, MlmeBeaconNotifyIndicationParams >
 This callback is called after a Mlme has successfully received a beacon frame and wants to deliver it to the higher layer. More...
 
using ns3::MlmeCommStatusIndicationCallback = Callback< void, MlmeCommStatusIndicationParams >
 This callback is called by the MLME and issued to its next higher layer following a transmission instigated through a response primitive. More...
 
using ns3::MlmeGetConfirmCallback = Callback< void, LrWpanMacStatus, LrWpanMacPibAttributeIdentifier, Ptr< LrWpanMacPibAttributes > >
 This callback is called after a MlmeGetRequest has been called from the higher layer to get a PIB. More...
 
using ns3::MlmeOrphanIndicationCallback = Callback< void, MlmeOrphanIndicationParams >
 This callback is called by the MLME and issued to its next higher layer following the reception of a orphan notification. More...
 
using ns3::MlmePollConfirmCallback = Callback< void, MlmePollConfirmParams >
 This callback is called after a Mlme-Poll.Request has been called from the higher layer. More...
 
using ns3::MlmeScanConfirmCallback = Callback< void, MlmeScanConfirmParams >
 This callback is called after a MlmeScanRequest has been called from the higher layer. More...
 
using ns3::MlmeSetConfirmCallback = Callback< void, MlmeSetConfirmParams >
 This callback is called after a MlmeSetRequest has been called from the higher layer to set a PIB. More...
 
using ns3::MlmeStartConfirmCallback = Callback< void, MlmeStartConfirmParams >
 This callback is called after a MlmeStartRequest has been called from the higher layer. More...
 
using ns3::MlmeSyncLossIndicationCallback = Callback< void, MlmeSyncLossIndicationParams >
 This callback is called to indicate the loss of synchronization with a coordinator. More...
 

Enumerations

enum  ns3::LrWpanAddressMode { ns3::NO_PANID_ADDR = 0 , ns3::ADDR_MODE_RESERVED = 1 , ns3::SHORT_ADDR = 2 , ns3::EXT_ADDR = 3 }
 table 80 of 802.15.4 More...
 
enum  ns3::LrWpanMacPibAttributeIdentifier {
  ns3::macBeaconPayload = 0 , ns3::macBeaconPayloadLength = 1 , ns3::macShortAddress = 2 , ns3::macExtendedAddress = 3 ,
  ns3::macPanId = 4 , ns3::pCurrentChannel = 100 , ns3::pCurrentPage = 101 , ns3::unsupported = 255
}
 IEEE802.15.4-2011 MAC PIB Attribute Identifiers Table 52 in section 6.4.2. More...
 
enum class  ns3::LrWpanMacStatus : std::uint8_t {
  ns3::SUCCESS = 0 , ns3::FULL_CAPACITY = 0x01 , ns3::ACCESS_DENIED = 0x02 , ns3::COUNTER_ERROR = 0xdb ,
  ns3::IMPROPER_KEY_TYPE = 0xdc , ns3::IMPROPER_SECURITY_LEVEL = 0xdd , ns3::UNSUPPORTED_LEGACY = 0xde , ns3::UNSUPPORTED_SECURITY = 0xdf ,
  ns3::BEACON_LOSS = 0xe0 , ns3::CHANNEL_ACCESS_FAILURE = 0xe1 , ns3::DENIED = 0xe2 , ns3::DISABLE_TRX_FAILURE = 0xe3 ,
  ns3::SECURITY_ERROR = 0xe4 , ns3::FRAME_TOO_LONG = 0xe5 , ns3::INVALID_GTS = 0xe6 , ns3::INVALID_HANDLE = 0xe7 ,
  ns3::INVALID_PARAMETER = 0xe8 , ns3::NO_ACK = 0xe9 , ns3::NO_BEACON = 0xea , ns3::NO_DATA = 0xeb ,
  ns3::NO_SHORT_ADDRESS = 0xec , ns3::OUT_OF_CAP = 0xed , ns3::PAN_ID_CONFLICT = 0xee , ns3::REALIGMENT = 0xef ,
  ns3::TRANSACTION_EXPIRED = 0xf0 , ns3::TRANSACTION_OVERFLOW = 0xf1 , ns3::TX_ACTIVE = 0xf2 , ns3::UNAVAILABLE_KEY = 0xf3 ,
  ns3::UNSUPPORTED_ATTRIBUTE = 0xf4 , ns3::INVALID_ADDRESS = 0xf5 , ns3::ON_TIME_TOO_LONG = 0xf6 , ns3::PAST_TIME = 0xf7 ,
  ns3::TRACKING_OFF = 0xf8 , ns3::INVALID_INDEX = 0xf9 , ns3::LIMIT_REACHED = 0xfa , ns3::READ_ONLY = 0xfb ,
  ns3::SCAN_IN_PROGRESS = 0xfc , ns3::SUPERFRAME_OVERLAP = 0xfd
}
 The status of a confirm or an indication primitive as a result of a previous request. More...
 
enum  ns3::LrWpanMlmeScanType { ns3::MLMESCAN_ED = 0x00 , ns3::MLMESCAN_ACTIVE = 0x01 , ns3::MLMESCAN_PASSIVE = 0x02 , ns3::MLMESCAN_ORPHAN = 0x03 }
 Table 30 of IEEE 802.15.4-2011. More...