Add simple packet metrics

This commit is contained in:
Patrick Pacher 2020-10-01 11:30:18 +02:00
parent c01d61dcd9
commit 7a83e772f4
No known key found for this signature in database
GPG key ID: E8CD2DA160925A6D
7 changed files with 181 additions and 17 deletions

View file

@ -1,8 +1,10 @@
package interception
import "github.com/safing/portmaster/network/packet"
// start starts the interception.
func start() error {
return StartNfqueueInterception()
func start(ch chan packet.Packet) error {
return StartNfqueueInterception(ch)
}
// stop starts the interception.