netlink: add decoding of NETLINK_CRYPTO message types
* xlat/nl_crypto_types.in: New file. * netlink.c: Include "xlat/nl_crypto_types.h". (nlmsg_types): Add NETLINK_CRYPTO.
This commit is contained in:
parent
c254454365
commit
771c6be31a
@ -38,6 +38,7 @@
|
||||
#include "xlat/netlink_protocols.h"
|
||||
#include "xlat/netlink_types.h"
|
||||
#include "xlat/nl_audit_types.h"
|
||||
#include "xlat/nl_crypto_types.h"
|
||||
#include "xlat/nl_netfilter_msg_types.h"
|
||||
#include "xlat/nl_netfilter_subsys_ids.h"
|
||||
#include "xlat/nl_route_types.h"
|
||||
@ -150,6 +151,7 @@ static const struct {
|
||||
const char *const dflt;
|
||||
} nlmsg_types[] = {
|
||||
[NETLINK_AUDIT] = { NULL, nl_audit_types, "AUDIT_???" },
|
||||
[NETLINK_CRYPTO] = { NULL, nl_crypto_types, "CRYPTO_MSG_???" },
|
||||
[NETLINK_GENERIC] = {
|
||||
decode_nlmsg_type_generic,
|
||||
NULL,
|
||||
|
5
xlat/nl_crypto_types.in
Normal file
5
xlat/nl_crypto_types.in
Normal file
@ -0,0 +1,5 @@
|
||||
CRYPTO_MSG_NEWALG 0x10
|
||||
CRYPTO_MSG_DELALG 0x11
|
||||
CRYPTO_MSG_UPDATEALG 0x12
|
||||
CRYPTO_MSG_GETALG 0x13
|
||||
CRYPTO_MSG_DELRNG 0x14
|
Loading…
Reference in New Issue
Block a user