Searched refs:dtlsPacket (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/net/third_party/nss/ssl/ |
D | ssl3gthr.c | 173 if (gs->dtlsPacketOffset == gs->dtlsPacket.len) { /* No data left */ in dtls_GatherData() 175 gs->dtlsPacket.len = 0; in dtls_GatherData() 183 if (gs->dtlsPacket.space < MAX_FRAGMENT_LENGTH + 2048 + 13) { in dtls_GatherData() 184 err = sslBuffer_Grow(&gs->dtlsPacket, in dtls_GatherData() 192 nb = ssl_DefRecv(ss, gs->dtlsPacket.buf, gs->dtlsPacket.space, flags); in dtls_GatherData() 195 PRINT_BUF(60, (ss, "raw gather data:", gs->dtlsPacket.buf, nb)); in dtls_GatherData() 208 gs->dtlsPacket.len = nb; in dtls_GatherData() 214 if ((gs->dtlsPacket.len - gs->dtlsPacketOffset) < 13) { in dtls_GatherData() 219 gs->dtlsPacket.len = 0; in dtls_GatherData() 223 memcpy(gs->hdr, gs->dtlsPacket.buf + gs->dtlsPacketOffset, 13); in dtls_GatherData() [all …]
|
D | sslgathr.c | 405 gs->dtlsPacket.len = 0; in ssl_InitGather() 417 PORT_Free(gs->dtlsPacket.buf); in ssl_DestroyGather()
|
D | sslimpl.h | 444 sslBuffer dtlsPacket; member
|