golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/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  //go:build !aix && !darwin && !dragonfly && !freebsd && !netbsd && !openbsd && !solaris && !windows
     6  
     7  package ipv4
     8  
     9  import (
    10  	"net"
    11  
    12  	"golang.org/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  }