stack_stub.go 419 B

123456789101112131415161718
  1. // Copyright 2015 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build nacl plan9
  5. package nettest
  6. import (
  7. "fmt"
  8. "runtime"
  9. )
  10. // SupportsRawIPSocket reports whether the platform supports raw IP
  11. // sockets.
  12. func SupportsRawIPSocket() (string, bool) {
  13. return fmt.Sprintf("not supported on %s", runtime.GOOS), false
  14. }