mirror of
https://github.com/maride/pancap.git
synced 2024-11-24 09:44:25 +00:00
10 lines
165 B
Go
10 lines
165 B
Go
|
package protocol
|
||
|
|
||
|
import "github.com/google/gopacket"
|
||
|
|
||
|
type Protocol interface {
|
||
|
CanAnalyze(gopacket.Packet) bool
|
||
|
Analyze(gopacket.Packet) error
|
||
|
PrintSummary()
|
||
|
}
|