16 lines
403 B
Go
16 lines
403 B
Go
//go:build !(darwin || ios || freebsd || openbsd || netbsd || dragonfly || windows)
|
|
|
|
package mdns
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func SetsockoptInt(fd uintptr, level, opt int, value int) (err error) {
|
|
return syscall.SetsockoptInt(int(fd), level, opt, value)
|
|
}
|
|
|
|
func SetsockoptIPMreq(fd uintptr, level, opt int, mreq *syscall.IPMreq) (err error) {
|
|
return syscall.SetsockoptIPMreq(int(fd), level, opt, mreq)
|
|
}
|