Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCtrlPort = 10081 DefaultEncapPort = 10080 MaxPort = (1 << 16) - 1 SIGHdrSize = 8 )
Variables ¶
View Source
var ( CtrlPort = flag.Int("ctrlport", DefaultCtrlPort, "control data port (e.g., keepalives)") EncapPort = flag.Int("encapport", DefaultEncapPort, "encapsulation data port") SigTun = flag.String("tun", "sig", "Name of TUN device to create") )
Functions ¶
func CtrlSnetAddr ¶
func EncapSnetAddr ¶
func ValidatePort ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.