rtable

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RT_TABLES_FILE = "/etc/iproute2/rt_tables"
)

Variables

This section is empty.

Functions

func EnsureRomanaRouteRule

func EnsureRomanaRouteRule(romanaRouteTableId int, nl nlRuleHandle) error

EnsureRomanaRouteRule verifies that rule for romana routing table installed.

func EnsureRouteTableExist

func EnsureRouteTableExist(routeTableId int) (err error)

EnsureRouteTableExist verifies that romana route table with appropriate index exist in RT_TABLES_FILE file.

func FlushRomanaTable

func FlushRomanaTable() error

FlushRomanaTable attempts to delete all routes from table called romana.

Types

This section is empty.

Jump to

Keyboard shortcuts

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