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

Method smWriteBody

SGSNGGSN/GPRSL3Messages.cpp:1277–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1275
1276
1277void L3SmMsgActivatePdpContextAccept::smWriteBody(ByteVector &msg)
1278{
1279 //msg.appendByte(L3SmMsg::ActivatePDPContextAccept);
1280 msg.appendByte(mLlcSapi);
1281 // LV: QoS.
1282 msg.appendByte(mQoS.size());
1283 msg.append(mQoS);
1284 msg.appendField(0,4); // "spare half octet"
1285 msg.appendField(mRadioPriority,4);
1286 // TLV: Pdp Address
1287 msg.appendByte(0x2b); // IEI
1288 msg.appendByte(mPdpAddress.size());
1289 msg.append(mPdpAddress);
1290
1291 // TLV: Protocol Configuration Options.
1292 msg.appendByte(0x27); // IEI
1293 msg.appendByte(mPco.size());
1294 msg.append(mPco);
1295}
1296
1297// 24.008 9.5.14
1298void L3SmMsgDeactivatePdpContextRequest::smParseBody(L3SmFrame &src, size_t &rp)

Callers

nothing calls this directly

Calls 4

appendByteMethod · 0.80
sizeMethod · 0.45
appendMethod · 0.45
appendFieldMethod · 0.45

Tested by

no test coverage detected