helper_plan9.go 617 B

123456789101112131415161718192021222324252627
  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. package ipv4
  5. import "syscall"
  6. func (c *genericOpt) sysfd() (int, error) {
  7. // TODO(mikio): Implement this
  8. return 0, syscall.EPLAN9
  9. }
  10. func (c *dgramOpt) sysfd() (int, error) {
  11. // TODO(mikio): Implement this
  12. return 0, syscall.EPLAN9
  13. }
  14. func (c *payloadHandler) sysfd() (int, error) {
  15. // TODO(mikio): Implement this
  16. return 0, syscall.EPLAN9
  17. }
  18. func (c *packetHandler) sysfd() (int, error) {
  19. // TODO(mikio): Implement this
  20. return 0, syscall.EPLAN9
  21. }