summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2023-04-23 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2023-04-28 08:00:00 +0000
commit0a629eedd659f60addb87cd4f653c9ccf8e4a5ed (patch)
tree3ac32d540580fd50c1b9abcebd217c179c52092b /src
parent0919375f95e381e353221b19521e715dda739f98 (diff)
downloadstrace-0a629eedd659f60addb87cd4f653c9ccf8e4a5ed.tar.gz
xlat: update NFT_MSG_* constants
* src/xlat/nf_nftables_msg_types.in (NFT_MSG_DESTROYTABLE, NFT_MSG_DESTROYCHAIN, NFT_MSG_DESTROYRULE, NFT_MSG_DESTROYSET, NFT_MSG_DESTROYSETELEM, NFT_MSG_DESTROYOBJ, NFT_MSG_DESTROYFLOWTABLE): New constants introduced by Linux kernel commit v6.3-rc1~162^2~264^2. * src/netlink.c (decode_nlmsg_flags_netfilter): Handle them. * NEWS: Mention this.
Diffstat (limited to 'src')
-rw-r--r--src/netlink.c7
-rw-r--r--src/xlat/nf_nftables_msg_types.in7
2 files changed, 14 insertions, 0 deletions
diff --git a/src/netlink.c b/src/netlink.c
index a07ff00bb..e75e90440 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -358,6 +358,13 @@ decode_nlmsg_flags_netfilter(const uint16_t type)
case NFT_MSG_DELSETELEM:
case NFT_MSG_DELOBJ:
case NFT_MSG_DELFLOWTABLE:
+ case NFT_MSG_DESTROYTABLE:
+ case NFT_MSG_DESTROYCHAIN:
+ case NFT_MSG_DESTROYRULE:
+ case NFT_MSG_DESTROYSET:
+ case NFT_MSG_DESTROYSETELEM:
+ case NFT_MSG_DESTROYOBJ:
+ case NFT_MSG_DESTROYFLOWTABLE:
return netlink_delete_flags;
}
break;
diff --git a/src/xlat/nf_nftables_msg_types.in b/src/xlat/nf_nftables_msg_types.in
index 3d2f2ff3b..fcd43c21a 100644
--- a/src/xlat/nf_nftables_msg_types.in
+++ b/src/xlat/nf_nftables_msg_types.in
@@ -26,3 +26,10 @@ NFT_MSG_NEWFLOWTABLE
NFT_MSG_GETFLOWTABLE
NFT_MSG_DELFLOWTABLE
NFT_MSG_GETRULE_RESET
+NFT_MSG_DESTROYTABLE
+NFT_MSG_DESTROYCHAIN
+NFT_MSG_DESTROYRULE
+NFT_MSG_DESTROYSET
+NFT_MSG_DESTROYSETELEM
+NFT_MSG_DESTROYOBJ
+NFT_MSG_DESTROYFLOWTABLE