control_windows.go 654 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 setControlMessage(s uintptr, opt *rawOpt, cf ControlFlags, on bool) error {
  7. // TODO(mikio): implement this
  8. return syscall.EWINDOWS
  9. }
  10. func newControlMessage(opt *rawOpt) []byte {
  11. // TODO(mikio): implement this
  12. return nil
  13. }
  14. func parseControlMessage(b []byte) (*ControlMessage, error) {
  15. // TODO(mikio): implement this
  16. return nil, syscall.EWINDOWS
  17. }
  18. func marshalControlMessage(cm *ControlMessage) []byte {
  19. // TODO(mikio): implement this
  20. return nil
  21. }