]> granicus.if.org Git - strace/commit
netlink_smc_diag: decode smc_diag_msg.diag_fallback constant names
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 19 Aug 2018 09:56:21 +0000 (11:56 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 27 Aug 2018 23:41:41 +0000 (23:41 +0000)
commitf7d175b562bda6c36f5d7303e497d0fd7cbf4cdd
tree97d7a3382a1e450aa712167d85c2835a1ea00544
parent701fd04d8a992bb9bbdba6ee18c7057c1d5c4674
netlink_smc_diag: decode smc_diag_msg.diag_fallback constant names

Introduced by Linux commit v4.19-rc1~140^2~285^2~4.

* xlat/smc_diag_mode.in: New file.
* netlink_smc_diag.c: Include "xlat/smc_diag_mode.h".
(decode_smc_diag_msg): Print diag_fallback field using smc_diag_mode
xlat.
* tests/netlink_sock_diag.c (test_smc_diag_msg): Update expected output.
* tests/nlattr_smc_diag_msg.c (print_smc_diag_msg): Likewise.
netlink_smc_diag.c
tests/netlink_sock_diag.c
tests/nlattr_smc_diag_msg.c
xlat/smc_diag_mode.in [new file with mode: 0644]