conntrack

package
v3.8.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdIface

type CmdIface interface {
	CombinedOutput() ([]byte, error)
}

type Conntrack

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

func New

func New() *Conntrack

func NewWithCmdShim

func NewWithCmdShim(newCmd newCmd) *Conntrack

NewWithCmdShim is a test constructor that allows for shimming exec.Command.

func (Conntrack) RemoveConntrackFlows

func (c Conntrack) RemoveConntrackFlows(ipVersion uint8, ipAddr net.IP)

Jump to

Keyboard shortcuts

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