xnet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package xnet contains low level Linux networking calls (generally related to netlink and tunneling)

Index

Constants

View Source
const (
	SIGRTable    = 11
	SIGRPriority = 100
	SIGTxQlen    = 1000
)

Variables

This section is empty.

Functions

func AddRoute

func AddRoute(link netlink.Link, dest *net.IPNet) error

func ConnectTun

func ConnectTun(name string) (netlink.Link, io.ReadWriteCloser, error)

ConnectTun creates (or opens) interface name, and then sets its state to up

Types

This section is empty.

Jump to

Keyboard shortcuts

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