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.
5 // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
9 type icmpv6Filter struct {
12 func (f *icmpv6Filter) accept(typ ICMPType) {
15 func (f *icmpv6Filter) block(typ ICMPType) {
18 func (f *icmpv6Filter) setAll(block bool) {
21 func (f *icmpv6Filter) willBlock(typ ICMPType) bool {