Dmitri Shuralyov | 5d99779 | 2016-11-07 15:05:57 -0800 | [diff] [blame] | 1 | // Copyright 2013 The Go Authors. All rights reserved. |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Russ Cox | 5f55cee | 2021-02-19 18:54:43 -0500 | [diff] [blame] | 5 | //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos |
Mikio Hara | 0cda728 | 2014-01-23 06:36:22 +0100 | [diff] [blame] | 6 | |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 7 | package ipv6 |
| 8 | |
Mikio Hara | 30df40a | 2016-10-07 12:21:11 +0900 | [diff] [blame] | 9 | type icmpv6Filter struct { |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 10 | } |
| 11 | |
Mikio Hara | 30df40a | 2016-10-07 12:21:11 +0900 | [diff] [blame] | 12 | func (f *icmpv6Filter) accept(typ ICMPType) { |
Mikio Hara | 668aea8 | 2014-12-04 17:32:07 +0900 | [diff] [blame] | 13 | } |
| 14 | |
Mikio Hara | 30df40a | 2016-10-07 12:21:11 +0900 | [diff] [blame] | 15 | func (f *icmpv6Filter) block(typ ICMPType) { |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 16 | } |
| 17 | |
Mikio Hara | 30df40a | 2016-10-07 12:21:11 +0900 | [diff] [blame] | 18 | func (f *icmpv6Filter) setAll(block bool) { |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 19 | } |
| 20 | |
Mikio Hara | 30df40a | 2016-10-07 12:21:11 +0900 | [diff] [blame] | 21 | func (f *icmpv6Filter) willBlock(typ ICMPType) bool { |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 22 | return false |
| 23 | } |