Files
sing-box-extended-mirror/protocol/bridge/linkname_darwin.go
T

12 lines
312 B
Go
Raw Normal View History

2026-07-08 00:10:00 +08:00
package bridge
import (
"unsafe"
)
//go:linkname unixIoctlPtr golang.org/x/sys/unix.ioctlPtr
func unixIoctlPtr(fd int, request uint, arg unsafe.Pointer) error
//go:linkname unixSysctl golang.org/x/sys/unix.sysctl
func unixSysctl(mib []int32, old *byte, oldLen *uintptr, newValue *byte, newLen uintptr) error