filehandler

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFile

func InitFile(path string) (*pcapgo.Writer, *os.File, error)

func SaveCountRecords

func SaveCountRecords(path string, maxPacketSize, minPacketSize uint16, totalPacketsLength uint64, totalPacketsCount, icmpCount, tcpCount, udpCount, totalFragmentations int) error

func SaveIPPacketRecords

func SaveIPPacketRecords(path string, ipPacket map[string]int) error

func SavePacket

func SavePacket(writer *pcapgo.Writer, packet gopacket.Packet) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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