MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / msCountTBF2

Method msCountTBF2

GPRS/MSInfo.cpp:720–733  ·  view source on GitHub ↗

Count TBFs for this real MS, which means all MSInfo belonging to the real MS.

Source from the content-addressed store, hash-verified

718
719// Count TBFs for this real MS, which means all MSInfo belonging to the real MS.
720int MSInfo::msCountTBF2(RLCDir::type dir, TbfMacroState tbfmstate, TBF**ptbf)
721{
722 int count = msCountTBF1(dir,tbfmstate,ptbf);
723 if (msAltTlli) {
724 MSInfo *ms2 = gL2MAC.macFindMSByTlli(msAltTlli,false);
725 if (ms2 == NULL) {
726 // The old MSInfo expired naturally, and we will never have to worry about it again.
727 msAltTlli = 0;
728 } else {
729 count += ms2->msCountTBF1(dir,tbfmstate,ptbf);
730 }
731 }
732 return count;
733}
734
735int MSInfo::msCountActiveTBF(RLCDir::type dir, TBF**ptbf)
736{

Callers

nothing calls this directly

Calls 2

macFindMSByTlliMethod · 0.80
msCountTBF1Method · 0.80

Tested by

no test coverage detected