OLD | NEW |
1 // Copyright 2013 The Go Authors. All rights reserved. | 1 // Copyright 2013 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 nacl plan9 solaris | 5 // +build nacl plan9 solaris |
6 | 6 |
7 package ipv6 | 7 package ipv6 |
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 | |
11 return errOpNoSupport | 10 return errOpNoSupport |
12 } | 11 } |
13 | 12 |
14 func newControlMessage(opt *rawOpt) (oob []byte) { | 13 func newControlMessage(opt *rawOpt) (oob []byte) { |
15 // TODO(mikio): Implement this | |
16 return nil | 14 return nil |
17 } | 15 } |
18 | 16 |
19 func parseControlMessage(b []byte) (*ControlMessage, error) { | 17 func parseControlMessage(b []byte) (*ControlMessage, error) { |
20 // TODO(mikio): Implement this | |
21 return nil, errOpNoSupport | 18 return nil, errOpNoSupport |
22 } | 19 } |
23 | 20 |
24 func marshalControlMessage(cm *ControlMessage) (oob []byte) { | 21 func marshalControlMessage(cm *ControlMessage) (oob []byte) { |
25 // TODO(mikio): Implement this | |
26 return nil | 22 return nil |
27 } | 23 } |
OLD | NEW |