diff options
author | Andreas Schultz <[email protected]> | 2013-06-12 16:26:24 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-09-10 09:37:29 +0200 |
commit | fb6ac178ac437fcc04f1675df75b0583c1d24ad7 (patch) | |
tree | bcd8072e85b2eeb43566f36fb7545ab3bd40ddd9 /lib/ssl/src/dtls_record.hrl | |
parent | f3be514fd1e015f78a227d25c3471dbe2cfb3d51 (diff) | |
download | otp-fb6ac178ac437fcc04f1675df75b0583c1d24ad7.tar.gz otp-fb6ac178ac437fcc04f1675df75b0583c1d24ad7.tar.bz2 otp-fb6ac178ac437fcc04f1675df75b0583c1d24ad7.zip |
ssl: Add DTLS record primitives
This code is to 99 % written by Andreas Schultz only some small changes
to start integrating with OTPs DTLS solution.
Diffstat (limited to 'lib/ssl/src/dtls_record.hrl')
-rw-r--r-- | lib/ssl/src/dtls_record.hrl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ssl/src/dtls_record.hrl b/lib/ssl/src/dtls_record.hrl index e935d84bdf..c50550cc28 100644 --- a/lib/ssl/src/dtls_record.hrl +++ b/lib/ssl/src/dtls_record.hrl @@ -28,6 +28,18 @@ -include("ssl_record.hrl"). %% Common TLS and DTLS records and Constantes +-define(INITIAL_BYTES, 5). + +-record(connection_states, { + min_read_epoch, + previous_read, + current_read, + pending_read, + previous_write, + current_write, + pending_write + }). + %% Used to handle tls_plain_text, tls_compressed and tls_cipher_text -record(ssl_tls, { |