~ubuntu-branches/ubuntu/vivid/juju-core/vivid-updates

« back to all changes in this revision

Viewing changes to src/code.google.com/p/go.net/ipv4/control_stub.go

  • Committer: Package Import Robot
  • Author(s): Curtis C. Hovey
  • Date: 2015-09-29 19:43:29 UTC
  • mfrom: (47.1.4 wily-proposed)
  • Revision ID: package-import@ubuntu.com-20150929194329-9y496tbic30hc7vp
Tags: 1.24.6-0ubuntu1~15.04.1
Backport of 1.24.6 from wily. (LP: #1500916, #1497087)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
// +build dragonfly plan9 solaris
6
 
 
7
 
package ipv4
8
 
 
9
 
func setControlMessage(fd int, opt *rawOpt, cf ControlFlags, on bool) error {
10
 
        // TODO(mikio): Implement this
11
 
        return errOpNoSupport
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, errOpNoSupport
22
 
}
23
 
 
24
 
func marshalControlMessage(cm *ControlMessage) []byte {
25
 
        // TODO(mikio): Implement this
26
 
        return nil
27
 
}