checksum

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZeroChecksum = [2]byte{0x00, 0x00}

Functions

func CheckSumCombine

func CheckSumCombine(sum uint32, b []byte) uint16

func Checksum

func Checksum(sum uint32, b []byte) (answer [2]byte)

Checksum for Internet Protocol family headers

func Sum

func Sum(b []byte) uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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