Exporter for machine metrics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
node_exporter/vendor/github.com/mdlayher/netlink
Matt Layher d84873727f vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
..
nlenc vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
LICENSE.md Update vendoring (#722) 8 years ago
README.md Update vendoring (#722) 8 years ago
align.go Vendor github.com/mdlayher/wifi and dependencies 9 years ago
attribute.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
conn.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
conn_linux.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
conn_others.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
debug.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
doc.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 8 years ago
fuzz.go Vendor github.com/mdlayher/wifi and dependencies 9 years ago
message.go Update vendoring (#801) 8 years ago
sockopt_linux.go Update vendored packages 9 years ago
sockopt_linux_386.go Add initial wifi collector, bump netlink to fix 32-bit builds 9 years ago
sockopt_linux_386.s Vendor github.com/mdlayher/wifi and dependencies 9 years ago

README.md

netlink Build Status GoDoc Go Report Card

Package netlink provides low-level access to Linux netlink sockets. MIT Licensed.

For more information about how netlink works, check out my blog series on Linux, Netlink, and Go.

If you're looking for package genetlink, it's been moved to its own repository at github.com/mdlayher/genetlink.

Why?

A number of netlink packages are already available for Go, but I wasn't able to find one that aligned with what I wanted in a netlink package:

  • Simple, idiomatic API
  • Well tested
  • Well documented
  • Makes use of Go best practices
  • Doesn't need root to work

My goal for this package is to use it as a building block for the creation of other netlink family packages.