mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
initial commit
This commit is contained in:
commit
18933c6767
1841 changed files with 810642 additions and 0 deletions
25
vendor/golang.org/x/net/ipv4/icmp_stub.go
generated
vendored
Normal file
25
vendor/golang.org/x/net/ipv4/icmp_stub.go
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
// 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
|
||||
|
||||
const sysSizeofICMPFilter = 0x0
|
||||
|
||||
type sysICMPFilter struct {
|
||||
}
|
||||
|
||||
func (f *sysICMPFilter) accept(typ ICMPType) {
|
||||
}
|
||||
|
||||
func (f *sysICMPFilter) block(typ ICMPType) {
|
||||
}
|
||||
|
||||
func (f *sysICMPFilter) setAll(block bool) {
|
||||
}
|
||||
|
||||
func (f *sysICMPFilter) willBlock(typ ICMPType) bool {
|
||||
return false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue