query

package
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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NullHpCfgID = HPCfgID{IA: addr.IAInt(0).IA(), ID: 0}

Functions

This section is empty.

Types

type HPCfgID

type HPCfgID struct {
	IA *addr.ISD_AS
	ID uint64
}

TODO(shitz): This should be moved when we have hidden path sets.

func NewHPCfgID

func NewHPCfgID(isd int, as int, ID uint64) *HPCfgID

func (*HPCfgID) Eq

func (h *HPCfgID) Eq(other *HPCfgID) bool

type IntfSpec

type IntfSpec struct {
	IA   *addr.ISD_AS
	IfID uint64
}

type Params

type Params struct {
	SegID    common.RawBytes
	SegTypes []seg.Type
	HpCfgIDs []*HPCfgID
	Intfs    []*IntfSpec
	StartsAt []*addr.ISD_AS
	EndsAt   []*addr.ISD_AS
}

type Result

type Result struct {
	Seg      *seg.PathSegment
	HpCfgIDs []*HPCfgID
}

Jump to

Keyboard shortcuts

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