Working on portmaster restructure
This commit is contained in:
@@ -5,5 +5,16 @@ package interception
|
||||
import "github.com/Safing/portmaster/network/packet"
|
||||
|
||||
var (
|
||||
// Packets channel for feeding the firewall.
|
||||
Packets = make(chan packet.Packet, 1000)
|
||||
)
|
||||
|
||||
// Start starts the interception.
|
||||
func Start() error {
|
||||
return StartNfqueueInterception()
|
||||
}
|
||||
|
||||
// Stop starts the interception.
|
||||
func Stop() error {
|
||||
return StopNfqueueInterception()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user