summaryrefslogtreecommitdiff
path: root/src/constants.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-01 23:29:22 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-01 23:29:22 +0200
commit1e620427bd01b1e897c57752359f7dbb28e34bff (patch)
treef525ee38fec7826b07060271dcc06601f992612d /src/constants.go
parenta4cc0a30faa64c2c293c589d98e4ba7390e56fda (diff)
downloadwireguard-go-1e620427bd01b1e897c57752359f7dbb28e34bff.tar.gz
wireguard-go-1e620427bd01b1e897c57752359f7dbb28e34bff.zip
Handshake negotiation functioning
Diffstat (limited to 'src/constants.go')
-rw-r--r--src/constants.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/constants.go b/src/constants.go
index 34217d2..2e484f3 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -17,5 +17,9 @@ const (
)
const (
- QueueOutboundSize = 1024
+ QueueOutboundSize = 1024
+ QueueInboundSize = 1024
+ QueueHandshakeSize = 1024
+ QueueHandshakeBusySize = QueueHandshakeSize / 8
+ MinMessageSize = MessageTransportSize
)