route

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPVERSION_4 = 4
	IPVERSION_6 = 6

	PROTOCOL_ICMP = 1
	PROTOCOL_TCP  = 6
	PROTOCOL_UDP  = 17
)

Variables

This section is empty.

Functions

func AddRoute

func AddRoute(dest, netmask, gateway string) error

func IsSYNSegment

func IsSYNSegment(data []byte) bool

func PeekDestinationAddress

func PeekDestinationAddress(data []byte) vnet.Address

func PeekDestinationPort

func PeekDestinationPort(data []byte) vnet.Port

func PeekIPVersion

func PeekIPVersion(data []byte) uint8

func PeekProtocol

func PeekProtocol(data []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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