netlink icon indicating copy to clipboard operation
netlink copied to clipboard

Simple netlink library for go.

Results 191 netlink issues
Sort by recently updated
recently updated
newest added

I tried using [LinkSubscribe](https://github.com/vishvananda/netlink/blob/856e190dd707c02002dcdf6434424ef8af375ada/link_linux.go#L2365-L2369) to fetch the PID of the process that send the netlink request. But it always returns pid '0'. 1. Is it expected? Is it just returning...

Wonder do we support reading the output from rtmon. IP Monitor does show some data, but not all of them, like PID

The RouteListFiltered method can be quite inefficient when there are many (say 100k) routes. First all 100k routes are loaded into fragmented byte slices, appended to a slice (which must...

As far as I know, iproute2 has added a new option named novf to avoid show VF link info: https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=806b751a683f Will LinkList() add a similar parameter?

This fixes an issue I had where the Go race detector reported races. Even though there technically is a race, the existing code probably works fine. However, it is nice...

- Extend Htb struct in qdisc.go to include DirectQlen field - Implement the DirectQlen option in qdisc_linux.go - Modify TestHtbAddDel test to validate DirectQlen changes

This would allow users to strip/add vlan tags as a packet goes through an interface. Tested on an Oracle Linux 8 VM. I ran the test without clean up, and...

This PR adds support for AF_INET6 address and network management in the ipset code.