sockopt_stub.go (1354B)
1 // Copyright 2013 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 && !linux && !netbsd && !openbsd && !solaris && !windows && !zos 6 // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos 7 8 package ipv6 9 10 import ( 11 "net" 12 13 "golang.org/x/net/bpf" 14 "golang.org/x/net/internal/socket" 15 ) 16 17 func (so *sockOpt) getMulticastInterface(c *socket.Conn) (*net.Interface, error) { 18 return nil, errNotImplemented 19 } 20 21 func (so *sockOpt) setMulticastInterface(c *socket.Conn, ifi *net.Interface) error { 22 return errNotImplemented 23 } 24 25 func (so *sockOpt) getICMPFilter(c *socket.Conn) (*ICMPFilter, error) { 26 return nil, errNotImplemented 27 } 28 29 func (so *sockOpt) setICMPFilter(c *socket.Conn, f *ICMPFilter) error { 30 return errNotImplemented 31 } 32 33 func (so *sockOpt) getMTUInfo(c *socket.Conn) (*net.Interface, int, error) { 34 return nil, 0, errNotImplemented 35 } 36 37 func (so *sockOpt) setGroup(c *socket.Conn, ifi *net.Interface, grp net.IP) error { 38 return errNotImplemented 39 } 40 41 func (so *sockOpt) setSourceGroup(c *socket.Conn, ifi *net.Interface, grp, src net.IP) error { 42 return errNotImplemented 43 } 44 45 func (so *sockOpt) setBPF(c *socket.Conn, f []bpf.RawInstruction) error { 46 return errNotImplemented 47 }