netlink

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package netlink contains code that interacts with the generic linux netlink.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NeighboursByMAC

func NeighboursByMAC() (map[string][]netip.AddrPort, error)

NeighboursByMAC queries the linux kernel for IPv6 neighbours (link local addresses) on links we are connected to and returns them groupes by the MAC address they belong to.

Addresses within groups are not sorted. Returns an error if netlink query failed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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