Initial commit after restructure
This commit is contained in:
21
network/status.go
Normal file
21
network/status.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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
|
||||
)
|
||||
Reference in New Issue
Block a user