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 ¶
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.