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

Method parseTV

GSM/GSML3Message.cpp:213–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213bool L3ProtocolElement::parseTV(unsigned IEI, const L3Frame& source, size_t &rp)
214{
215 if (rp==source.size()) return false;
216 if (lengthV()==0) {
217 unsigned thisIEI = source.peekField(rp,4);
218 if (thisIEI!=IEI) return false;
219 rp += 4;
220 parseV(source,rp);
221 return true;
222 }
223
224 unsigned thisIEI = source.peekField(rp,8);
225 if (thisIEI!=IEI) return false;
226 rp += 8;
227 parseV(source,rp);
228 return true;
229}
230
231
232bool parseHasT(unsigned IEI, const L3Frame& source, size_t &rp)

Callers 1

parseBodyMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected