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

Method writeUIHeader

SGSNGGSN/LLC.cpp:215–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void LlcFrameUI::writeUIHeader(unsigned wNU /*, bool pf*/)
216{
217 bool wE = 0; // no encryption.
218 bool wPM = 1; // Checksum FCS is over everything.
219 setField2(controlOffset,0,0x18,5); // UI format tag and unused bits.
220 setField2(controlOffset,5,wNU,9); // frame number.
221 setField2(controlOffset+1,6,wE,1);
222 setField2(controlOffset+1,7,wPM,1);
223}
224
225void LlcEngine::allocSndcp(SgsnInfo *si, unsigned nsapi, unsigned llcsapi)
226{

Callers 1

lleWriteHighSideMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected