|
|
@ -17,6 +17,10 @@ type NfQueue struct {
|
|
|
|
recallFn func(id uint32, q *nfqueue.Nfqueue, p Packet)
|
|
|
|
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 {
|
|
|
|
type Packet struct {
|
|
|
|
Packet gopacket.Packet
|
|
|
|
Packet gopacket.Packet
|
|
|
|
Attr nfqueue.Attribute
|
|
|
|
Attr nfqueue.Attribute
|
|
|
|