testCksumCommon

package
v0.9.3-0...-e3c37e7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VirtualBoxWorkaround bool = false
	KVMWorkaround        bool = false
)

Functions

func CalculateChecksum

func CalculateChecksum(p *packet.Packet)

CalculateChecksum calculates checksum and writes to fields of packet.

func CheckPacketChecksums

func CheckPacketChecksums(p *packet.Packet) bool

CheckPacketChecksums calculates and checks checksum for packet.

Types

type Packetdata

type Packetdata struct {
	F1, F2 uint64
}

Packetdata is a structure for packet pointer cast.

Jump to

Keyboard shortcuts

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