/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/wimax/model/ |
H A D | bs-service-flow-manager.cc | 122 dsaRsp.SetServiceFlow (*serviceFlow); in CreateDsaRsp() 141 serviceFlow->SetIsEnabled (true); in ScheduleDsaRsp() 143 ssRecord->AddServiceFlow (serviceFlow); in ScheduleDsaRsp() 190 ServiceFlow * serviceFlow; in ProcessDsaReq() local 214 AddServiceFlow (serviceFlow); in ProcessDsaReq() 219 return serviceFlow; in ProcessDsaReq() 226 serviceFlow->CopyParametersFrom (sf); in AddMulticastServiceFlow() 230 AddServiceFlow (serviceFlow); in AddMulticastServiceFlow() 231 serviceFlow->SetIsEnabled (true); in AddMulticastServiceFlow() 233 serviceFlow->SetIsMulticast (true); in AddMulticastServiceFlow() [all …]
|
H A D | bandwidth-manager.cc | 74 if (serviceFlow->GetSchedulingType () != ServiceFlow::SF_TYPE_UGS in CalculateAllocationSize() 81 switch (serviceFlow->GetSchedulingType ()) in CalculateAllocationSize() 86 >= serviceFlow->GetUnsolicitedGrantInterval ()) in CalculateAllocationSize() 89 serviceFlow->GetRecord ()->SetGrantTimeStamp (currentTime); in CalculateAllocationSize() 96 >= serviceFlow->GetUnsolicitedPollingInterval ()) in CalculateAllocationSize() 130 ServiceFlow *serviceFlow = 0; in SelectFlowForRequest() local 137 serviceFlow = *iter; in SelectFlowForRequest() 151 return serviceFlow; in SelectFlowForRequest() 160 ServiceFlow *serviceFlow = SelectFlowForRequest (bytesToRequest); in SendBandwidthRequest() local 162 if (!serviceFlow || !bytesToRequest) in SendBandwidthRequest() [all …]
|
H A D | bs-uplink-scheduler-mbqos.cc | 186 ServiceFlow *serviceFlow = *iter2; in UplinkSchedWindowTimer() local 187 …if ((serviceFlow->GetSchedulingType () == ServiceFlow::SF_TYPE_RTPS) || (serviceFlow->GetSchedulin… in UplinkSchedWindowTimer() 202 … serviceFlow->GetRecord ()->SetBwSinceLastExpiry (-serviceFlow->GetRecord ()->GetBacklogged ()); in UplinkSchedWindowTimer() 750 …if (serviceFlow->GetSchedulingType () == ServiceFlow::SF_TYPE_RTPS || serviceFlow->GetSchedulingTy… in CheckMinimumBandwidth() 753 … serviceFlow->GetRecord ()->SetBackloggedTemp (serviceFlow->GetRecord ()->GetBacklogged ()); in CheckMinimumBandwidth() 797 … serviceFlow->GetRecord ()->SetBackloggedTemp (serviceFlow->GetRecord ()->GetBackloggedTemp () in CheckMinimumBandwidth() 836 ServiceFlow *serviceFlow = *iter; in ServiceUnsolicitedGrants() local 873 …NS_LOG_DEBUG (", CID: " << serviceFlow->GetConnection ()->GetCid () << ", SFID: " << serviceFlow->… in ServiceUnsolicitedGrants() 918 sduSize = serviceFlow->GetSduSize (); in ServiceBandwidthRequests() 1072 if (serviceFlowJob == serviceFlow) in GetPendingSize() [all …]
|
H A D | ss-service-flow-manager.cc | 105 SsServiceFlowManager::AddServiceFlow (ServiceFlow serviceFlow) in AddServiceFlow() argument 108 sf->CopyParametersFrom (serviceFlow); in AddServiceFlow() 113 SsServiceFlowManager::AddServiceFlow (ServiceFlow *serviceFlow) in AddServiceFlow() argument 115 ServiceFlowManager::AddServiceFlow (serviceFlow); in AddServiceFlow() 122 ServiceFlow *serviceFlow = GetNextServiceFlowToAllocate (); in InitiateServiceFlows() local 124 m_pendingServiceFlow = serviceFlow; in InitiateServiceFlows() 137 dsaReq.SetServiceFlow (*serviceFlow); in CreateDsaReq() 164 dsaReq = CreateDsaReq (serviceFlow); in ScheduleDsaReq() 191 serviceFlow); in ScheduleDsaReq() 233 if (serviceFlow == 0) in ProcessDsaRsp() [all …]
|
H A D | bs-uplink-scheduler-simple.cc | 350 ServiceFlow *serviceFlow = *iter; in ServiceUnsolicitedGrants() local 367 ServiceBandwidthRequests (serviceFlow, in ServiceUnsolicitedGrants() 398 …NS_LOG_DEBUG (", CID: " << serviceFlow->GetConnection ()->GetCid () << ", SFID: " << serviceFlow->… in ServiceUnsolicitedGrants() 441 ServiceFlowRecord *record = serviceFlow->GetRecord (); in ServiceBandwidthRequests() 442 sduSize = serviceFlow->GetSduSize (); in ServiceBandwidthRequests() 522 switch (serviceFlow->GetSchedulingType ()) in SetupServiceFlow() 526 if (serviceFlow->GetIsMulticast () == true) in SetupServiceFlow() 528 modulation = serviceFlow->GetModulation (); in SetupServiceFlow() 535 serviceFlow->GetRecord ()->SetGrantSize (grantSize); in SetupServiceFlow() 545 serviceFlow->SetUnsolicitedGrantInterval (interval); in SetupServiceFlow() [all …]
|
H A D | bs-uplink-scheduler-rtps.cc | 363 ServiceFlow *serviceFlow = *iter; in ServiceUnsolicitedGrants() local 381 ServiceBandwidthRequests (serviceFlow, in ServiceUnsolicitedGrants() 422 …NS_LOG_DEBUG (", CID: " << serviceFlow->GetConnection ()->GetCid () << ", SFID: " << serviceFlow->… in ServiceUnsolicitedGrants() 465 ServiceFlowRecord *record = serviceFlow->GetRecord (); in ServiceBandwidthRequests() 466 sduSize = serviceFlow->GetSduSize (); in ServiceBandwidthRequests() 651 switch (serviceFlow->GetSchedulingType ()) in SetupServiceFlow() 655 if (serviceFlow->GetIsMulticast () == true) in SetupServiceFlow() 657 modulation = serviceFlow->GetModulation (); in SetupServiceFlow() 664 serviceFlow->GetRecord ()->SetGrantSize (grantSize); in SetupServiceFlow() 674 serviceFlow->SetUnsolicitedGrantInterval (interval); in SetupServiceFlow() [all …]
|
H A D | ss-service-flow-manager.h | 73 void AddServiceFlow (ServiceFlow *serviceFlow); 78 void AddServiceFlow (ServiceFlow serviceFlow); 108 DsaReq CreateDsaReq (const ServiceFlow *serviceFlow); 120 void ScheduleDsaReq (const ServiceFlow *serviceFlow);
|
H A D | bs-uplink-scheduler-mbqos.h | 163 bool ServiceBandwidthRequests (ServiceFlow *serviceFlow, 180 void SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow); 235 Time DetermineDeadline (ServiceFlow *serviceFlow); 282 GetPendingSize (ServiceFlow* serviceFlow); 296 ServiceBandwidthRequestsBytes (ServiceFlow *serviceFlow,
|
H A D | bs-service-flow-manager.h | 71 void AddServiceFlow (ServiceFlow *serviceFlow); 131 DsaRsp CreateDsaRsp (const ServiceFlow *serviceFlow, uint16_t transactionId); 141 void ScheduleDsaRsp (ServiceFlow *serviceFlow, Cid cid);
|
H A D | bs-uplink-scheduler-simple.h | 117 bool ServiceBandwidthRequests (ServiceFlow *serviceFlow, 135 void SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow);
|
H A D | bs-uplink-scheduler-rtps.h | 146 bool ServiceBandwidthRequests (ServiceFlow *serviceFlow, 182 void SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow);
|
H A D | ss-net-device.cc | 647 ServiceFlow *serviceFlow = 0; in DoSend() local 670 …serviceFlow = m_classifier->Classify (packet, GetServiceFlowManager (), ServiceFlow::SF_DIRECTION_… in DoSend() 673 if ((protocolNumber != 2048) || (serviceFlow == NULL)) in DoSend() 675 serviceFlow = *GetServiceFlowManager ()->GetServiceFlows (ServiceFlow::SF_TYPE_ALL).begin (); in DoSend() 679 …NS_LOG_INFO ("\tPacket classified in the service flow SFID = " << serviceFlow->GetSfid () << " CI… in DoSend() 680 << serviceFlow->GetCid ()); in DoSend() 681 if (serviceFlow->GetIsEnabled ()) in DoSend() 683 if (!Enqueue (packet, MacHeaderType (), serviceFlow->GetConnection ())) in DoSend() 1035 … ServiceFlow *serviceFlow = GetConnectionManager ()->GetConnection (cid)->GetServiceFlow (); in DoReceive() local 1036 ServiceFlowRecord *record = serviceFlow->GetRecord (); in DoReceive()
|
H A D | ul-job.cc | 77 UlJob::SetServiceFlow (ServiceFlow *serviceFlow) in SetServiceFlow() argument 79 m_serviceFlow = serviceFlow; in SetServiceFlow()
|
H A D | wimax-connection.cc | 105 WimaxConnection::SetServiceFlow (ServiceFlow *serviceFlow) in SetServiceFlow() argument 107 m_serviceFlow = serviceFlow; in SetServiceFlow()
|
H A D | bs-uplink-scheduler.h | 198 virtual bool ServiceBandwidthRequests (ServiceFlow *serviceFlow, 215 virtual void SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow) = 0;
|
H A D | service-flow-manager.cc | 78 ServiceFlowManager::AddServiceFlow (ServiceFlow *serviceFlow) in AddServiceFlow() argument 80 m_serviceFlows->push_back (serviceFlow); in AddServiceFlow()
|
H A D | bs-net-device.cc | 616 ServiceFlow *serviceFlow = 0; in DoSend() local 627 …serviceFlow = m_bsClassifier->Classify (packet, GetServiceFlowManager (), ServiceFlow::SF_DIRECTIO… in DoSend() 630 if (protocolNumber != 2048 || serviceFlow == 0) in DoSend() 632 serviceFlow = *GetServiceFlowManager ()->GetServiceFlows (ServiceFlow::SF_TYPE_ALL).begin (); in DoSend() 635 if (serviceFlow == 0) in DoSend() 641 if (serviceFlow->GetIsEnabled ()) in DoSend() 643 if (!Enqueue (packet, MacHeaderType (), serviceFlow->GetConnection ())) in DoSend()
|
H A D | ss-record.cc | 224 SSRecord::AddServiceFlow (ServiceFlow *serviceFlow) in AddServiceFlow() argument 226 m_serviceFlows->push_back (serviceFlow); in AddServiceFlow()
|
H A D | bs-scheduler-simple.cc | 329 Ptr<PacketBurst> BSSchedulerSimple::CreateUgsBurst (ServiceFlow *serviceFlow, in CreateUgsBurst() argument 340 Ptr<WimaxConnection> connection = serviceFlow->GetConnection (); in CreateUgsBurst() 341 while (serviceFlow->HasPackets ()) in CreateUgsBurst()
|
H A D | bandwidth-manager.h | 77 uint32_t CalculateAllocationSize (const SSRecord *ssRecord, const ServiceFlow *serviceFlow);
|
H A D | bs-scheduler-simple.h | 96 Ptr<PacketBurst> CreateUgsBurst (ServiceFlow *serviceFlow,
|
H A D | service-flow-manager.h | 66 void AddServiceFlow (ServiceFlow * serviceFlow);
|
H A D | bs-scheduler.h | 99 virtual Ptr<PacketBurst> CreateUgsBurst (ServiceFlow *serviceFlow,
|
H A D | wimax-connection.h | 79 void SetServiceFlow (ServiceFlow *serviceFlow);
|
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/wimax/helper/ |
H A D | wimax-helper.cc | 431 serviceFlow.SetMaxSustainedTrafficRate (100); in CreateServiceFlow() 432 serviceFlow.SetMinReservedTrafficRate (1000000); in CreateServiceFlow() 434 serviceFlow.SetMaximumLatency (100); in CreateServiceFlow() 435 serviceFlow.SetMaxTrafficBurst (2000); in CreateServiceFlow() 436 serviceFlow.SetTrafficPriority (1); in CreateServiceFlow() 437 serviceFlow.SetUnsolicitedGrantInterval (1); in CreateServiceFlow() 438 serviceFlow.SetMaxSustainedTrafficRate (70); in CreateServiceFlow() 439 serviceFlow.SetToleratedJitter (10); in CreateServiceFlow() 440 serviceFlow.SetSduSize (49); in CreateServiceFlow() 441 serviceFlow.SetRequestTransmissionPolicy (0); in CreateServiceFlow() [all …]
|