github.com/lianghucheng/zrddz@v0.0.0-20200923083010-c71f680932e2/src/golang.org/x/net/ipv4/sys_asmreqn_stub.go (about) 1 // Copyright 2014 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 !darwin,!freebsd,!linux 6 7 package ipv4 8 9 import ( 10 "net" 11 12 "golang.org/x/net/internal/socket" 13 ) 14 15 func (so *sockOpt) getIPMreqn(c *socket.Conn) (*net.Interface, error) { 16 return nil, errNotImplemented 17 } 18 19 func (so *sockOpt) setIPMreqn(c *socket.Conn, ifi *net.Interface, grp net.IP) error { 20 return errNotImplemented 21 }