netlink

package
v0.0.0-...-ba09d25 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package netlink has routines to get interfaces information through netlink.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfaceInfo

func IfaceInfo(name string) (netlink.Link, netlink.Addr, netlink.Addr, error)

IfaceInfo returns the device with its IPv4 and IPv6 addresses. An error is returned if the device is not present or there are no or more than 1 ip addr per address family.

Types

This section is empty.

Jump to

Keyboard shortcuts

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