Registry / networking / mdlayher-netlink

mdlayher-netlink

JSON →
library1.11.2gogounverified

Provides low-level access to Linux netlink sockets (AF_NETLINK).

go get github.com/mdlayher/netlink
INSTALL
IMPORT
SIG · MDLAYHER-NETLINK
M
mdlayher-netlink
networkinggov1.11.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

netlink
github.com/mdlayher/netlink

Opens a generic netlink socket.

package main import ( "fmt" "github.com/mdlayher/netlink" ) func main() { conn, err := netlink.Dial(netlink.NETLINK_GENERIC, nil) if err != nil { panic(err) } defer conn.Close() fmt.Println("Connected to netlink") }
Debug
Known issues
gotchaLinux only
fix
This package only works on Linux systems.
affects: all
Upgrade
Version history
1.11.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mdlayher-netlink — go get mdlayher-netlink · libregistry