Documentation ¶
Index ¶
- Constants
- Variables
- func Fatal(msg string, a ...interface{})
- func NewSCMPPkt(t scmp.Type, info scmp.Info, ext common.Extension) *spkt.ScnPkt
- func NextHopAddr() net.Addr
- func ParseFlags(version *bool) string
- func Rand() uint64
- func SetupSignals(f func())
- func UpdatePktTS(pkt *spkt.ScnPkt, ts time.Time)
- func Validate(pkt *spkt.ScnPkt) (*scmp.Hdr, *scmp.Payload, error)
- func ValidateFlags()
- type ScmpStats
Constants ¶
View Source
const ( DefaultInterval = 1 * time.Second DefaultTimeout = 2 * time.Second MaxEchoes = 1 << 16 )
Variables ¶
View Source
var ( // Flag vars Count uint Interactive bool Interval time.Duration Timeout time.Duration Local snet.Addr Remote snet.Addr Bind snet.Addr )
View Source
var ( Conn *reliable.Conn Mtu uint16 PathEntry *sciond.PathReplyEntry Stats *ScmpStats Start time.Time )
Functions ¶
func NextHopAddr ¶
func ParseFlags ¶
func SetupSignals ¶
func SetupSignals(f func())
func ValidateFlags ¶
func ValidateFlags()
Types ¶
Click to show internal directories.
Click to hide internal directories.