github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/net/ipv6/helper_stub_test.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 !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_test 9 10 import ( 11 "fmt" 12 "runtime" 13 ) 14 15 func supportsIPv6MulticastDeliveryOnLoopback() (string, bool) { 16 return fmt.Sprintf("not supported on %s/%s", runtime.GOOS, runtime.GOARCH), false 17 } 18 19 func protocolNotSupported(err error) bool { 20 return false 21 }