analyze

package
v0.0.0-...-228d4f2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyzer

func Analyzer(packet gopacket.Packet, pretty bool) error

Basic packet analyzer

func PrettyPrint

func PrettyPrint(packet gopacket.Packet) error

func Print

func Print(packet gopacket.Packet) error

Types

type Layer

type Layer struct {
	Type string
	Data gopacket.Layer
}

type Packet

type Packet struct {
	Metadata *gopacket.PacketMetadata
	Data     []byte
	Layers   []Layer
}

Jump to

Keyboard shortcuts

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