A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
zigbee-nwk-routing.cc File Reference
#include "ns3/constant-position-mobility-model.h"
#include "ns3/core-module.h"
#include "ns3/log.h"
#include "ns3/lr-wpan-module.h"
#include "ns3/packet.h"
#include "ns3/propagation-delay-model.h"
#include "ns3/propagation-loss-model.h"
#include "ns3/simulator.h"
#include "ns3/single-model-spectrum-channel.h"
#include "ns3/zigbee-module.h"
#include <iostream>
+ Include dependency graph for zigbee-nwk-routing.cc:

Go to the source code of this file.

Functions

static void NwkDataIndication (Ptr< ZigbeeStack > stack, NldeDataIndicationParams params, Ptr< Packet > p)
 
static void NwkJoinConfirm (Ptr< ZigbeeStack > stack, NlmeJoinConfirmParams params)
 
static void NwkNetworkDiscoveryConfirm (Ptr< ZigbeeStack > stack, NlmeNetworkDiscoveryConfirmParams params)
 
static void NwkNetworkFormationConfirm (Ptr< ZigbeeStack > stack, NlmeNetworkFormationConfirmParams params)
 
static void NwkRouteDiscoveryConfirm (Ptr< ZigbeeStack > stack, NlmeRouteDiscoveryConfirmParams params)
 
static void SendData (Ptr< ZigbeeStack > stackSrc, Ptr< ZigbeeStack > stackDst)
 
static void TraceRoute (Mac16Address src, Mac16Address dst)
 

Variables

ZigbeeStackContainer zigbeeStacks
 

Function Documentation

◆ NwkDataIndication()

static void NwkDataIndication ( Ptr< ZigbeeStack > stack,
NldeDataIndicationParams params,
Ptr< Packet > p )
static

Definition at line 109 of file zigbee-nwk-routing.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ NwkJoinConfirm()

static void NwkJoinConfirm ( Ptr< ZigbeeStack > stack,
NlmeJoinConfirmParams params )
static

Definition at line 164 of file zigbee-nwk-routing.cc.

References ns3::Time::As(), ns3::zigbee::ZigbeeNwk::NlmeStartRouterRequest(), ns3::Simulator::Now(), ns3::Time::S, and ns3::Simulator::ScheduleNow().

+ Here is the call graph for this function:

◆ NwkNetworkDiscoveryConfirm()

◆ NwkNetworkFormationConfirm()

static void NwkNetworkFormationConfirm ( Ptr< ZigbeeStack > stack,
NlmeNetworkFormationConfirmParams params )
static

Definition at line 116 of file zigbee-nwk-routing.cc.

◆ NwkRouteDiscoveryConfirm()

static void NwkRouteDiscoveryConfirm ( Ptr< ZigbeeStack > stack,
NlmeRouteDiscoveryConfirmParams params )
static

Definition at line 189 of file zigbee-nwk-routing.cc.

◆ SendData()

◆ TraceRoute()

static void TraceRoute ( Mac16Address src,
Mac16Address dst )
static

Definition at line 60 of file zigbee-nwk-routing.cc.

References ns3::Time::As(), ns3::zigbee::ZigbeeStackContainer::Begin(), ns3::zigbee::ZigbeeStackContainer::End(), ns3::Simulator::Now(), ns3::Time::S, and zigbeeStacks.

Referenced by SendData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ zigbeeStacks

ZigbeeStackContainer zigbeeStacks

Definition at line 57 of file zigbee-nwk-routing.cc.

Referenced by TraceRoute().