MCPcopy Create free account
hub / github.com/celzero/firestack / updateV4Checksum

Function updateV4Checksum

intra/core/wire/xsum.go:160–203  ·  view source on GitHub ↗

updateV4Checksum calculates and updates the checksum in the packet buffer for a change between old and new. The oldSum must point to the 16-bit checksum field in the packet buffer that holds the old checksum value, it will be updated in place. The old and new must be the same length, and must be an

(oldSum, old, new []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

updateV4PacketChecksumsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected