sniffer

package
v0.0.0-...-6b59cf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureLive

func CaptureLive(deviceName, pcapPath string, maxPacket int, report bool, tcp, udp, ipv4, ipv6, dns, icmp, layers, showPacket bool) error

func OpenOffline

func OpenOffline(filePath string, maxPacket int, report bool, tcp, udp, ipv4, ipv6, dns, icmp, layers, showPacket bool) error

func ReadPackets

func ReadPackets(handle *pcap.Handle, maxPacket int, pcapOut string, needReport, tcp, udp, ipv4, ipv6, dns, icmp, layers, showPacket bool) error

func RunConsole

func RunConsole()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL