icmp_stub.go 504 B

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