OLD | NEW |
1 // Copyright 2012 The Go Authors. All rights reserved. | 1 // Copyright 2012 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // +build dragonfly plan9 solaris | 5 // +build plan9 solaris |
6 | 6 |
7 package ipv4 | 7 package ipv4 |
8 | 8 |
9 func setControlMessage(fd int, opt *rawOpt, cf ControlFlags, on bool) error { | 9 func setControlMessage(fd int, opt *rawOpt, cf ControlFlags, on bool) error { |
10 // TODO(mikio): Implement this | 10 // TODO(mikio): Implement this |
11 return errOpNoSupport | 11 return errOpNoSupport |
12 } | 12 } |
13 | 13 |
14 func newControlMessage(opt *rawOpt) []byte { | 14 func newControlMessage(opt *rawOpt) []byte { |
15 // TODO(mikio): Implement this | 15 // TODO(mikio): Implement this |
16 return nil | 16 return nil |
17 } | 17 } |
18 | 18 |
19 func parseControlMessage(b []byte) (*ControlMessage, error) { | 19 func parseControlMessage(b []byte) (*ControlMessage, error) { |
20 // TODO(mikio): Implement this | 20 // TODO(mikio): Implement this |
21 return nil, errOpNoSupport | 21 return nil, errOpNoSupport |
22 } | 22 } |
23 | 23 |
24 func marshalControlMessage(cm *ControlMessage) []byte { | 24 func marshalControlMessage(cm *ControlMessage) []byte { |
25 // TODO(mikio): Implement this | 25 // TODO(mikio): Implement this |
26 return nil | 26 return nil |
27 } | 27 } |
OLD | NEW |