diff options
author | Dmitry V. Levin <ldv@strace.io> | 2022-10-09 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2022-10-09 08:00:00 +0000 |
commit | 4c171bced8ddec0a091391d82adb826399ce1a1c (patch) | |
tree | f3d2afda45336fd7c83cfd46c2c9ee7ad53a2d44 | |
parent | 7aa2a268fe91d5f2c0e692373e83dc735f20cb11 (diff) | |
download | strace-4c171bced8ddec0a091391d82adb826399ce1a1c.tar.gz |
xlat: update NDTPA_* constants
* src/xlat/rtnl_neightbl_parms_attrs.in (NDTPA_INTERVAL_PROBE_TIME_MS):
New constant introduced by Linux kernel commit v6.0-rc1~141^2~249^2.
* src/rtnl_neightbl.c (ndt_parms_nla_decoders): Decode
NDTPA_INTERVAL_PROBE_TIME_MS.
* NEWS: Mention this change.
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/rtnl_neightbl.c | 3 | ||||
-rw-r--r-- | src/xlat/rtnl_neightbl_parms_attrs.in | 1 |
3 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,8 @@ Noteworthy changes in release ?.?? (????-??-??) * Improvements * Enhanced decoding of PTP_* ioctl commands. * Updated decoding of setns syscall. - * Updated lists of BPF_*, BTRFS_*, FAN_*, ETH_P_*, KVM_*, and NT_* constants. + * Updated lists of BPF_*, BTRFS_*, FAN_*, ETH_P_*, KVM_*, NDTPA_*, + and NT_* constants. * Bug fixes diff --git a/src/rtnl_neightbl.c b/src/rtnl_neightbl.c index 2c88a4c36..1035312d8 100644 --- a/src/rtnl_neightbl.c +++ b/src/rtnl_neightbl.c @@ -69,7 +69,8 @@ static const nla_decoder_t ndt_parms_nla_decoders[] = { [NDTPA_LOCKTIME] = decode_nla_u64, [NDTPA_QUEUE_LENBYTES] = decode_nla_u32, [NDTPA_MCAST_REPROBES] = decode_nla_u32, - [NDTPA_PAD] = NULL + [NDTPA_PAD] = NULL, + [NDTPA_INTERVAL_PROBE_TIME_MS] = decode_nla_u64, }; static bool diff --git a/src/xlat/rtnl_neightbl_parms_attrs.in b/src/xlat/rtnl_neightbl_parms_attrs.in index 47f4adea1..91342546d 100644 --- a/src/xlat/rtnl_neightbl_parms_attrs.in +++ b/src/xlat/rtnl_neightbl_parms_attrs.in @@ -18,3 +18,4 @@ NDTPA_LOCKTIME 15 NDTPA_QUEUE_LENBYTES 16 NDTPA_MCAST_REPROBES 17 NDTPA_PAD 18 +NDTPA_INTERVAL_PROBE_TIME_MS 19 |