github.com/sagernet/sing-mux@v0.2.1-0.20240124034317-9bfb33698bb6/brutal_stub.go (about) 1 //go:build !linux 2 3 package mux 4 5 import ( 6 "net" 7 8 E "github.com/sagernet/sing/common/exceptions" 9 ) 10 11 const BrutalAvailable = false 12 13 func SetBrutalOptions(conn net.Conn, sendBPS uint64) error { 14 return E.New("TCP Brutal is only supported on Linux") 15 }