Help us shape the future of Go! Take the 2026 Go Developer Survey

netlink

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandleAt

func NewHandleAt(ns netns.NsHandle, nlFamilies ...int) (*netlink.Handle, error)

Types

type Addr

type Addr = netlink.Addr

type Bridge

type Bridge = netlink.Bridge

type Handler

type Handler interface {
	AddrList(Link, int) ([]netlink.Addr, error)
	LinkList() ([]Link, error)
	LinkByName(string) (Link, error)
	LinkAdd(Link) error
	LinkDel(Link) error
	LinkSetName(Link, string) error
	LinkSetMTU(Link, int) error
	LinkSetMaster(Link, Link) error
	LinkSetUp(Link) error
	LinkSetDown(Link) error
	LinkSetNsFd(Link, int) error
	LinkSetHardwareAddr(Link, net.HardwareAddr) error
	NeighSet(*Neigh) error
	Delete()
}
type Link = netlink.Link

type LinkAttrs

type LinkAttrs = netlink.LinkAttrs

type LinkNotFoundError

type LinkNotFoundError = netlink.LinkNotFoundError

type Neigh

type Neigh = netlink.Neigh

type Veth

type Veth = netlink.Veth

Jump to

Keyboard shortcuts

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