genericopt_stub.go 621 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. // +build dragonfly plan9 solaris
  5. package ipv4
  6. func (c *genericOpt) TOS() (int, error) {
  7. // TODO(mikio): Implement this
  8. return 0, errOpNoSupport
  9. }
  10. func (c *genericOpt) SetTOS(tos int) error {
  11. // TODO(mikio): Implement this
  12. return errOpNoSupport
  13. }
  14. func (c *genericOpt) TTL() (int, error) {
  15. // TODO(mikio): Implement this
  16. return 0, errOpNoSupport
  17. }
  18. func (c *genericOpt) SetTTL(ttl int) error {
  19. // TODO(mikio): Implement this
  20. return errOpNoSupport
  21. }