bpf_trace_filter

package
v0.0.0-...-10ea962 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package bpf_trace_filter contains generated bindings for API file bpf_trace_filter.api.

Contents: - 2 messages

Index

Constants

View Source
const (
	APIFile    = "bpf_trace_filter"
	APIVersion = "0.1.0"
	VersionCrc = 0x79160184
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type BpfTraceFilterSet

type BpfTraceFilterSet struct {
	IsAdd  bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Filter string `binapi:"string[],name=filter" json:"filter,omitempty"`
}

/*

  • bpf_trace_filter.api - BPF Trace filter API *
  • Copyright (c) 2023 Cisco and/or its affiliates
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at: *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License.

BpfTraceFilterSet defines message 'bpf_trace_filter_set'.

func (*BpfTraceFilterSet) GetCrcString

func (*BpfTraceFilterSet) GetCrcString() string

func (*BpfTraceFilterSet) GetMessageName

func (*BpfTraceFilterSet) GetMessageName() string

func (*BpfTraceFilterSet) GetMessageType

func (*BpfTraceFilterSet) GetMessageType() api.MessageType

func (*BpfTraceFilterSet) Marshal

func (m *BpfTraceFilterSet) Marshal(b []byte) ([]byte, error)

func (*BpfTraceFilterSet) Reset

func (m *BpfTraceFilterSet) Reset()

func (*BpfTraceFilterSet) Size

func (m *BpfTraceFilterSet) Size() (size int)

func (*BpfTraceFilterSet) Unmarshal

func (m *BpfTraceFilterSet) Unmarshal(b []byte) error

type BpfTraceFilterSetReply

type BpfTraceFilterSetReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

BpfTraceFilterSetReply defines message 'bpf_trace_filter_set_reply'.

func (*BpfTraceFilterSetReply) GetCrcString

func (*BpfTraceFilterSetReply) GetCrcString() string

func (*BpfTraceFilterSetReply) GetMessageName

func (*BpfTraceFilterSetReply) GetMessageName() string

func (*BpfTraceFilterSetReply) GetMessageType

func (*BpfTraceFilterSetReply) GetMessageType() api.MessageType

func (*BpfTraceFilterSetReply) Marshal

func (m *BpfTraceFilterSetReply) Marshal(b []byte) ([]byte, error)

func (*BpfTraceFilterSetReply) Reset

func (m *BpfTraceFilterSetReply) Reset()

func (*BpfTraceFilterSetReply) Size

func (m *BpfTraceFilterSetReply) Size() (size int)

func (*BpfTraceFilterSetReply) Unmarshal

func (m *BpfTraceFilterSetReply) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	BpfTraceFilterSet(ctx context.Context, in *BpfTraceFilterSet) (*BpfTraceFilterSetReply, error)
}

RPCService defines RPC service bpf_trace_filter.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL