aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet/transport/session.go
blob: 90e4016098eb36e65fbbdcf4f3de7e686d87327e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package transport

import ()

const (
	KX_STATE_DOWN         = iota // No handshake yet.
	KX_STATE_KEY_SENT            // We've sent our session key.
	KX_STATE_KEY_RECEIVED        // We've received the other peers session key.
	KX_STATE_UP                  // Key exchange is done.
	KX_STATE_REKEY_SENT          // We're rekeying (or had a timeout).
	KX_PEER_DISCONNECT           // Last state of a KX (when it is being terminated).
)