github.com/Andyfoo/golang/x/net@v0.0.0-20190901054642-57c1bf301704/ipv4/sys_asmreq_stub.go (about)

     1  // Copyright 2017 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,!netbsd,!openbsd,!solaris,!windows
     6  
     7  package ipv4
     8  
     9  import (
    10  	"net"
    11  
    12  	"github.com/Andyfoo/golang/x/net/internal/socket"
    13  )
    14  
    15  func (so *sockOpt) setIPMreq(c *socket.Conn, ifi *net.Interface, grp net.IP) error {
    16  	return errNotImplemented
    17  }
    18  
    19  func (so *sockOpt) getMulticastIf(c *socket.Conn) (*net.Interface, error) {
    20  	return nil, errNotImplemented
    21  }
    22  
    23  func (so *sockOpt) setMulticastIf(c *socket.Conn, ifi *net.Interface) error {
    24  	return errNotImplemented
    25  }