becca1275c
* 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> |
||
---|---|---|
.. | ||
nlenc | ||
.gitignore | ||
.travis.yml | ||
LICENSE.md | ||
README.md | ||
align.go | ||
attribute.go | ||
conn.go | ||
conn_linux.go | ||
conn_others.go | ||
debug.go | ||
doc.go | ||
fuzz.go | ||
message.go | ||
netns_linux.go | ||
sockopt_linux.go | ||
sockopt_linux_386.go | ||
sockopt_linux_386.s |
README.md
netlink
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.