protocol compression
| 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); } |