~sinzui/ubuntu/vivid/juju-core/vivid-1.24.6

« back to all changes in this revision

Viewing changes to src/golang.org/x/net/ipv6/control_stub.go

  • Committer: Curtis Hovey
  • Date: 2015-09-30 14:14:54 UTC
  • mfrom: (1.1.34)
  • Revision ID: curtis@hovey.name-20150930141454-o3ldf23dzyjio6c0
Backport of 1.24.6 from wily. (LP: #1500916)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2013 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 ipv6
 
8
 
 
9
func setControlMessage(fd int, opt *rawOpt, cf ControlFlags, on bool) error {
 
10
        return errOpNoSupport
 
11
}
 
12
 
 
13
func newControlMessage(opt *rawOpt) (oob []byte) {
 
14
        return nil
 
15
}
 
16
 
 
17
func parseControlMessage(b []byte) (*ControlMessage, error) {
 
18
        return nil, errOpNoSupport
 
19
}
 
20
 
 
21
func marshalControlMessage(cm *ControlMessage) (oob []byte) {
 
22
        return nil
 
23
}