sigcmn

package
Version: v0.0.0-...-c8fc2fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

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")
)
View Source
var (
	IA       *addr.ISD_AS
	Host     addr.HostAddr
	PathMgr  *pathmgr.PR
	CtrlConn *snet.Conn
	MgmtAddr *mgmt.Addr
)

Functions

func CtrlSnetAddr

func CtrlSnetAddr() *snet.Addr

func EncapSnetAddr

func EncapSnetAddr() *snet.Addr

func Init

func Init(ia *addr.ISD_AS, ip net.IP) error

func ValidatePort

func ValidatePort(desc string, port int) error

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL