Discover Packages
github.com/AbiruEkanayaka/tun
internal
tschecksum
package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jun 13, 2025
License: GPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Checksum computes an IP checksum starting with the provided initial value.
The length of data should be at least 128 bytes for best performance. Smaller
buffers will still compute a correct result.
PseudoHeaderChecksum computes an IP pseudo-header checksum. srcAddr and
dstAddr must be 4 or 16 bytes in length.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.