filter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	io.Writer
}

Filter is used for filtering IP packets comming from TUN.

func NewICMPEchoFilter

func NewICMPEchoFilter(w io.Writer, delay int) Filter

func NewICMPRelayFilter

func NewICMPRelayFilter(w io.Writer, tunDev io.Writer, sendThrough string, privileged bool) Filter

Jump to

Keyboard shortcuts

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