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

Method write

SMS/SMSMessages.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154void CPMessage::write(L3Frame& dest) const
155{
156 // We override L3Message::write for the transaction identifier.
157 dest.resize(bitsNeeded());
158 size_t wp = 0;
159 // Note that 1/2-octet fields are reversed relative to Table 7.1.
160 dest.writeField(wp,mTI,4);
161 dest.writeField(wp,PD(),4);
162 dest.writeField(wp,MTI(),8);
163 writeBody(dest, wp);
164}
165
166
167void CPData::parseBody( const L3Frame& src, size_t &rp )

Callers 6

dmAddLocalTagMethod · 0.45
dmAddCallDialogMethod · 0.45
tuMapAddMethod · 0.45
writeBodyMethod · 0.45
pdpWriteLowSideMethod · 0.45
addShellRequestFunction · 0.45

Calls 3

tailMethod · 0.80
writeFieldMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected