Searched refs:ZT_PACKET_IDX_VERB (Results 1 – 2 of 2) sorted by relevance
886 uint8_t *const payload = data + ZT_PACKET_IDX_VERB; in armor()887 const unsigned int payloadLen = size() - ZT_PACKET_IDX_VERB; in armor()911 const unsigned int payloadLen = (encryptPayload) ? (size() - ZT_PACKET_IDX_VERB) : 0; in armor()916 Poly1305::compute(mac,data + ZT_PACKET_IDX_VERB,size() - ZT_PACKET_IDX_VERB,keyStream); in armor()928 uint8_t *const payload = data + ZT_PACKET_IDX_VERB; in armor()929 const unsigned int payloadLen = size() - ZT_PACKET_IDX_VERB; in armor()943 const unsigned int payloadLen = size() - ZT_PACKET_IDX_VERB; in dearmor()944 unsigned char *const payload = data + ZT_PACKET_IDX_VERB; in dearmor()1025 data[ZT_PACKET_IDX_VERB] |= (char)ZT_PROTO_VERB_FLAG_COMPRESSED; in compress()1031 data[ZT_PACKET_IDX_VERB] &= (char)(~ZT_PROTO_VERB_FLAG_COMPRESSED); in compress()[all …]
229 #define ZT_PACKET_IDX_VERB 27 macro1228 …inline bool compressed() const { return (((unsigned char)(*this)[ZT_PACKET_IDX_VERB] & ZT_PROTO_VE… in compressed()1304 inline void setVerb(Verb v) { (*this)[ZT_PACKET_IDX_VERB] = (char)v; } in setVerb()1309 inline Verb verb() const { return (Verb)((*this)[ZT_PACKET_IDX_VERB] & 0x1f); } in verb()