MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / IsNetworkUDP

Method IsNetworkUDP

pkg/event/event_windows.go:161–163  ·  view source on GitHub ↗

IsNetworkUDP determines whether the event pertains to network UDP events.

()

Source from the content-addressed store, hash-verified

159
160// IsNetworkUDP determines whether the event pertains to network UDP events.
161func (e *Event) IsNetworkUDP() bool {
162 return e.Type == RecvUDPv4 || e.Type == RecvUDPv6 || e.Type == SendUDPv4 || e.Type == SendUDPv6
163}
164
165// IsDNS determines whether the event is a DNS question/answer.
166func (e *Event) IsDNS() bool {

Callers 3

TestEventIsNetworkUDPFunction · 0.95
IsNetworkTCPMethod · 0.95
ProcessEventMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestEventIsNetworkUDPFunction · 0.76