pcap

package
v0.0.0-...-a23bd61 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePcap

func CreatePcap(timestamp time.Time, packet []byte, linktype layers.LinkType) ([]byte, error)

Create a 1 packet PCAP buffer.

Give a timestamp, a packet and a linktype return a []byte buffer containing a complete PCAP file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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