//go:build !linux package tap import "fmt" func openTap(_ string, _ int) (*Interface, error) { return nil, fmt.Errorf("TAP devices are only supported on Linux") } func readBuf(_ int, _ []byte) (int, error) { return 0, fmt.Errorf("not supported") } func writeBuf(_ int, _ []byte) (int, error) { return 0, fmt.Errorf("not supported") } func closeFD(_ int) error { return fmt.Errorf("not supported") }