filter

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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