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