sing-tun/internal/gtcpip/checksum/checksum_ts.go
2024-11-23 12:58:52 +08:00

9 lines
190 B
Go

//go:build amd64
package checksum
import "github.com/sagernet/sing-tun/internal/tschecksum"
func Checksum(buf []byte, initial uint16) uint16 {
return tschecksum.Checksum(buf, initial)
}