2017-10-10 08:13:14 +00:00
|
|
|
// Copyright 2014 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package ipv4
|
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
const sizeofICMPFilter = 0x0
|
2017-10-10 08:13:14 +00:00
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
type icmpFilter struct {
|
2017-10-10 08:13:14 +00:00
|
|
|
}
|
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
func (f *icmpFilter) accept(typ ICMPType) {
|
2017-10-10 08:13:14 +00:00
|
|
|
}
|
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
func (f *icmpFilter) block(typ ICMPType) {
|
2017-10-10 08:13:14 +00:00
|
|
|
}
|
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
func (f *icmpFilter) setAll(block bool) {
|
2017-10-10 08:13:14 +00:00
|
|
|
}
|
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
func (f *icmpFilter) willBlock(typ ICMPType) bool {
|
2017-10-10 08:13:14 +00:00
|
|
|
return false
|
|
|
|
}
|