checksum

package
v0.0.3-pre4.0...-0ec3cfc Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPv6PseudoHeader

func IPv6PseudoHeader(src, dst net.IP, lenght uint32, proto uint8) []byte

func IPv6UpperLayerChecksum

func IPv6UpperLayerChecksum(src, dst net.IP, proto uint8, pl []byte) uint16

IPv6UpperLayerChecksum calculates the checksum for an upper layer payload in IPv6 according to RFC 2460 Section 8.1

Specify the position of the checksum using sumAt. Use a value lower than 0 to not skip a checksum field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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