//
pkg.gl
Category
github.com/progrium/go-netstack
gvisor
pkg
tcpip
checksum
package
0.0.0-20240720002214-37b2b8227b91
Repository:
https://github.com/progrium/go-netstack.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
7
Files
185 SLOC
#
Functions
Checksum
Checksum calculates the checksum (as defined in RFC 1071) of the bytes in the given byte array.
Combine
Combine combines the two uint16 to form their checksum.
Put
Put puts the checksum in the provided byte slice.
#
Constants
Size
Size is the size of a checksum.
#
Structs
Checksumer
Checksumer calculates checksum defined in RFC 1071.