]> granicus.if.org Git - strace/commit
rtnl_link: decode IFLA_AF_SPEC
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 7 May 2018 06:45:29 +0000 (08:45 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 6 Jun 2018 15:10:37 +0000 (15:10 +0000)
commit97eb4367e46bfe871b0c0ec653bc25800d2a0fb4
treed302dca139fc4ae752fdf043cbc517b357662ff9
parentc0827b1ae93fa892a3e9cd97940d2b846b97b1b5
rtnl_link: decode IFLA_AF_SPEC

* xlat/in6_addr_gen_mode.in: New file.
* xlat/inet6_devconf_indices.in: Likewise.
* xlat/inet6_if_flags.in: Likewise.
* xlat/inet_devconf_indices.in: Likewise.
* xlat/rtnl_ifla_af_spec_inet6_attrs.in: Likewise.
* xlat/rtnl_ifla_af_spec_inet_attrs.in: Likewise.
* xlat/snmp_icmp6_stats.in: Likewise.
* xlat/snmp_ip_stats.in: Likewise.
* rtnl_link.c: Include netinet/in.h, xlat/in6_addr_gen_mode.h,
xlat/inet_devconf_indices.h, xlat/inet6_devconf_indices.h,
xlat/inet6_if_flags.h, xlat/rtnl_ifla_af_spec_inet_attrs.h,
xlat/rtnl_ifla_af_spec_inet6_attrs.h, xlat/snmp_icmp6_stats.h,
and xlat/snmp_ip_stats.h.
(decode_ifla_inet_conf, decode_ifla_inet6_flags,
decode_ifla_inet6_conf, decode_ifla_inet6_stats,
decode_ifla_inet6_cacheinfo, decode_ifla_inet6_icmp6_stats,
decode_ifla_inet6_token, decode_ifla_inet6_agm, decode_ifla_af,
decode_ifla_af_spec): New functions.
(ifla_inet_nla_decoders, ifla_inet6_nla_decoders,
nla_decoder_table_desc): New static constant variables.
(ifinfomsg_nla_decoders) <[IFLA_AF_SPEC]>: Change value from NULL to
decode_ifla_af_spec.
rtnl_link.c
xlat/in6_addr_gen_mode.in [new file with mode: 0644]
xlat/inet6_devconf_indices.in [new file with mode: 0644]
xlat/inet6_if_flags.in [new file with mode: 0644]
xlat/inet_devconf_indices.in [new file with mode: 0644]
xlat/rtnl_ifla_af_spec_inet6_attrs.in [new file with mode: 0644]
xlat/rtnl_ifla_af_spec_inet_attrs.in [new file with mode: 0644]
xlat/snmp_icmp6_stats.in [new file with mode: 0644]
xlat/snmp_ip_stats.in [new file with mode: 0644]