sigcmn

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxPort    = (1 << 16) - 1
	SIGHdrSize = 8
)

Variables

View Source
var (
	DefV4Net = &net.IPNet{IP: net.IPv4zero, Mask: net.CIDRMask(0, net.IPv4len*8)}
	DefV6Net = &net.IPNet{IP: net.IPv6zero, Mask: net.CIDRMask(0, net.IPv6len*8)}
)
View Source
var (
	IA       addr.IA
	Host     addr.HostAddr
	PathMgr  pathmgr.Resolver
	CtrlConn snet.Conn
	MgmtAddr *mgmt.Addr
)

Functions

func EncapSnetAddr

func EncapSnetAddr() *snet.Addr

func Init

func Init(cfg sigconfig.SigConf, sdCfg env.SciondClient) error

func ValidatePort

func ValidatePort(desc string, port int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL