//go:build !linux package dnstt import "fmt" // OpenRawSocket is only implemented on Linux. func OpenRawSocket() (int, error) { return -1, fmt.Errorf("raw packet capture is only supported on Linux") } // CaptureLoop is only implemented on Linux. func CaptureLoop(fd int, port int, collector *Collector, stop <-chan struct{}) { <-stop } // CloseRawSocket is only implemented on Linux. func CloseRawSocket(fd int) error { return nil }