equal
deleted
inserted
replaced
2244 if (it != m_bAckAgreements.end ()) |
2244 if (it != m_bAckAgreements.end ()) |
2245 { |
2245 { |
2246 uint16_t endSequence = ((*it).second.first.GetStartingSequence () + 2047) % 4096; |
2246 uint16_t endSequence = ((*it).second.first.GetStartingSequence () + 2047) % 4096; |
2247 uint16_t mappedStart = QosUtilsMapSeqControlToUniqueInteger (seq, endSequence); |
2247 uint16_t mappedStart = QosUtilsMapSeqControlToUniqueInteger (seq, endSequence); |
2248 BufferedPacketI last = (*it).second.second.begin (); |
2248 BufferedPacketI last = (*it).second.second.begin (); |
2249 uint16_t guard; |
2249 uint16_t guard = 0; |
2250 if (last != (*it).second.second.end ()) |
2250 if (last != (*it).second.second.end ()) |
2251 guard = (*it).second.second.begin ()->second.GetSequenceControl () & 0xfff0; |
2251 { |
2252 |
2252 guard = (*it).second.second.begin ()->second.GetSequenceControl () & 0xfff0; |
|
2253 } |
2253 BufferedPacketI i = (*it).second.second.begin (); |
2254 BufferedPacketI i = (*it).second.second.begin (); |
2254 for (; i != (*it).second.second.end () |
2255 for (; i != (*it).second.second.end () |
2255 && QosUtilsMapSeqControlToUniqueInteger ((*i).second.GetSequenceNumber (), endSequence) < mappedStart;) |
2256 && QosUtilsMapSeqControlToUniqueInteger ((*i).second.GetSequenceNumber (), endSequence) < mappedStart;) |
2256 { |
2257 { |
2257 if (guard == (*i).second.GetSequenceControl ()) |
2258 if (guard == (*i).second.GetSequenceControl ()) |