package netlink
import "gvisor.dev/gvisor/test/packetimpact/netdevs/netlink"
Package netlink has routines to get interfaces information through netlink.
Index ¶
Functions ¶
func IfaceInfo ¶
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.
Source Files ¶
netlink.go
- Version
- v0.0.0-20250802011938-fc9c972fa636 (latest)
- Published
- Aug 2, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 2 hours ago –
Tools for package owners.