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

Method parseTLV

GSM/GSML3Message.cpp:240–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240bool L3ProtocolElement::parseTLV(unsigned IEI, const L3Frame& source, size_t &rp)
241{
242 if (rp==source.size()) return false;
243 unsigned thisIEI = source.peekField(rp,8);
244 if (thisIEI!=IEI) return false;
245 rp += 8;
246 parseLV(source,rp);
247 return true;
248}
249
250
251

Callers 5

parseBodyMethod · 0.80
ccCommonParseMethod · 0.80
parseBodyMethod · 0.80
parseBodyMethod · 0.80
parseBodyMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected