mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
21 lines
427 B
Go
21 lines
427 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
|
|
|
|
// Status describes the status of a connection.
|
|
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
|
|
)
|
|
|
|
const (
|
|
Inbound = true
|
|
Outbound = false
|
|
)
|