control_plan9.go 653 B

1234567891011121314151617181920212223242526272829
  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 (
  6. "syscall"
  7. )
  8. func setControlMessage(fd int, opt *rawOpt, cf ControlFlags, on bool) error {
  9. // TODO(mikio): Implement this
  10. return syscall.EPLAN9
  11. }
  12. func newControlMessage(opt *rawOpt) []byte {
  13. // TODO(mikio): Implement this
  14. return nil
  15. }
  16. func parseControlMessage(b []byte) (*ControlMessage, error) {
  17. // TODO(mikio): Implement this
  18. return nil, syscall.EPLAN9
  19. }
  20. func marshalControlMessage(cm *ControlMessage) []byte {
  21. // TODO(mikio): Implement this
  22. return nil
  23. }