node_exporter/vendor/github.com/mdlayher/netlink
Ben Kochie becca1275c
Convert to Go modules (#1178)
* Convert to Go modules

* Update promu config.
* Convert to Go modules.
* Update vendoring.
* Update Makefile.common.
* Update circleci config.
* Use Prometheus release tar for promtool.
* Fixup unpack

* Use temp dir for unpacking tools.
* Use BSD compatible tar command.
* OpenBSD mkdir doesn't support `-v`.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-11-30 14:01:20 +01:00
..
nlenc vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 2018-08-14 21:15:07 +02:00
.gitignore Convert to Go modules (#1178) 2018-11-30 14:01:20 +01:00
.travis.yml Convert to Go modules (#1178) 2018-11-30 14:01:20 +01:00
LICENSE.md Update vendoring (#722) 2017-11-02 12:30:34 +01:00
README.md Update vendoring (#722) 2017-11-02 12:30:34 +01:00
align.go Vendor github.com/mdlayher/wifi and dependencies 2017-01-10 11:29:00 -05:00
attribute.go Update vendoring (#1105) 2018-10-11 18:41:41 +02:00
conn.go Update vendoring (#1105) 2018-10-11 18:41:41 +02:00
conn_linux.go Update vendoring (#1105) 2018-10-11 18:41:41 +02:00
conn_others.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 2018-08-14 21:15:07 +02:00
debug.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 2018-08-14 21:15:07 +02:00
doc.go vendor: bump github.com/mdlayher/wifi and dependencies (#1045) 2018-08-14 21:15:07 +02:00
fuzz.go Vendor github.com/mdlayher/wifi and dependencies 2017-01-10 11:29:00 -05:00
message.go Update vendoring (#1105) 2018-10-11 18:41:41 +02:00
netns_linux.go Update vendoring (#1105) 2018-10-11 18:41:41 +02:00
sockopt_linux.go Update vendored packages 2017-02-28 18:20:24 -04:00
sockopt_linux_386.go Add initial wifi collector, bump netlink to fix 32-bit builds 2017-01-11 10:08:44 -05:00
sockopt_linux_386.s Vendor github.com/mdlayher/wifi and dependencies 2017-01-10 11:29:00 -05:00

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.