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

« back to all changes in this revision

Viewing changes to src/golang.org/x/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 nacl plan9 solaris
 
6
 
 
7
package ipv4
 
8
 
 
9
func setControlMessage(fd int, opt *rawOpt, cf ControlFlags, on bool) error {
 
10
        return errOpNoSupport
 
11
}
 
12
 
 
13
func newControlMessage(opt *rawOpt) []byte {
 
14
        return nil
 
15
}
 
16
 
 
17
func parseControlMessage(b []byte) (*ControlMessage, error) {
 
18
        return nil, errOpNoSupport
 
19
}
 
20
 
 
21
func marshalControlMessage(cm *ControlMessage) []byte {
 
22
        return nil
 
23
}