gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/net/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  // +build !aix,!darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris,!windows
     7  
     8  package ipv4
     9  
    10  import (
    11  	"net"
    12  
    13  	"gitee.com/ks-custle/core-gm/net/internal/socket"
    14  )
    15  
    16  func (so *sockOpt) setIPMreq(c *socket.Conn, ifi *net.Interface, grp net.IP) error {
    17  	return errNotImplemented
    18  }
    19  
    20  func (so *sockOpt) getMulticastIf(c *socket.Conn) (*net.Interface, error) {
    21  	return nil, errNotImplemented
    22  }
    23  
    24  func (so *sockOpt) setMulticastIf(c *socket.Conn, ifi *net.Interface) error {
    25  	return errNotImplemented
    26  }