]> granicus.if.org Git - strace/commit
rtnl_link: implement IFLA_INFO_DATA for bridges
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 18 May 2018 15:47:05 +0000 (17:47 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 6 Jun 2018 15:10:37 +0000 (15:10 +0000)
commit1e6d5a84b89b58844aee2633831d97985e54844d
tree1a7ae19e91e8520051bd27f8a1a0b5c327e3ac3e
parentc95426f6aed4f0da14681ffde91f3c87af8ca911
rtnl_link: implement IFLA_INFO_DATA for bridges

* xlat/rtnl_ifla_info_data_bridge_attrs.in: New file.
* rtnl_link.c: Include xlat/rtnl_ifla_info_data_bridge_attrs.h.
(ifla_info_data_bridge_nla_decoders): New decoder dispatcher table.
(decode_nla_linkinfo_data_bridge, decode_nla_linkinfo_data): New
functions.
(ifla_linkinfo_nla_decoders) <IFLA_INFO_DATA>: Use
decode_nla_linkinfo_data as a decoder.
rtnl_link.c
xlat/rtnl_ifla_info_data_bridge_attrs.in [new file with mode: 0644]