MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / GetNACKCount

Method GetNACKCount

libi2pd/Streaming.h:102–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 uint32_t GetSeqn () const { return bufbe32toh (buf + 8); };
101 uint32_t GetAckThrough () const { return bufbe32toh (buf + 12); };
102 uint8_t GetNACKCount () const { return buf[16]; };
103 uint32_t GetNACK (int i) const { return bufbe32toh (buf + 17 + 4 * i); };
104 const uint8_t * GetNACKs () const { return buf + 17; };
105 const uint8_t * GetOption () const { return buf + 17 + GetNACKCount ()*4 + 3; }; // 3 = resendDelay + flags

Callers 2

HandleNextPacketMethod · 0.80
ProcessAckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected