mirror of
https://github.com/safing/portmaster
synced 2025-09-13 08:19:41 +00:00
Add simple packet metrics
This commit is contained in:
parent
c01d61dcd9
commit
7a83e772f4
7 changed files with 181 additions and 17 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue