safing-portmaster/network/status.go
2018-08-13 14:14:27 +02:00

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
)