Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMaxPaths = 10
DefaultMaxPaths is the maximum number of paths that are displayed by default.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Local configures the local IP address to use. If this option is not provided,
// a local IP that can reach SCION hosts is selected with the help of the kernel.
Local net.IP
// SCIOND configures a specific SCION Deamon address.
SCIOND string
// MaxPaths configures the maximum number of displayed paths. If this option is
// not provided, the DefaultMaxPaths is used.
MaxPaths int
// Refresh configures whether sciond is queried with the refresh flag.
Refresh bool
// NoProbe configures whether the path status is probed or not.
NoProbe bool
// Sequence is a string of space separated Hop Predicates that is used for
// filtering.
Sequence string
}
Config configures the showpath run.
type Path ¶
type Path struct {
FullPath snet.Path `json:"-"`
Fingerprint string `json:"fingerprint"`
Hops []Hop `json:"hops"`
NextHop string `json:"next_hop"`
Expiry time.Time `json:"expiry"`
MTU uint16 `json:"mtu"`
Status string `json:"status,omitempty"`
StatusInfo string `json:"status_info,omitempty"`
Local net.IP `json:"local_ip,omitempty"`
}
Path holds information about the discovered path.
Click to show internal directories.
Click to hide internal directories.