icmp_stub.go 627 B

123456789101112131415161718192021222324
  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. //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos
  5. // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos
  6. package ipv6
  7. type icmpv6Filter struct {
  8. }
  9. func (f *icmpv6Filter) accept(typ ICMPType) {
  10. }
  11. func (f *icmpv6Filter) block(typ ICMPType) {
  12. }
  13. func (f *icmpv6Filter) setAll(block bool) {
  14. }
  15. func (f *icmpv6Filter) willBlock(typ ICMPType) bool {
  16. return false
  17. }