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

Method getPayload

SGSNGGSN/LLC.h:404–404  ·  view source on GitHub ↗

protocol compression

Source from the content-addressed store, hash-verified

402 unsigned getDcomp() { return getField2(1,0,4); } // data compression
403 unsigned getPcomp() { return getField2(1,4,4); } // protocol compression
404 ByteVector getPayload() { return tail((getT() ? 3 : 2)+(getF()?1:0)); }
405
406 // For UNITDATA (unacknowledged mode) - T bit == 1
407 unsigned getSegmentNumber() { return getField2(getF()?2:1,0,4); }

Callers 1

sndcpWriteLowSideMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected