mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
22 lines
467 B
Go
22 lines
467 B
Go
// Copyright Safing ICS Technologies GmbH. Use of this source code is governed by the AGPL license that can be found in the LICENSE file.
|
|
|
|
package network
|
|
|
|
// Verdict describes the decision made about a connection or link.
|
|
type Verdict uint8
|
|
|
|
// List of values a Status can have
|
|
const (
|
|
// UNDECIDED is the default status of new connections
|
|
UNDECIDED Verdict = iota
|
|
CANTSAY
|
|
ACCEPT
|
|
BLOCK
|
|
DROP
|
|
)
|
|
|
|
// Packer Directions
|
|
const (
|
|
Inbound = true
|
|
Outbound = false
|
|
)
|