mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 20:07:40 +03:00
9 lines
190 B
Go
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)
|
|
}
|