Searched refs:dtlsPacketOffset (Results 1 – 3 of 3) sorted by relevance
173 if (gs->dtlsPacketOffset == gs->dtlsPacket.len) { /* No data left */ in dtls_GatherData()174 gs->dtlsPacketOffset = 0; in dtls_GatherData()214 if ((gs->dtlsPacket.len - gs->dtlsPacketOffset) < 13) { in dtls_GatherData()218 gs->dtlsPacketOffset = 0; in dtls_GatherData()223 memcpy(gs->hdr, gs->dtlsPacket.buf + gs->dtlsPacketOffset, 13); in dtls_GatherData()224 gs->dtlsPacketOffset += 13; in dtls_GatherData()229 if ((gs->dtlsPacket.len - gs->dtlsPacketOffset) < gs->remainder) { in dtls_GatherData()233 gs->dtlsPacketOffset = 0; in dtls_GatherData()247 memcpy(gs->inbuf.buf, gs->dtlsPacket.buf + gs->dtlsPacketOffset, in dtls_GatherData()251 gs->dtlsPacketOffset += gs->remainder; in dtls_GatherData()
404 gs->dtlsPacketOffset = 0; in ssl_InitGather()
445 unsigned int dtlsPacketOffset; member