aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_record.hrl
diff options
context:
space:
mode:
authorAndreas Schultz <[email protected]>2013-06-12 16:26:24 +0200
committerIngela Anderton Andin <[email protected]>2013-09-10 09:37:29 +0200
commitfb6ac178ac437fcc04f1675df75b0583c1d24ad7 (patch)
treebcd8072e85b2eeb43566f36fb7545ab3bd40ddd9 /lib/ssl/src/tls_record.hrl
parentf3be514fd1e015f78a227d25c3471dbe2cfb3d51 (diff)
downloadotp-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/tls_record.hrl')
-rw-r--r--lib/ssl/src/tls_record.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ssl/src/tls_record.hrl b/lib/ssl/src/tls_record.hrl
index c9350fa137..0e3552bafa 100644
--- a/lib/ssl/src/tls_record.hrl
+++ b/lib/ssl/src/tls_record.hrl
@@ -27,6 +27,12 @@
-define(tls_record, true).
-include("ssl_record.hrl"). %% Common TLS and DTLS records and Constantes
+-record(connection_states, {
+ current_read,
+ pending_read,
+ current_write,
+ pending_write
+ }).
%% Used to handle tls_plain_text, tls_compressed and tls_cipher_text