mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-10-11 09:48:10 +08:00
8 lines
166 B
Go
8 lines
166 B
Go
package sockopt
|
|
|
|
import "syscall"
|
|
|
|
func markControl(fd uintptr, mark int) error {
|
|
return syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, syscall.SO_MARK, mark)
|
|
}
|