3 = resendDelay + flags
| 104 | const uint8_t * GetNACKs () const { return buf + 17; }; |
| 105 | const uint8_t * GetOption () const { return buf + 17 + GetNACKCount ()*4 + 3; }; // 3 = resendDelay + flags |
| 106 | uint16_t GetFlags () const { return bufbe16toh (GetOption () - 2); }; |
| 107 | uint16_t GetOptionSize () const { return bufbe16toh (GetOption ()); }; |
| 108 | const uint8_t * GetOptionData () const { return GetOption () + 2; }; |
| 109 | const uint8_t * GetPayload () const { return GetOptionData () + GetOptionSize (); }; |
no test coverage detected