1// 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 5//go:build !linux 6// +build !linux 7 8package ipv4 9 10const sizeofICMPFilter = 0x0 11 12type icmpFilter struct { 13} 14 15func (f *icmpFilter) accept(typ ICMPType) { 16} 17 18func (f *icmpFilter) block(typ ICMPType) { 19} 20 21func (f *icmpFilter) setAll(block bool) { 22} 23 24func (f *icmpFilter) willBlock(typ ICMPType) bool { 25 return false 26} 27