github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/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 //go:build !darwin && !freebsd && !linux 6 // +build !darwin,!freebsd,!linux 7 8 package ipv4 9 10 import ( 11 "net" 12 13 "github.com/hxx258456/ccgo/net/internal/socket" 14 ) 15 16 func (so *sockOpt) getIPMreqn(c *socket.Conn) (*net.Interface, error) { 17 return nil, errNotImplemented 18 } 19 20 func (so *sockOpt) setIPMreqn(c *socket.Conn, ifi *net.Interface, grp net.IP) error { 21 return errNotImplemented 22 }