strace/xlat/smc_decl_codes.in
Eugene Syromyatnikov df7dd5aa66 netlink_smc_diag: add SMC_DIAG_FALLBACK attribute support
Introduced by Linux commit v4.19-rc1~140^2~253^2~1.

* linux/smc_diag.h (SMC_DIAG_FALLBACK): New enumeration item.
(struct smc_diag_fallback): New type definition.
* netlink_smc_diag.c: Include "xlat/smc_decl_codes.h".
(decode_smc_diag_fallback): New function.
(smc_diag_msg_nla_decoders) <[SMC_DIAG_FALLBACK]>: New decoder, calls
decode_smc_diag_fallback.
* tests/nlattr_smc_diag_msg.c: Add checks for SMC_DIAG_FALLBACK
attribute decoding.
* xlat/smc_decl_codes.in: New file.
* xlat/smc_diag_attrs.in (SMC_DIAG_FALLBACK): New constant.
2018-08-27 23:41:41 +00:00

18 lines
539 B
Plaintext

/* sorted */
SMC_CLC_DECL_MEM 0x01010000
SMC_CLC_DECL_TIMEOUT_CL 0x02010000
SMC_CLC_DECL_TIMEOUT_AL 0x02020000
SMC_CLC_DECL_CNFERR 0x03000000
SMC_CLC_DECL_PEERNOSMC 0x03010000
SMC_CLC_DECL_IPSEC 0x03020000
SMC_CLC_DECL_NOSMCDEV 0x03030000
SMC_CLC_DECL_MODEUNSUPP 0x03040000
SMC_CLC_DECL_RMBE_EC 0x03050000
SMC_CLC_DECL_OPTUNSUPP 0x03060000
SMC_CLC_DECL_SYNCERR 0x04000000
SMC_CLC_DECL_PEERDECL 0x05000000
SMC_CLC_DECL_INTERR 0x99990000
SMC_CLC_DECL_ERR_RTOK 0x99990001
SMC_CLC_DECL_ERR_RDYLNK 0x99990002
SMC_CLC_DECL_ERR_REGRMB 0x99990003