From: JingPiao Chen Date: Fri, 9 Jun 2017 11:42:30 +0000 (+0800) Subject: netlink: add decoding of NETLINK_CRYPTO nlmsg_flags X-Git-Tag: v4.19~273 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4d14b4457943a00c24a456dd17be8ee5d1fd534;p=strace netlink: add decoding of NETLINK_CRYPTO nlmsg_flags * netlink.c (decode_nlmsg_flags): Add NETLINK_CRYPTO. --- diff --git a/netlink.c b/netlink.c index e489a6eb..0ae9a46b 100644 --- a/netlink.c +++ b/netlink.c @@ -200,6 +200,16 @@ decode_nlmsg_flags(const uint16_t flags, const uint16_t type, const int family) goto end; switch (family) { + case NETLINK_CRYPTO: + switch (type) { + case CRYPTO_MSG_NEWALG: + table = netlink_new_flags; + break; + case CRYPTO_MSG_GETALG: + table = netlink_get_flags; + break; + } + break; case NETLINK_SOCK_DIAG: table = netlink_get_flags; break;