system

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ASPath

func ASPath(i ...int32) func(msg proto.Message) error

func Activate added in v0.0.19

func Activate(b bool) func(msg proto.Message) error

func Address

func Address(s string) func(msg proto.Message) error

func AvgTime

func AvgTime(i int64) func(msg proto.Message) error

func Bytes

func Bytes(i int32) func(msg proto.Message) error

func Count

func Count(i int32) func(msg proto.Message) error

func CurrentTime

func CurrentTime(i uint64) func(msg proto.Message) error

func CurrentTimeNow

func CurrentTimeNow() func(msg proto.Message) error

func Destination

func Destination(s string) func(msg proto.Message) error

func DestinationName

func DestinationName(s string) func(msg proto.Message) error

func DoNotFragment

func DoNotFragment(b bool) func(msg proto.Message) error

func DoNotLookupAsn

func DoNotLookupAsn(b bool) func(msg proto.Message) error

func DoNotResolve

func DoNotResolve(b bool) func(msg proto.Message) error

func Hash added in v0.0.19

func Hash(method string, b []byte) func(msg proto.Message) error

func Hop

func Hop(i int32) func(msg proto.Message) error

func Hops

func Hops(i int32) func(msg proto.Message) error

func ICMPCode

func ICMPCode(i int32) func(msg proto.Message) error

func InitialTTL

func InitialTTL(i uint32) func(msg proto.Message) error

func Interval

func Interval(i int64) func(msg proto.Message) error

func L3Protocol

func L3Protocol(p string) func(msg proto.Message) error

func L3ProtocolCustom

func L3ProtocolCustom(i int32) func(msg proto.Message) error

func L3ProtocolIPv4

func L3ProtocolIPv4() func(msg proto.Message) error

func L3ProtocolIPv6

func L3ProtocolIPv6() func(msg proto.Message) error

func L3ProtocolUNSPECIFIED

func L3ProtocolUNSPECIFIED() func(msg proto.Message) error

func L4Protocol

func L4Protocol(p string) func(msg proto.Message) error

func L4ProtocolCustom

func L4ProtocolCustom(i int32) func(msg proto.Message) error

func L4ProtocolICMP

func L4ProtocolICMP() func(msg proto.Message) error

func L4ProtocolTCP

func L4ProtocolTCP() func(msg proto.Message) error

func L4ProtocolUDP

func L4ProtocolUDP() func(msg proto.Message) error

func MPLS

func MPLS(m map[string]string) func(msg proto.Message) error

func MPLSKV

func MPLSKV(v ...string) func(msg proto.Message) error

func MaxTime

func MaxTime(i int64) func(msg proto.Message) error

func MinTime

func MinTime(i int64) func(msg proto.Message) error

func Name

func Name(s string) func(msg proto.Message) error

func NetworkInstance added in v0.0.21

func NetworkInstance(ns string) func(msg proto.Message) error

func NewSetPackageHashRequest added in v0.0.19

func NewSetPackageHashRequest(opts ...SystemOption) (*gnoisystem.SetPackageRequest, error)

func NewSetPackagePackageRequest added in v0.0.19

func NewSetPackagePackageRequest(opts ...SystemOption) (*gnoisystem.SetPackageRequest, error)

func NewSystemKillProcessRequest added in v0.0.16

func NewSystemKillProcessRequest(opts ...SystemOption) (*gnoisystem.KillProcessRequest, error)

func NewSystemPingRequest

func NewSystemPingRequest(opts ...SystemOption) (*gnoisystem.PingRequest, error)

func NewSystemPingResponse

func NewSystemPingResponse(opts ...SystemOption) (*gnoisystem.PingResponse, error)

func NewSystemTimeRequest

func NewSystemTimeRequest(opts ...SystemOption) *gnoisystem.TimeRequest

func NewSystemTimeResponse

func NewSystemTimeResponse(opts ...SystemOption) (*gnoisystem.TimeResponse, error)

func NewSystemTracerouteRequest

func NewSystemTracerouteRequest(opts ...SystemOption) (*gnoisystem.TracerouteRequest, error)

func NewSystemTracerouteResponse

func NewSystemTracerouteResponse(opts ...SystemOption) (*gnoisystem.TracerouteResponse, error)

func PID added in v0.0.16

func PID(p uint32) func(msg proto.Message) error

func PackageFile added in v0.0.19

func PackageFile(n string) func(msg proto.Message) error

func ProcessName added in v0.0.16

func ProcessName(n string) func(msg proto.Message) error

func ProcessRestart added in v0.0.16

func ProcessRestart(b bool) func(msg proto.Message) error

func RTT

func RTT(s int64) func(msg proto.Message) error

func Received

func Received(i int32) func(msg proto.Message) error

func Sent

func Sent(i int32) func(msg proto.Message) error

func Sequence

func Sequence(i int32) func(msg proto.Message) error

func Signal added in v0.0.16

func Signal(sig string) func(msg proto.Message) error

func Size

func Size(i int32) func(msg proto.Message) error

func Source

func Source(s string) func(msg proto.Message) error

func State

func State(s string) func(msg proto.Message) error

func StateDEFAULT

func StateDEFAULT() func(msg proto.Message) error

func StateFRAGMENTATION_NEEDED

func StateFRAGMENTATION_NEEDED() func(msg proto.Message) error

func StateHOST_UNREACHABLE

func StateHOST_UNREACHABLE() func(msg proto.Message) error

func StateICMP

func StateICMP() func(msg proto.Message) error

func StateNETWORK_UNREACHABLE

func StateNETWORK_UNREACHABLE() func(msg proto.Message) error

func StateNONE

func StateNONE() func(msg proto.Message) error

func StatePRECEDENCE_CUTOFF

func StatePRECEDENCE_CUTOFF() func(msg proto.Message) error

func StatePRECEDENCE_VIOLATION

func StatePRECEDENCE_VIOLATION() func(msg proto.Message) error

func StatePROHIBITED

func StatePROHIBITED() func(msg proto.Message) error

func StatePROTOCOL_UNREACHABLE

func StatePROTOCOL_UNREACHABLE() func(msg proto.Message) error

func StateSOURCE_ROUTE_FAILED

func StateSOURCE_ROUTE_FAILED() func(msg proto.Message) error

func StateUNKNOWN

func StateUNKNOWN() func(msg proto.Message) error

func StdDev

func StdDev(i int64) func(msg proto.Message) error

func TTL

func TTL(i int32) func(msg proto.Message) error

func Time

func Time(i int64) func(msg proto.Message) error

func Version added in v0.0.19

func Version(v string) func(msg proto.Message) error

func Wait

func Wait(i int64) func(msg proto.Message) error

Types

type SystemOption

type SystemOption func(proto.Message) error

Jump to

Keyboard shortcuts

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