eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit c439a2614c1120530ce59f427b6317844a24f241
parent 45dfd2668988fd3ee518a995d4829e5881cc75ba
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Tue, 23 Jul 2019 09:31:05 -0500

monitor: Dump IFLA_LINKINFO

Diffstat:
Mmonitor/nlmon.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/monitor/nlmon.c b/monitor/nlmon.c @@ -5688,6 +5688,11 @@ static void print_link_mode(unsigned int indent, const char *str, link_mode_to_ascii(link_mode), link_mode); } +static struct attr_entry link_info_entry[] = { + { IFLA_INFO_KIND, "Kind", ATTR_STRING }, + { }, +}; + static struct attr_entry info_entry[] = { { IFLA_ADDRESS, "Interface Address", ATTR_CUSTOM, { .function = print_ifi_addr } }, @@ -5712,6 +5717,8 @@ static struct attr_entry info_entry[] = { { IFLA_WEIGHT, "Weight", ATTR_BINARY }, { IFLA_NET_NS_PID, "NetNSPid", ATTR_BINARY }, { IFLA_IFALIAS, "IFAlias", ATTR_BINARY }, + { IFLA_LINKINFO, "LinkInfo", + ATTR_NESTED, { link_info_entry } }, { }, };