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

Function parseL3SupServ

GSM/GSML3SSMessages.cpp:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114L3SupServMessage * parseL3SupServ(const L3Frame& source)
115{
116 // mask out bit #7 (1011 1111) so use 0xbf
117 L3SupServMessage::MessageType MTI = (L3SupServMessage::MessageType)(0xbf & source.MTI());
118 LOG(DEBUG) << "MTI= "<< (int)MTI;
119 L3SupServMessage *retVal = L3SupServFactory(MTI);
120 if (retVal==NULL) return NULL;
121 retVal->setTI(source.TI());
122 retVal->parse(source);
123 LOG(DEBUG) << "parse L3 SS Message" << *retVal;
124 return retVal;
125}
126
127void L3SupServMessage::write(L3Frame& dest) const
128{

Callers 1

parseL3Method · 0.85

Calls 5

L3SupServFactoryFunction · 0.85
setTIMethod · 0.80
MTIMethod · 0.45
TIMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected