Home
last modified time | relevance | path

Searched refs:serviceFlow (Results 1 – 25 of 30) sorted by relevance

12

/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/wimax/model/
H A Dbs-service-flow-manager.cc122 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 Dbandwidth-manager.cc74 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 Dbs-uplink-scheduler-mbqos.cc186 ServiceFlow *serviceFlow = *iter2; in UplinkSchedWindowTimer() local
187 …if ((serviceFlow->GetSchedulingType () == ServiceFlow::SF_TYPE_RTPS) || (serviceFlow->GetSchedulin… in UplinkSchedWindowTimer()
202serviceFlow->GetRecord ()->SetBwSinceLastExpiry (-serviceFlow->GetRecord ()->GetBacklogged ()); in UplinkSchedWindowTimer()
750 …if (serviceFlow->GetSchedulingType () == ServiceFlow::SF_TYPE_RTPS || serviceFlow->GetSchedulingTy… in CheckMinimumBandwidth()
753serviceFlow->GetRecord ()->SetBackloggedTemp (serviceFlow->GetRecord ()->GetBacklogged ()); in CheckMinimumBandwidth()
797serviceFlow->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 Dss-service-flow-manager.cc105 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 Dbs-uplink-scheduler-simple.cc350 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 Dbs-uplink-scheduler-rtps.cc363 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 Dss-service-flow-manager.h73 void AddServiceFlow (ServiceFlow *serviceFlow);
78 void AddServiceFlow (ServiceFlow serviceFlow);
108 DsaReq CreateDsaReq (const ServiceFlow *serviceFlow);
120 void ScheduleDsaReq (const ServiceFlow *serviceFlow);
H A Dbs-uplink-scheduler-mbqos.h163 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 Dbs-service-flow-manager.h71 void AddServiceFlow (ServiceFlow *serviceFlow);
131 DsaRsp CreateDsaRsp (const ServiceFlow *serviceFlow, uint16_t transactionId);
141 void ScheduleDsaRsp (ServiceFlow *serviceFlow, Cid cid);
H A Dbs-uplink-scheduler-simple.h117 bool ServiceBandwidthRequests (ServiceFlow *serviceFlow,
135 void SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow);
H A Dbs-uplink-scheduler-rtps.h146 bool ServiceBandwidthRequests (ServiceFlow *serviceFlow,
182 void SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow);
H A Dss-net-device.cc647 ServiceFlow *serviceFlow = 0; in DoSend() local
670serviceFlow = 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 Dul-job.cc77 UlJob::SetServiceFlow (ServiceFlow *serviceFlow) in SetServiceFlow() argument
79 m_serviceFlow = serviceFlow; in SetServiceFlow()
H A Dwimax-connection.cc105 WimaxConnection::SetServiceFlow (ServiceFlow *serviceFlow) in SetServiceFlow() argument
107 m_serviceFlow = serviceFlow; in SetServiceFlow()
H A Dbs-uplink-scheduler.h198 virtual bool ServiceBandwidthRequests (ServiceFlow *serviceFlow,
215 virtual void SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow) = 0;
H A Dservice-flow-manager.cc78 ServiceFlowManager::AddServiceFlow (ServiceFlow *serviceFlow) in AddServiceFlow() argument
80 m_serviceFlows->push_back (serviceFlow); in AddServiceFlow()
H A Dbs-net-device.cc616 ServiceFlow *serviceFlow = 0; in DoSend() local
627serviceFlow = 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 Dss-record.cc224 SSRecord::AddServiceFlow (ServiceFlow *serviceFlow) in AddServiceFlow() argument
226 m_serviceFlows->push_back (serviceFlow); in AddServiceFlow()
H A Dbs-scheduler-simple.cc329 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 Dbandwidth-manager.h77 uint32_t CalculateAllocationSize (const SSRecord *ssRecord, const ServiceFlow *serviceFlow);
H A Dbs-scheduler-simple.h96 Ptr<PacketBurst> CreateUgsBurst (ServiceFlow *serviceFlow,
H A Dservice-flow-manager.h66 void AddServiceFlow (ServiceFlow * serviceFlow);
H A Dbs-scheduler.h99 virtual Ptr<PacketBurst> CreateUgsBurst (ServiceFlow *serviceFlow,
H A Dwimax-connection.h79 void SetServiceFlow (ServiceFlow *serviceFlow);
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/wimax/helper/
H A Dwimax-helper.cc431 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 …]

12