libnl
libnl copied to clipboard
Netlink Library Suite
Hi, I'm using libnl 3.5.0 and I've noticed that after refilling the cache by calling nl_cache_refill() my IPv6 ECMP routes become normal ones (with only 1 next hop). In my...
I think version 3.5.0 of libnl has a regression in received packet counts. It looks like `rtnl_link_get_stat(link, RTNL_LINK_RX_PACKETS);` returns zero. System/version info: ``` [acooks@t460s jittertrap]$ uname -a Linux t460s.rationali.st 5.8.9-200.fc32.x86_64...
I'm looking for a while to resync addresses inside a nl_cache (like nl_cache_resync) but for a single interface. The kernel appears to support filtering RTM_GETADDR by ifindex but I can't...
I've created network bridge with help of libnl. But now I can't assign IP address to it. I went through documentation several times but was not able to see the...
Hi, The `NETLINK_LISTEN_ALL_NSID` sockopt can be used to receive Netlink messages from multiple namespaces, not just the one the Netlink socket was created in. However, this option is currently incompatible...
Hi, I'm trying to write a test application that sends traffic on network interface and expects to get them looped back (with a physical loopback installed). I'm trying to do...
With libnl-3.5 running on Linux 4.14 kernel facing an issue while configuring VLAN for bridge object. For easy reproduction I modified the test program test-cache-mngr.c for receiving the notifications from...
I was reading the code for `nl_recv` and https://github.com/thom311/libnl/blob/397d880a884866100270fec1899b7edbc2c2fa9f/lib/nl.c#L720-L737 is it correct to retry the read without first checking for `flags`? wouldn't you discard the packet?
Hi , Is there any example application code which help in adding route with multiple mpls labels. I was trying to write code to add route with encap mpls but...
using command `ip -6 route` fe80::/64 dev eth3 proto kernel metric 256 fe80::/64 dev eth4 proto kernel metric 256 fe80::/64 dev eth5 proto kernel metric 256 fe80::/64 dev br-lan proto...