netif

package
v3.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package netif lists NICs and their OS assigned addresses while trying to filter out virtual ones.

When retrieving MAC addresses it is using the ones that are currently assigned which means they might have been changed from the ones assigned by the vendor. This is because not all OSes allow to get the 'real' MAC and thus this package sticks to that to exhibit consistent behaviour.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReportMACAddresses

func ReportMACAddresses(macs *api.MACAddresses) error

deprecated

func ReportNICs

func ReportNICs(nics *api.NICList) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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