MCPcopy
hub / github.com/evilsocket/opensnitch / SetVerdict

Method SetVerdict

daemon/netfilter/packet.go:36–38  ·  view source on GitHub ↗

SetVerdict emits a veredict on a packet

(v Verdict)

Source from the content-addressed store, hash-verified

34
35// SetVerdict emits a veredict on a packet
36func (p *Packet) SetVerdict(v Verdict) {
37 p.verdictChannel <- VerdictContainer{Verdict: v, Packet: nil, Mark: 0}
38}
39
40// SetVerdictAndMark emits a veredict on a packet and marks it in order to not
41// analyze it again.

Callers 3

onPacketFunction · 0.80
applyDefaultActionFunction · 0.80
acceptOrDenyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected