helper_stub.go 501 B

1234567891011121314151617181920212223
  1. // Copyright 2012 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 solaris
  5. package ipv4
  6. func (c *genericOpt) sysfd() (int, error) {
  7. return 0, errOpNoSupport
  8. }
  9. func (c *dgramOpt) sysfd() (int, error) {
  10. return 0, errOpNoSupport
  11. }
  12. func (c *payloadHandler) sysfd() (int, error) {
  13. return 0, errOpNoSupport
  14. }
  15. func (c *packetHandler) sysfd() (int, error) {
  16. return 0, errOpNoSupport
  17. }