Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(181)

Side by Side Diff: ipv4/control_stub.go

Issue 97800043: code review 97800043: go.net/ipv4: add support for dragonfly (Closed)
Patch Set: diff -r 9c33002573cb https://code.google.com/p/go.net Created 10 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ipv4/control_pktinfo.go ('k') | ipv4/control_unix.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « ipv4/control_pktinfo.go ('k') | ipv4/control_unix.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b