github.com/lianghucheng/zrddz@v0.0.0-20200923083010-c71f680932e2/src/golang.org/x/net/ipv4/sockopt_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 !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
     6  
     7  package ipv4
     8  
     9  import (
    10  	"net"
    11  
    12  	"golang.org/x/net/bpf"
    13  	"golang.org/x/net/internal/socket"
    14  )
    15  
    16  func (so *sockOpt) getMulticastInterface(c *socket.Conn) (*net.Interface, error) {
    17  	return nil, errNotImplemented
    18  }
    19  
    20  func (so *sockOpt) setMulticastInterface(c *socket.Conn, ifi *net.Interface) error {
    21  	return errNotImplemented
    22  }
    23  
    24  func (so *sockOpt) getICMPFilter(c *socket.Conn) (*ICMPFilter, error) {
    25  	return nil, errNotImplemented
    26  }
    27  
    28  func (so *sockOpt) setICMPFilter(c *socket.Conn, f *ICMPFilter) error {
    29  	return errNotImplemented
    30  }
    31  
    32  func (so *sockOpt) setGroup(c *socket.Conn, ifi *net.Interface, grp net.IP) error {
    33  	return errNotImplemented
    34  }
    35  
    36  func (so *sockOpt) setSourceGroup(c *socket.Conn, ifi *net.Interface, grp, src net.IP) error {
    37  	return errNotImplemented
    38  }
    39  
    40  func (so *sockOpt) setBPF(c *socket.Conn, f []bpf.RawInstruction) error {
    41  	return errNotImplemented
    42  }