2017-06-04 14:07:03 +02: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-06-04 14:47:24 +02:00
|
|
|
const sizeofICMPFilter = 0x0
|
2017-06-04 14:07:03 +02:00
|
|
|
|
2017-06-04 14:47:24 +02:00
|
|
|
type icmpFilter struct {
|
2017-06-04 14:07:03 +02:00
|
|
|
}
|
|
|
|
|
2017-06-04 14:47:24 +02:00
|
|
|
func (f *icmpFilter) accept(typ ICMPType) {
|
2017-06-04 14:07:03 +02:00
|
|
|
}
|
|
|
|
|
2017-06-04 14:47:24 +02:00
|
|
|
func (f *icmpFilter) block(typ ICMPType) {
|
2017-06-04 14:07:03 +02:00
|
|
|
}
|
|
|
|
|
2017-06-04 14:47:24 +02:00
|
|
|
func (f *icmpFilter) setAll(block bool) {
|
2017-06-04 14:07:03 +02:00
|
|
|
}
|
|
|
|
|
2017-06-04 14:47:24 +02:00
|
|
|
func (f *icmpFilter) willBlock(typ ICMPType) bool {
|
2017-06-04 14:07:03 +02:00
|
|
|
return false
|
|
|
|
}
|