Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
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 int, opt *rawOpt, cf ControlFlags, on bool) error { | |
12 // TODO: Implement this | |
dfc
2012/09/05 06:27:16
Go style is
// TODO(mikioh) explanation
so peop
mikio
2012/09/06 10:43:48
Done.
| |
13 return syscall.EPLAN9 | |
14 } | |
15 | |
16 func newControlMessage(opt *rawOpt) []byte { | |
17 // TODO: Implement this | |
18 return nil | |
19 } | |
20 | |
21 func parseControlMessage(b []byte) (*ControlMessage, error) { | |
22 // TODO: Implement this | |
23 return nil, syscall.EPLAN9 | |
24 } | |
25 | |
26 func marshalControlMessage(cm *ControlMessage) []byte { | |
27 // TODO: Implement this | |
28 return nil | |
29 } | |
OLD | NEW |