优化抓包性能

This commit is contained in:
hebo
2019-08-14 15:40:55 +08:00
parent dab225fc2c
commit d890396ba9
134 changed files with 3568 additions and 42049 deletions

10
vendor/golang.org/x/net/bpf/setter.go generated vendored Normal file
View File

@@ -0,0 +1,10 @@
// Copyright 2017 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.
package bpf
// A Setter is a type which can attach a compiled BPF filter to itself.
type Setter interface {
SetBPF(filter []RawInstruction) error
}