]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/common.go
Various stylistic and grammar fixes
[govpn.git] / src / cypherpunks.ru / govpn / common.go
index 98137c1c3bc4e5e91744c1c8fb22b87c12afb613..56b0f696527231738a49f1eae7f15988327f76fa 100644 (file)
@@ -1,6 +1,6 @@
 /*
 GoVPN -- simple secure free software virtual private network daemon
-Copyright (C) 2014-2016 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2014-2017 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -28,18 +28,21 @@ import (
 const (
        TimeoutDefault = 60
        EtherSize      = 14
-       MTUMax         = 9000 + EtherSize + 1
-       MTUDefault     = 1500 + EtherSize + 1
+       // MTUMax is maximum MTU size of Ethernet packet
+       MTUMax = 9000 + EtherSize + 1
+       // MTUDefault is default MTU size of Ethernet packet
+       MTUDefault = 1500 + EtherSize + 1
 
        ENV_IFACE  = "GOVPN_IFACE"
        ENV_REMOTE = "GOVPN_REMOTE"
 )
 
 var (
+       // Version holds release string set at build time
        Version string
 )
 
-// Call external program/script.
+// ScriptCall calls external program/script.
 // You have to specify path to it and (inteface name as a rule) something
 // that will be the first argument when calling it. Function will return
 // it's output and possible error.