github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/net/ipv4/helper_stub.go (about)

     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 (c *genericOpt) sysfd() (int, error) {
    10  	return 0, errOpNoSupport
    11  }
    12  
    13  func (c *dgramOpt) sysfd() (int, error) {
    14  	return 0, errOpNoSupport
    15  }
    16  
    17  func (c *payloadHandler) sysfd() (int, error) {
    18  	return 0, errOpNoSupport
    19  }
    20  
    21  func (c *packetHandler) sysfd() (int, error) {
    22  	return 0, errOpNoSupport
    23  }