add windows support

This commit is contained in:
xiaobiao
2022-04-18 22:28:49 +08:00
parent 87a877750f
commit 43c68ecf2f
33 changed files with 2697 additions and 346 deletions

11
capture/model.go Normal file
View File

@@ -0,0 +1,11 @@
package capture
import (
"github.com/google/gopacket/layers"
)
type TCPIPPair struct {
srcIP string
dstIP string
tcpPkt *layers.TCP
}