github.com/database64128/shadowsocks-go@v1.10.2-0.20240315062903-143a773533f1/conn/conn_reuseport_tclass.go (about)

     1  //go:build aix || dragonfly || netbsd || openbsd || zos
     2  
     3  package conn
     4  
     5  func (lso ListenerSocketOptions) buildSetFns() setFuncSlice {
     6  	return setFuncSlice{}.
     7  		appendSetTrafficClassFunc(lso.TrafficClass).
     8  		appendSetReusePortFunc(lso.ReusePort)
     9  }