blob: c2c4ce7ff546fe53fcf7566158d26a1e3b731d38 [file] [log] [blame]
Mikio Harae92559f2014-12-04 17:31:40 +09001// 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
Russ Cox5f55cee2021-02-19 18:54:43 -05005//go:build !linux
Mikio Harae92559f2014-12-04 17:31:40 +09006
7package ipv4
8
Mikio Haraa14f4292016-10-07 12:20:41 +09009const sizeofICMPFilter = 0x0
Mikio Harae92559f2014-12-04 17:31:40 +090010
Mikio Haraa14f4292016-10-07 12:20:41 +090011type icmpFilter struct {
Mikio Harae92559f2014-12-04 17:31:40 +090012}
13
Mikio Haraa14f4292016-10-07 12:20:41 +090014func (f *icmpFilter) accept(typ ICMPType) {
Mikio Harae92559f2014-12-04 17:31:40 +090015}
16
Mikio Haraa14f4292016-10-07 12:20:41 +090017func (f *icmpFilter) block(typ ICMPType) {
Mikio Harae92559f2014-12-04 17:31:40 +090018}
19
Mikio Haraa14f4292016-10-07 12:20:41 +090020func (f *icmpFilter) setAll(block bool) {
Mikio Harae92559f2014-12-04 17:31:40 +090021}
22
Mikio Haraa14f4292016-10-07 12:20:41 +090023func (f *icmpFilter) willBlock(typ ICMPType) bool {
Mikio Harae92559f2014-12-04 17:31:40 +090024 return false
25}