Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

setter.go 310 B

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