packetforward

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

View Source
const (
	PacketForwardSocketAttach int            = 50
	Name                      api.PluginName = "packetforward"
)

Variables

This section is empty.

Functions

func New

func New(cfg *kcfg.Config) api.Plugin

New creates a new packetforward plugin.

Types

type IMap

type IMap interface {
	Lookup(key, valueOut interface{}) error
	Close() error
}

Interface to https://pkg.go.dev/github.com/cilium/ebpf#Map. Added for unit tests.

type PacketForwardData

type PacketForwardData struct {
	// contains filtered or unexported fields
}

func (PacketForwardData) String

func (p PacketForwardData) String() string

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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