Tue, 17 Nov 2026 19:17:25 UTC Log in
Simple netlink library for go 210.15 KB built 2026-10-14 08:59:49 GMT

Description

The netlink package provides a simple netlink library for Go. Netlink is the interface a user-space program in linux uses to communicate with the kernel. It can be used to add and remove interfaces, set ip addresses and routes, and configure ipsec. Netlink communication requires elevated privileges, so in most cases this code needs to be run as root. Since low-level netlink messages are inscrutable at best, the library attempts to provide an api that is loosely modeled on the CLI provided by iproute2. Actions like ip link add will be accomplished via a similarly named function like AddLink(). This library began its life as a fork of the netlink functionality in docker/libcontainer but was heavily rewritten to improve testability, performance, and to add new functionality like ipsec xfrm handling.

Dependencies

7 total
Requires6
  • go-rpm-macros
  • golang(github.com/vishvananda/netns)
  • golang(golang.org/x/sys/unix)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • golang-github-vishvananda-netlink-devel = 1.2.1~beta.2-11.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots