Mikio Hara | d2e5a12 | 2012-09-26 21:03:09 +0900 | [diff] [blame] | 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 | |
| 5 | package ipv4 |
| 6 | |
| 7 | import ( |
| 8 | "syscall" |
| 9 | ) |
| 10 | |
| 11 | func setControlMessage(fd syscall.Handle, opt *rawOpt, cf ControlFlags, on bool) error { |
| 12 | // TODO(mikio): Implement this |
| 13 | return syscall.EWINDOWS |
| 14 | } |
| 15 | |
| 16 | func newControlMessage(opt *rawOpt) []byte { |
| 17 | // TODO(mikio): Implement this |
| 18 | return nil |
| 19 | } |
| 20 | |
| 21 | func parseControlMessage(b []byte) (*ControlMessage, error) { |
| 22 | // TODO(mikio): Implement this |
| 23 | return nil, syscall.EWINDOWS |
| 24 | } |
| 25 | |
| 26 | func marshalControlMessage(cm *ControlMessage) []byte { |
| 27 | // TODO(mikio): Implement this |
| 28 | return nil |
| 29 | } |