Compare commits

..

No commits in common. 'master' and 'v0.0.3' have entirely different histories.

@ -1,6 +1,6 @@
module b612.me/bcap
go 1.20
go 1.22.4
require (
github.com/florianl/go-nfqueue/v2 v2.0.0

@ -17,10 +17,6 @@ type NetCatch struct {
stopFn context.CancelFunc
}
func (n *NetCatch) Recall() func(gopacket.Packet) {
return n.fn
}
func (n *NetCatch) SetRecall(fn func(p gopacket.Packet)) {
n.fn = fn
}

@ -17,10 +17,6 @@ type NfQueue struct {
recallFn func(id uint32, q *nfqueue.Nfqueue, p Packet)
}
func (n *NfQueue) RecallFn() func(id uint32, q *nfqueue.Nfqueue, p Packet) {
return n.recallFn
}
type Packet struct {
Packet gopacket.Packet
Attr nfqueue.Attribute

Loading…
Cancel
Save